//------------------------------------------------------------------------------ // // 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("SysUser")] public partial class SysUser : StringEntity { public SysUser() { this.Account= string.Empty; this.Password= string.Empty; this.Name= string.Empty; this.Sex= 0; this.Status= 0; this.BizCode= string.Empty; this.CreateTime= DateTime.Now; this.CreateId= string.Empty; this.TypeName= string.Empty; this.TypeId= string.Empty; } /// /// 用户登录帐号 /// [Description("用户登录帐号")] public string Account { get; set; } /// /// 密码 /// [Description("密码")] public string Password { get; set; } /// /// 用户姓名 /// [Description("用户姓名")] public string Name { get; set; } /// /// 性别 /// [Description("性别")] public int Sex { get; set; } /// /// 用户状态 /// [Description("用户状态")] public int Status { get; set; } /// /// 业务对照码 /// [Description("业务对照码")] public string BizCode { get; set; } /// /// 经办时间 /// [Description("经办时间")] public System.DateTime CreateTime { get; set; } /// /// 创建人 /// [Description("创建人")] public string CreateId { get; set; } /// /// 分类名称 /// [Description("分类名称")] public string TypeName { get; set; } /// /// 分类ID /// [Description("分类ID")] public string TypeId { get; set; } /// /// 直接上级 /// [Description("直接上级")] public string ParentId { get; set; } } }