You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
692 B
C#

using Volo.Abp.Domain.Values;
namespace NPin.Framework.Upms.Domain.Entities.ValueObjects;
public class EncryptPasswordValueObject : ValueObject
{
/// <summary>
/// 密码
/// </summary>
public string Password { get; set; } = string.Empty;
/// <summary>
/// 加密盐值
/// </summary>
public string Salt { get; set; } = string.Empty;
public EncryptPasswordValueObject()
{
}
public EncryptPasswordValueObject(string password)
{
this.Password = password;
}
protected override IEnumerable<object> GetAtomicValues()
{
yield return Password;
yield return Salt;
}
}