using F9WebAiTest.Domain.Entities.SYS.Zq;
namespace F9WebAiTest.Domain.Interfaces.SYS.Zq;
/// 账期写仓储(聚合根仓储)
public interface IZhangqiWriteRepository : IDInterface
{
/// 返回聚合根
Task GetByIdAsync(long id, CancellationToken cancellationToken);
Task AddAsync(Zhangqi zhangqi);
Task UpdateAsync(Zhangqi zhangqi);
Task SoftDeleteAsync(long id);
/// 扎帐 / 取消扎帐
Task SetZhaZhangAsync(long id, bool isZhaZhang);
}