OpenAuth.Net/OpenAuth.Repository/Domain/Role.cs

65 lines
1.9 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("Role")]
public partial class Role : StringEntity
2017-10-11 16:19:34 +08:00
{
public Role()
{
this.Name= string.Empty;
this.Status= 0;
this.CreateTime= DateTime.Now;
this.CreateId= string.Empty;
2017-11-29 20:49:14 +08:00
this.TypeName= string.Empty;
this.TypeId= string.Empty;
2017-10-11 16:19:34 +08:00
}
/// <summary>
/// 角色名称
/// </summary>
[Description("角色名称")]
2017-10-11 16:19:34 +08:00
public string Name { get; set; }
/// <summary>
/// 当前状态
/// </summary>
[Description("当前状态")]
2017-10-11 16:19:34 +08:00
public int Status { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
2017-10-11 16:19:34 +08:00
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
2017-10-11 16:19:34 +08:00
public string CreateId { 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")]
2017-11-29 20:49:14 +08:00
public string TypeId { get; set; }
2017-10-11 16:19:34 +08:00
}
}