Church.Net.API/Church.Net.Entity/PastoralDomainInfo.cs
2022-09-08 08:04:32 -07:00

24 lines
533 B
C#

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
{
[Required, Key]
public string PastoralDomainInfoId { get; set; }
[ForeignKey("PastoralDomain")]
public string PastoralDomainId { get; set; }
public PastoralDomain PastoralDomain { get; set; }
}
}