//------------------------------------------------------------------------------ // // This code was generated by a CodeSmith Template. // // DO NOT MODIFY contents of this file. Changes to this // file will be lost if the code is regenerated. // Author:Yubao Li // //------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; namespace OpenAuth.Repository.Domain { /// /// 系统授权规制表 /// [Table("DataPrivilegeRule")] public partial class DataPrivilegeRule : Entity { public DataPrivilegeRule() { this.SourceCode= string.Empty; this.SubSourceCode= string.Empty; this.Description= string.Empty; this.SortNo= 0; this.PrivilegeRules= string.Empty; this.CreateTime= DateTime.Now; this.CreateUserId= string.Empty; this.CreateUserName= string.Empty; this.UpdateTime= DateTime.Now; this.UpdateUserId= string.Empty; this.UpdateUserName= string.Empty; } /// /// 资源标识(模块编号) /// [Description("模块编号")] public string SourceCode { get; set; } /// /// 二级资源标识 /// [Description("二级资源标识")] [Browsable(false)] public string SubSourceCode { get; set; } /// /// 权限描述 /// [Description("权限描述")] public string Description { get; set; } /// /// 排序号 /// [Description("排序号")] public int SortNo { get; set; } /// /// 权限规则 /// [Description("权限规则")] public string PrivilegeRules { get; set; } /// /// 是否可用 /// [Description("是否可用")] public bool Enable { get; set; } /// /// 创建时间 /// [Description("创建时间")] public System.DateTime CreateTime { get; set; } /// /// 创建人ID /// [Description("创建人ID")] [Browsable(false)] public string CreateUserId { get; set; } /// /// 创建人 /// [Description("创建人")] public string CreateUserName { get; set; } /// /// 最后更新时间 /// [Description("最后更新时间")] public System.DateTime? UpdateTime { get; set; } /// /// 最后更新人ID /// [Description("最后更新人ID")] [Browsable(false)] public string UpdateUserId { get; set; } /// /// 最后更新人 /// [Description("最后更新人")] public string UpdateUserName { get; set; } } }