mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
转移.net core 3.1,为.NET 5做准备
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//------------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// This code was generated by a CodeSmith Template.
|
||||
//
|
||||
@@ -8,74 +8,104 @@
|
||||
// </autogenerated>
|
||||
//------------------------------------------------------------------------------
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using OpenAuth.Repository.Core;
|
||||
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源表
|
||||
/// </summary>
|
||||
public partial class Resource : Entity
|
||||
[Table("Resource")]
|
||||
public partial class Resource : TreeEntity
|
||||
{
|
||||
public Resource()
|
||||
{
|
||||
this.CascadeId= string.Empty;
|
||||
this.Name= string.Empty;
|
||||
this.SortNo= 0;
|
||||
this.Description= string.Empty;
|
||||
this.ParentName= string.Empty;
|
||||
this.ParentId= string.Empty;
|
||||
this.AppId= string.Empty;
|
||||
this.AppName= string.Empty;
|
||||
this.TypeName= string.Empty;
|
||||
this.TypeId= 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>
|
||||
/// 节点语义ID
|
||||
/// </summary>
|
||||
public string CascadeId { get; set; }
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 排序号
|
||||
/// </summary>
|
||||
/// 排序号
|
||||
/// </summary>
|
||||
[Description("排序号")]
|
||||
public int SortNo { get; set; }
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
[Description("描述")]
|
||||
public string Description { get; set; }
|
||||
/// <summary>
|
||||
/// 父节点名称
|
||||
/// </summary>
|
||||
public string ParentName { get; set; }
|
||||
/// <summary>
|
||||
/// 父节点流ID
|
||||
/// </summary>
|
||||
public string ParentId { get; set; }
|
||||
/// <summary>
|
||||
/// 资源所属应用ID
|
||||
/// </summary>
|
||||
/// 资源所属应用ID
|
||||
/// </summary>
|
||||
[Description("资源所属应用ID")]
|
||||
[Browsable(false)]
|
||||
public string AppId { get; set; }
|
||||
/// <summary>
|
||||
/// 所属应用名称
|
||||
/// </summary>
|
||||
/// 所属应用名称
|
||||
/// </summary>
|
||||
[Description("所属应用名称")]
|
||||
public string AppName { get; set; }
|
||||
/// <summary>
|
||||
/// 分类名称
|
||||
/// </summary>
|
||||
/// 分类名称
|
||||
/// </summary>
|
||||
[Description("分类名称")]
|
||||
public string TypeName { get; set; }
|
||||
/// <summary>
|
||||
/// 分类ID
|
||||
/// </summary>
|
||||
/// 分类ID
|
||||
/// </summary>
|
||||
[Description("分类ID")]
|
||||
[Browsable(false)]
|
||||
public string TypeId { get; set; }
|
||||
/// <summary>
|
||||
/// 是否可用
|
||||
/// </summary>
|
||||
/// 是否可用
|
||||
/// </summary>
|
||||
[Description("是否可用")]
|
||||
public bool Disable { 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user