//using Dapper.Contrib.Extensions; using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace ZR.Model.System { /// /// 字典类型表 /// [SugarTable("sys_dict_type")]//当和数据库名称不一样可以设置别名 //[Table("sys_dict_type")] public class SysDictType : SysBase { /// /// 字典主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//主键并且自增 (string不能设置自增) //[Key] public long DictId { get; set; } /// /// 字典名称 /// public string DictName { get; set; } /// /// 字典类型 /// public string DictType { get; set; } /// /// 状态 0、正常 1、停用 /// public string Status { get; set; } } }