29 lines
878 B
C#
29 lines
878 B
C#
|
||
namespace RIZO.Model.Mes.PassWord
|
||
{
|
||
/// <summary>
|
||
/// 密码信息表(存储密码值及类型)
|
||
/// </summary>
|
||
[SugarTable("password_info")]
|
||
public class PasswordInfo
|
||
{
|
||
/// <summary>
|
||
/// 自增主键(唯一标识)
|
||
/// </summary>
|
||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||
public long Id { get; set; }
|
||
|
||
/// <summary>
|
||
/// 密码值(必须加密存储,建议用哈希加盐,禁止明文)
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "password_value")]
|
||
public string PasswordValue { get; set; }
|
||
|
||
/// <summary>
|
||
/// 密码类型(如:login-登录密码、pay-支付密码、admin-管理员密码等)
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "password_type")]
|
||
public string PasswordType { get; set; }
|
||
|
||
}
|
||
} |