2025-11-12 17:32:28 +08:00

29 lines
878 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}