OpenAuth.Net/OpenAuth.Repository/Domain/Resource.cs

111 lines
3.4 KiB
C#
Raw Normal View History

//------------------------------------------------------------------------------
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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
2017-10-11 16:19:34 +08:00
2017-11-29 20:49:14 +08:00
namespace OpenAuth.Repository.Domain
2017-10-11 16:19:34 +08:00
{
/// <summary>
/// 资源表
/// </summary>
[Table("Resource")]
public partial class Resource : TreeEntity
2017-10-11 16:19:34 +08:00
{
public Resource()
{
this.Name= string.Empty;
this.SortNo= 0;
this.Description= 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;
this.CreateTime= DateTime.Now;
this.CreateUserId= string.Empty;
this.CreateUserName= string.Empty;
this.UpdateTime= DateTime.Now;
this.UpdateUserId= string.Empty;
this.UpdateUserName= string.Empty;
2017-10-11 16:19:34 +08:00
}
2017-10-11 16:19:34 +08:00
/// <summary>
/// 排序号
/// </summary>
[Description("排序号")]
2017-10-11 16:19:34 +08:00
public int SortNo { get; set; }
/// <summary>
/// 描述
/// </summary>
[Description("描述")]
2017-10-11 16:19:34 +08:00
public string Description { get; set; }
/// <summary>
/// 资源所属应用ID
/// </summary>
[Description("资源所属应用ID")]
[Browsable(false)]
2017-10-11 16:19:34 +08:00
public string AppId { get; set; }
2018-04-14 15:21:09 +08:00
/// <summary>
/// 所属应用名称
/// </summary>
[Description("所属应用名称")]
2018-04-14 15:21:09 +08:00
public string AppName { get; set; }
2017-11-29 20:49:14 +08:00
/// <summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
2017-11-29 20:49:14 +08:00
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
[Browsable(false)]
2017-11-29 20:49:14 +08:00
public string TypeId { get; set; }
2018-04-14 15:21:09 +08:00
/// <summary>
/// 是否可用
/// </summary>
[Description("是否可用")]
2018-04-14 15:21:09 +08:00
public bool Disable { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public string CreateUserName { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Description("最后更新时间")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 最后更新人ID
/// </summary>
[Description("最后更新人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 最后更新人
/// </summary>
[Description("最后更新人")]
public string UpdateUserName { get; set; }
2017-10-11 16:19:34 +08:00
}
}