|
@@ -35,10 +35,28 @@ namespace ZhonTai.Admin.Domain.User
|
|
[Column(StringLength = 60)]
|
|
[Column(StringLength = 60)]
|
|
public string Password { get; set; }
|
|
public string Password { get; set; }
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 姓名
|
|
|
|
+ /// </summary>
|
|
|
|
+ [Column(StringLength = 20)]
|
|
|
|
+ public string Name { get; set; }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 手机号
|
|
|
|
+ /// </summary>
|
|
|
|
+ [Column(StringLength = 20)]
|
|
|
|
+ public string Mobile { get; set; }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 邮箱
|
|
|
|
+ /// </summary>
|
|
|
|
+ [Column(StringLength = 100)]
|
|
|
|
+ public string Email { get; set; }
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 昵称
|
|
/// 昵称
|
|
/// </summary>
|
|
/// </summary>
|
|
- [Column(StringLength = 60)]
|
|
|
|
|
|
+ [Column(StringLength = 20)]
|
|
public string NickName { get; set; }
|
|
public string NickName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
@@ -52,12 +70,6 @@ namespace ZhonTai.Admin.Domain.User
|
|
/// </summary>
|
|
/// </summary>
|
|
public int Status { get; set; }
|
|
public int Status { get; set; }
|
|
|
|
|
|
- /// <summary>
|
|
|
|
- /// 备注
|
|
|
|
- /// </summary>
|
|
|
|
- [Column(StringLength = 500)]
|
|
|
|
- public string Remark { get; set; }
|
|
|
|
-
|
|
|
|
[Navigate(ManyToMany = typeof(UserRoleEntity))]
|
|
[Navigate(ManyToMany = typeof(UserRoleEntity))]
|
|
public ICollection<RoleEntity> Roles { get; set; }
|
|
public ICollection<RoleEntity> Roles { get; set; }
|
|
}
|
|
}
|