using SqlSugar; namespace MES.Service.Modes; /// /// 角色信息 /// [SugarTable("SYS_ROLE")] public class SysRole { /// /// 角色ID /// [SugarColumn(ColumnName = "ROLEID", IsPrimaryKey = true)] public decimal Roleid { get; set; } /// /// 角色名称 /// [SugarColumn(ColumnName = "ROLENAME")] public string Rolename { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "REMARK")] public string Remark { get; set; } /// /// 限制一个用户同时多次登陆 /// [SugarColumn(ColumnName = "LIMIT_LOGIN")] public short? LimitLogin { get; set; } /// /// 部门 /// [SugarColumn(ColumnName = "DEPARTS")] public string Departs { get; set; } /// /// 人员 /// [SugarColumn(ColumnName = "USERCODE")] public string Usercode { get; set; } /// /// 角色编码 /// [SugarColumn(ColumnName = "ROLECODE")] public string Rolecode { get; set; } /// /// [SugarColumn(ColumnName = "COMPANY")] public string Company { get; set; } /// /// [SugarColumn(ColumnName = "FACTORY")] public string Factory { get; set; } }