//------------------------------------------------------------------------------ // // 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.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; namespace OpenAuth.Repository.Domain { /// /// 角色表 /// [Table("Role")] public partial class Role : Entity { public Role() { this.Name= string.Empty; this.Status= 0; this.CreateTime= DateTime.Now; this.CreateId= string.Empty; this.TypeName= string.Empty; this.TypeId= string.Empty; } /// /// 角色名称 /// [Description("角色名称")] public string Name { get; set; } /// /// 当前状态 /// [Description("当前状态")] public int Status { get; set; } /// /// 创建时间 /// [Description("创建时间")] public System.DateTime CreateTime { get; set; } /// /// 创建人ID /// [Description("创建人ID")] public string CreateId { get; set; } /// /// 分类名称 /// [Description("分类名称")] public string TypeName { get; set; } /// /// 分类ID /// [Description("分类ID")] public string TypeId { get; set; } } }