/*********************************************************************** * Project: baifenBinfa * ProjectName: 百分兵法管理系统 * Web: http://chuanyin.com * Author: * Email: 34161541@qq.com * CreateTime: 2021-06-08 22:14:59 * Description: 暂无 ***********************************************************************/ using SqlSugar; using System.ComponentModel.DataAnnotations; namespace CoreCms.Net.Model.Entities { /// /// 数据字典项表 /// [SugarTable("SysDictionaryData",TableDescription = "数据字典项表")] public partial class SysDictionaryData { /// /// 数据字典项表 /// public SysDictionaryData() { } /// /// 字典项id /// [Display(Name = "字典项id")] [SugarColumn(ColumnDescription = "字典项id", IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public System.Int32 id { get; set; } /// /// 字典id /// [Display(Name = "字典id")] [SugarColumn(ColumnDescription = "字典id", IsNullable = true)] public System.Int32? dictId { get; set; } /// /// 字典项标识 /// [Display(Name = "字典项标识")] [SugarColumn(ColumnDescription = "字典项标识", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String dictDataCode { get; set; } /// /// 字典项名称 /// [Display(Name = "字典项名称")] [SugarColumn(ColumnDescription = "字典项名称", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String dictDataName { get; set; } /// /// 备注 /// [Display(Name = "备注")] [SugarColumn(ColumnDescription = "备注", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String comments { get; set; } /// /// 排序号 /// [Display(Name = "排序号")] [SugarColumn(ColumnDescription = "排序号")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 sortNumber { get; set; } /// /// 是否删除,0否,1是 /// [Display(Name = "是否删除,0否,1是")] [SugarColumn(ColumnDescription = "是否删除,0否,1是")] [Required(ErrorMessage = "请输入{0}")] public System.Boolean deleted { get; set; } /// /// 创建时间 /// [Display(Name = "创建时间")] [SugarColumn(ColumnDescription = "创建时间")] [Required(ErrorMessage = "请输入{0}")] public System.DateTime createTime { get; set; } /// /// 修改时间 /// [Display(Name = "修改时间")] [SugarColumn(ColumnDescription = "修改时间", IsNullable = true)] public System.DateTime? updateTime { get; set; } } }