15 lines
537 B
C#
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);
|
|
}
|