OpenAuth.Net/OpenAuth.Domain/Core/Resource.cs
2017-10-11 16:19:34 +08:00

72 lines
2.0 KiB
C#

//------------------------------------------------------------------------------
// <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;
namespace OpenAuth.Domain
{
/// <summary>
/// 资源表
/// </summary>
public partial class Resource : Entity
{
public Resource()
{
this.CascadeId= string.Empty;
this.Key= string.Empty;
this.Name= string.Empty;
this.Status= 0;
this.SortNo= 0;
this.Description= string.Empty;
this.ParentId= string.Empty;
this.CategoryId= string.Empty;
this.AppId= string.Empty;
}
/// <summary>
/// 节点语义ID
/// </summary>
public string CascadeId { get; set; }
/// <summary>
/// 资源英文唯一标识
/// </summary>
public string Key { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 当前状态
/// </summary>
public int Status { get; set; }
/// <summary>
/// 排序号
/// </summary>
public int SortNo { get; set; }
/// <summary>
/// 描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 父节点流水号
/// </summary>
public string ParentId { get; set; }
/// <summary>
/// 资源分类
/// </summary>
public string CategoryId { get; set; }
/// <summary>
/// 资源所属应用
/// </summary>
public string AppId { get; set; }
}
}