first commit

This commit is contained in:
yanpeng200212
2026-10-08 10:43:59 +08:00
commit 8430ba0452
288 changed files with 29595 additions and 0 deletions
@@ -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);
}