From 35347311da9ca47ac614603ebf4c3ccab8cf26a2 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 16 七月 2025 13:42:59 +0800 Subject: [PATCH] OQC --- MES.Service/Modes/SysRole.cs | 119 ++++++++++++++++++++++++++++++----------------------------- 1 files changed, 61 insertions(+), 58 deletions(-) diff --git a/MES.Service/Modes/SysRole.cs b/MES.Service/Modes/SysRole.cs index fa11dd4..5740928 100644 --- a/MES.Service/Modes/SysRole.cs +++ b/MES.Service/Modes/SysRole.cs @@ -1,59 +1,62 @@ -锘縰sing System; -using System.Collections.Generic; -using System.Linq; -using SqlSugar; -namespace MES.Service.Modes +锘縰sing SqlSugar; + +namespace MES.Service.Modes; + +/// <summary> +/// 瑙掕壊淇℃伅 +/// </summary> +[SugarTable("SYS_ROLE")] +public class SysRole { - /// <summary> - /// 瑙掕壊淇℃伅 - ///</summary> - [SugarTable("SYS_ROLE")] - public class SysRole - { - /// <summary> - /// 瑙掕壊ID - ///</summary> - [SugarColumn(ColumnName="ROLEID" ,IsPrimaryKey = true )] - public decimal Roleid { get; set; } - /// <summary> - /// 瑙掕壊鍚嶇О - ///</summary> - [SugarColumn(ColumnName="ROLENAME" )] - public string Rolename { get; set; } - /// <summary> - /// 澶囨敞 - ///</summary> - [SugarColumn(ColumnName="REMARK" )] - public string Remark { get; set; } - /// <summary> - /// 闄愬埗涓�涓敤鎴峰悓鏃跺娆$櫥闄� - ///</summary> - [SugarColumn(ColumnName="LIMIT_LOGIN" )] - public short? LimitLogin { get; set; } - /// <summary> - /// 閮ㄩ棬 - ///</summary> - [SugarColumn(ColumnName="DEPARTS" )] - public string Departs { get; set; } - /// <summary> - /// 浜哄憳 - ///</summary> - [SugarColumn(ColumnName="USERCODE" )] - public string Usercode { get; set; } - /// <summary> - /// 瑙掕壊缂栫爜 - ///</summary> - [SugarColumn(ColumnName="ROLECODE" )] - public string Rolecode { get; set; } - /// <summary> - /// - ///</summary> - [SugarColumn(ColumnName="COMPANY" )] - public string Company { get; set; } - /// <summary> - /// - ///</summary> - [SugarColumn(ColumnName="FACTORY" )] - public string Factory { get; set; } - } -} + /// <summary> + /// 瑙掕壊ID + /// </summary> + [SugarColumn(ColumnName = "ROLEID", IsPrimaryKey = true)] + public decimal Roleid { get; set; } + + /// <summary> + /// 瑙掕壊鍚嶇О + /// </summary> + [SugarColumn(ColumnName = "ROLENAME")] + public string Rolename { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(ColumnName = "REMARK")] + public string Remark { get; set; } + + /// <summary> + /// 闄愬埗涓�涓敤鎴峰悓鏃跺娆$櫥闄� + /// </summary> + [SugarColumn(ColumnName = "LIMIT_LOGIN")] + public short? LimitLogin { get; set; } + + /// <summary> + /// 閮ㄩ棬 + /// </summary> + [SugarColumn(ColumnName = "DEPARTS")] + public string Departs { get; set; } + + /// <summary> + /// 浜哄憳 + /// </summary> + [SugarColumn(ColumnName = "USERCODE")] + public string Usercode { get; set; } + + /// <summary> + /// 瑙掕壊缂栫爜 + /// </summary> + [SugarColumn(ColumnName = "ROLECODE")] + public string Rolecode { get; set; } + + /// <summary> + /// </summary> + [SugarColumn(ColumnName = "COMPANY")] + public string Company { get; set; } + + /// <summary> + /// </summary> + [SugarColumn(ColumnName = "FACTORY")] + public string Factory { get; set; } +} \ No newline at end of file -- Gitblit v1.9.3