Files
f9-web-ai-test/backend/F9WebAiTest.Domain/Interfaces/SYS/YuanliaoZhuangkous/IYuanliaoZhuangkouWriteRepository.cs
T
2026-10-08 15:44:07 +08:00

15 lines
537 B
C#

using F9WebAiTest.Domain.Entities.SYS.YuanliaoZhuangkous;
namespace F9WebAiTest.Domain.Interfaces.SYS.YuanliaoZhuangkous;
/// <summary>原料庄口写仓储(聚合根仓储)</summary>
public interface IYuanliaoZhuangkouWriteRepository : IDInterface
{
/// <summary>返回聚合根</summary>
Task<YuanliaoZhuangkou> GetByIdAsync(long id, CancellationToken cancellationToken);
Task<bool> AddAsync(YuanliaoZhuangkou entity);
Task<bool> UpdateAsync(YuanliaoZhuangkou entity);
Task<bool> SoftDeleteAsync(long id);
}