2022-09-08 08:04:32 -07:00

26 lines
647 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 HappinessBEST
{
[ForeignKey("HappinessGroup")]
public string GroupId { get; set; }
public HappinessGroup HappinessGroup { get; set; }
[Required, Key]
public string BestId { get; set; }
[Required]
public string Name { get; set; }
public string Email { get; set; }
public string Phone { get; set; }
}
}