first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using F9WebAiTest.Domain.Entities.SYS.RBAC;
|
||||
|
||||
namespace F9WebAiTest.Domain.Interfaces.SYS.RBAC.Users;
|
||||
|
||||
/// <summary>用户写仓储(聚合根仓储)</summary>
|
||||
public interface IUserWriteRepository : IDInterface
|
||||
{
|
||||
/// <summary>返回聚合根</summary>
|
||||
Task<User> GetByIdAsync(long id);
|
||||
|
||||
Task<bool> AddAsync(User user);
|
||||
Task<bool> UpdateAsync(User user);
|
||||
Task<bool> SoftDeleteAsync(long id);
|
||||
Task<bool> ActiveOrDeactive(long id, bool active);
|
||||
|
||||
Task<bool> UpdatePassworkdAsync(long id, string passwordHash);
|
||||
Task<bool> UpdateLastLoginAtAsync(long id, DateTime dt);
|
||||
}
|
||||
Reference in New Issue
Block a user