修改User模块,同步原始代码
This commit is contained in:
1 parent
4a5fada435
commit
78b0c2bb2e
47 files changed
+2939
-193
No files matched your search
@@ -1,15 +1,14 @@
|
||||
using Riok.Mapperly.Abstractions;
|
||||
using Riok.Mapperly.Abstractions;
|
||||
using Store.Users.Contracts.Dtos;
|
||||
using Store.Users.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Store.Users.Mappers
|
||||
namespace Store.Users.Mappers;
|
||||
|
||||
/// <summary>账户输出映射;任何查询路径均不携带密码值。</summary>
|
||||
[Mapper]
|
||||
internal partial class UserMapper
|
||||
{
|
||||
[Mapper]
|
||||
internal partial class UserMapper
|
||||
{
|
||||
public partial UserInfo ToInfo(UserEntity entity);
|
||||
}
|
||||
[MapperIgnoreSource(nameof(UserEntity.Password))]
|
||||
[MapperIgnoreTarget(nameof(UserInfo.Password))]
|
||||
public partial UserInfo ToInfo(UserEntity entity);
|
||||
}
|
||||
Reference in new issue
Block a user