2017-10-11 16:19:34 +08:00
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
// <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.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
2017-11-29 20:49:14 +08:00
|
|
|
|
namespace OpenAuth.Repository.Domain
|
2017-10-11 16:19:34 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 资源表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class Resource : Entity
|
|
|
|
|
{
|
|
|
|
|
public Resource()
|
|
|
|
|
{
|
|
|
|
|
this.CascadeId= string.Empty;
|
|
|
|
|
this.Name= string.Empty;
|
|
|
|
|
this.SortNo= 0;
|
|
|
|
|
this.Description= string.Empty;
|
2018-04-14 15:21:09 +08:00
|
|
|
|
this.ParentName= string.Empty;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
this.ParentId= string.Empty;
|
|
|
|
|
this.AppId= string.Empty;
|
2018-04-14 15:21:09 +08:00
|
|
|
|
this.AppName= string.Empty;
|
2017-11-29 20:49:14 +08:00
|
|
|
|
this.TypeName= string.Empty;
|
|
|
|
|
this.TypeId= string.Empty;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 节点语义ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CascadeId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int SortNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
/// <summary>
|
2018-04-14 15:21:09 +08:00
|
|
|
|
/// 父节点名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ParentName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 父节点流ID
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
public string ParentId { get; set; }
|
|
|
|
|
/// <summary>
|
2018-04-14 15:21:09 +08:00
|
|
|
|
/// 资源所属应用ID
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
public string AppId { get; set; }
|
2018-04-14 15:21:09 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属应用名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AppName { get; set; }
|
2017-11-29 20:49:14 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分类名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TypeName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分类ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TypeId { get; set; }
|
2018-04-14 15:21:09 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否可用
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool Disable { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
|
|
|
|
|
}
|
2016-01-07 11:47:43 +08:00
|
|
|
|
}
|