2016-01-07 11:47:43 +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>
|
|
|
|
|
//------------------------------------------------------------------------------
|
2016-09-02 18:05:17 +08:00
|
|
|
|
|
2016-01-07 11:47:43 +08:00
|
|
|
|
using System;
|
2015-11-13 21:33:53 +08:00
|
|
|
|
|
|
|
|
|
namespace OpenAuth.Domain
|
|
|
|
|
{
|
2016-01-07 11:47:43 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 角色表
|
2015-11-13 21:33:53 +08:00
|
|
|
|
/// </summary>
|
2016-09-02 18:05:17 +08:00
|
|
|
|
public partial class Role :Entity
|
2016-01-07 11:47:43 +08:00
|
|
|
|
{
|
|
|
|
|
public Role()
|
|
|
|
|
{
|
2016-09-02 18:05:17 +08:00
|
|
|
|
this.Name= string.Empty;
|
2016-01-07 11:47:43 +08:00
|
|
|
|
this.Status= 0;
|
|
|
|
|
this.Type= 0;
|
|
|
|
|
this.CreateTime= DateTime.Now;
|
|
|
|
|
this.CreateId= string.Empty;
|
|
|
|
|
}
|
2015-11-13 21:33:53 +08:00
|
|
|
|
|
2016-01-07 11:47:43 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 角色名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Status { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 角色类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Type { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public System.DateTime CreateTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CreateId { get; set; }
|
2015-11-13 21:33:53 +08:00
|
|
|
|
|
2016-01-07 11:47:43 +08:00
|
|
|
|
}
|
|
|
|
|
}
|