using System; using SqlSugar; using System.Linq; using System.ComponentModel; using System.Collections.Generic; namespace Tiger.Model { /// /// 实体:角色菜单授权 /// [Description("Primary:ROLE_CODE,FUNC_CODE")] [Serializable] [SugarTable("SYS_ROLE_MENU")] public class SYS_ROLE_MENU : iDBEntity { #region 构造函数 /// /// 实体:角色菜单授权 /// public SYS_ROLE_MENU() {} #endregion #region 公共属性 /// /// 主键 角色代码 /// [SugarColumn(IsPrimaryKey = true)] public string ROLE_CODE { get; set; } /// /// 主键 功能代码 /// [SugarColumn(IsPrimaryKey = true)] public string FUNC_CODE { get; set; } /// /// 是否半选(Y/N) /// public string HALF_CHECK { get; set; } #endregion #region 虚拟属性 /*例子 [SugarColumn(IsIgnore = true)] public string FieldName { get; set; } */ #endregion #region 枚举变量 /*例子 public enum FieldNames { [Description("枚举描述0")] Enum0, [Description("枚举描述1")] Enum1, } */ #endregion #region 公共方法 #endregion }//endClass }