用户添加身份证号字段

usertest
cjy 3 months ago
parent 1bc6b73c1a
commit 66b9a7ea0d

@ -205,6 +205,12 @@ public class UserReq
/// 是否允许使用本系统 /// 是否允许使用本系统
/// </summary> /// </summary>
public bool IsUseSystem { get; set; } = false; public bool IsUseSystem { get; set; } = false;
/// <summary>
/// 身份证号
/// </summary>
[Description("身份证号")]
public string IdCardNo { get; set; }
} }
/// <summary> /// <summary>

@ -222,4 +222,10 @@ public class UserViewModel
/// 是否允许使用本系统 /// 是否允许使用本系统
/// </summary> /// </summary>
public bool IsUseSystem { get; set; } = false; public bool IsUseSystem { get; set; } = false;
/// <summary>
/// 身份证号
/// </summary>
[Description("身份证号")]
public string IdCardNo { get; set; }
} }

@ -239,5 +239,11 @@ public class SysUser : UserTenantModel<long>
/// </summary> /// </summary>
[SugarColumn(ColumnDescription = "首页地址", Length = 255, IsNullable = true)] [SugarColumn(ColumnDescription = "首页地址", Length = 255, IsNullable = true)]
public string? HomePath { get; set; } public string? HomePath { get; set; }
/// <summary>
/// 身份证号
/// </summary>
[Description("身份证号")]
public string IdCardNo { get; set; }
} }
Loading…
Cancel
Save