OpenAuth.Net/OpenAuth.Repository/Domain/DataPrivilegeRule.cs
yubaolee 9c2d044d12 增加雪花算法https://gitee.com/yitter/idgenerator
增加对数据库主键为numberic的支持
2021-03-13 16:21:56 +08:00

102 lines
3.2 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//------------------------------------------------------------------------------
// <autogenerated>
// 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
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 系统授权规制表
/// </summary>
[Table("DataPrivilegeRule")]
public partial class DataPrivilegeRule : StringEntity
{
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;
}
/// <summary>
/// 资源标识(模块编号)
/// </summary>
[Description("模块编号")]
public string SourceCode { get; set; }
/// <summary>
/// 二级资源标识
/// </summary>
[Description("二级资源标识")]
[Browsable(false)]
public string SubSourceCode { get; set; }
/// <summary>
/// 权限描述
/// </summary>
[Description("权限描述")]
public string Description { get; set; }
/// <summary>
/// 排序号
/// </summary>
[Description("排序号")]
public int SortNo { get; set; }
/// <summary>
/// 权限规则
/// </summary>
[Description("权限规则")]
public string PrivilegeRules { get; set; }
/// <summary>
/// 是否可用
/// </summary>
[Description("是否可用")]
public bool Enable { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public string CreateUserName { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Description("最后更新时间")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 最后更新人ID
/// </summary>
[Description("最后更新人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 最后更新人
/// </summary>
[Description("最后更新人")]
public string UpdateUserName { get; set; }
}
}