//------------------------------------------------------------------------------
//
// 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.Collections.Generic;
using System.Text;
namespace OpenAuth.Repository.Domain
{
///
/// 资源表
///
public partial class Resource : Entity
{
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;
}
///
/// 节点语义ID
///
public string CascadeId { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 排序号
///
public int SortNo { get; set; }
///
/// 描述
///
public string Description { get; set; }
///
/// 父节点名称
///
public string ParentName { get; set; }
///
/// 父节点流ID
///
public string ParentId { get; set; }
///
/// 资源所属应用ID
///
public string AppId { get; set; }
///
/// 所属应用名称
///
public string AppName { get; set; }
///
/// 分类名称
///
public string TypeName { get; set; }
///
/// 分类ID
///
public string TypeId { get; set; }
///
/// 是否可用
///
public bool Disable { get; set; }
}
}