using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace YD_WeChatApplet.Api.Entitys
{
///
/// 用户群组表
///
[Table("WCA_UserGroup")]
public class WCA_UserGroup
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
///
///用户Id
///
[Display(Name = "用户Id")]
[Comment("用户Id")]
[Column(TypeName = "int")]
public int UserId { get; set; }
///
///群组名称
///
[Display(Name = "群组名称")]
[Comment("群组名称")]
[Column(TypeName = "nvarchar(100)")]
public string GroupName { get; set; }
///
/// 创建人Id
///
[Display(Name = "创建人Id")]
[Comment("创建人Id")]
[Column(TypeName = "int")]
public int CreaterId { get; set; }
///
///创建时间
///
[Display(Name = "创建时间")]
[Comment("创建时间")]
[Column(TypeName = "datetime")]
[Editable(true)]
public DateTime CreateTime { get; set; }
}
}