using System; using SqlSugar; using System.Linq; using System.ComponentModel; using System.Collections.Generic; namespace Tiger.Model { /// /// 实体:角色生产授权 /// [Description("Primary:ROLE_CODE,PROD_CODE")] [Serializable] [SugarTable("SYS_ROLE_PROD")] public class SYS_ROLE_PROD : iDBEntity { #region 构造函数 /// /// 实体:角色生产授权 /// public SYS_ROLE_PROD() {} #endregion #region 公共属性 /// /// 主键 角色代码 /// [SugarColumn(IsPrimaryKey = true)] public string ROLE_CODE { get; set; } /// /// 主键 生产单元代码 /// [SugarColumn(IsPrimaryKey = true)] public string PROD_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 }