using Church.Net.Entity.Interface; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Church.Net.Entity { public class PastoralDomainInfo : IEntity { [Required, Key] public string Id { get; set; } [ForeignKey("PastoralDomain")] public string PastoralDomainId { get; set; } public PastoralDomain PastoralDomain { get; set; } } }