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