using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace EntityFrameworkCore.Jet.IntegrationTests.Model72_TableSplitting
{

    //Mapped to a table, has foreign key (eg. customerId)
    [Table("Product72")]
    public class Product
    {
        public int Id { get; set; }

        public string Description { get; set; }
        public ProductDetails Details { get; set; }
    }

    public class ProductDetails
    {
        public int Id { get; set; }

        public string MoreDescription { get; set; }
        public Product Product { get; set; }
    }

}
