using F9WebAiTest.Domain.Entities.SYS.Employees;
namespace F9WebAiTest.Domain.Interfaces.SYS.Employees;
/// 职工写仓储(聚合根仓储)
public interface IEmployeeWriteRepository : IDInterface
{
Task GetByIdAsync(long id, CancellationToken cancellationToken);
Task AddAsync(Employee entity);
Task UpdateAsync(Employee entity);
Task SoftDeleteAsync(long id);
}