//------------------------------------------------------------------------------ // // 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 { public Resource() { this.Id= 0; this.CascadeId= string.Empty; this.Key= string.Empty; this.Name= string.Empty; this.ParentId= 0; this.Status= 0; this.SortNo= 0; this.CategoryId= 0; this.Description= string.Empty; } /// /// 资源表ID /// public int Id { get; set; } /// /// 节点语义ID /// public string CascadeId { get; set; } /// /// /// public string Key { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 父节点流水号 /// public int ParentId { get; set; } /// /// 当前状态 /// public int Status { get; set; } /// /// 排序号 /// public int SortNo { get; set; } /// /// 资源分类 /// public int CategoryId { get; set; } /// /// 描述 /// public string Description { get; set; } } }