26 lines
647 B
C#
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; }
|
|
}
|
|
}
|