using SqlSugar; using System; namespace YBDevice.Entity { /// /// 角色表 /// [SugarTable("YB_nRole", TableDescription = "角色表", IsDisabledUpdateAll = false, IsDisabledDelete = true)] public class YB_nRole { /// /// /// [SugarColumn(IsPrimaryKey = true)] public Guid Id { get; set; } private System.String _Name; /// /// 角色名称 /// [SugarColumn(ColumnDescription = "角色名称", ColumnDataType = "nvarchar(50)")] public System.String Name { get { return this._Name; } set { this._Name = value?.Trim(); } } private System.String _Code; /// /// 角色编号 /// [SugarColumn(ColumnDescription = "角色编号", ColumnDataType = "varchar(50)")] public System.String Code { get { return this._Code; } set { this._Code = value?.Trim(); } } private System.String _Remark; /// /// 角色备注 /// [SugarColumn(ColumnDescription = "角色备注", ColumnDataType = "nvarchar(200)")] public System.String Remark { get { return this._Remark; } set { this._Remark = value?.Trim(); } } /// /// 状态,0-禁用,1-启用 /// [SugarColumn(ColumnDescription = "状态,0-禁用,1-启用")] public StatusType Status { get; set; } private System.DateTime _CreateTime; /// /// 创建时间 /// [SugarColumn(ColumnDescription = "创建时间")] public System.DateTime CreateTime { get { return this._CreateTime; } set { this._CreateTime = value; } } } }