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,15 @@
using F9WebAiTest.Domain.Entities.SYS.Departments;
namespace F9WebAiTest.Domain.Interfaces.SYS.Departments;
/// <summary>部门写仓储(聚合根仓储)</summary>
public interface IDepartmentWriteRepository : IDInterface
{
/// <summary>返回聚合根</summary>
Task<Department> GetByIdAsync(long id, CancellationToken cancellationToken);
Task<bool> AddAsync(Department dep);
Task<bool> UpdateAsync(Department dep);
Task<bool> SoftDeleteAsync(long id);
Task<bool> ActiveOrDeactive(long id, bool active);
}