Squashed commit of the following:
commitae30d4b2cbAuthor: 陈淳 <454313500@qq.com> Date: Fri Apr 26 19:08:18 2024 +0800 fix: 修复值对象查询导致问题,已同步sqlsugar更新 commit4c12626b44Author: 陈淳 <454313500@qq.com> Date: Mon Apr 22 18:15:57 2024 +0800 feat: 添加值对象 commitd389dcbedfAuthor: 陈淳 <454313500@qq.com> Date: Mon Apr 22 18:06:09 2024 +0800 feat: 添加值对象 commit58ff8f45cfAuthor: 陈淳 <454313500@qq.com> Date: Mon Apr 22 15:54:25 2024 +0800 feat: 去除新增的缓存操作 commit826271c84dAuthor: 陈淳 <454313500@qq.com> Date: Mon Apr 22 15:39:41 2024 +0800 feat: 添加缓存crud
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Volo.Abp.Domain.Values;
|
||||
|
||||
namespace Yi.Framework.Rbac.Domain.Entities.ValueObjects
|
||||
{
|
||||
public class EncryPasswordValueObject : ValueObject
|
||||
{
|
||||
public EncryPasswordValueObject() { }
|
||||
public EncryPasswordValueObject(string password) { this.Password = password; }
|
||||
|
||||
/// <summary>
|
||||
/// 密码
|
||||
/// </summary>
|
||||
public string Password { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 加密盐值
|
||||
/// </summary>
|
||||
public string Salt { get; set; } = string.Empty;
|
||||
|
||||
protected override IEnumerable<object> GetAtomicValues()
|
||||
{
|
||||
yield return Password;
|
||||
yield return Salt;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user