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 HappinessBEST : IEntity { [ForeignKey("HappinessGroup")] public string GroupId { get; set; } public HappinessGroup HappinessGroup { get; set; } [Key] public string Id { get; set; } [Required] public string Name { get; set; } public string Email { get; set; } public string Phone { get; set; } } }