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

13 lines
469 B
C#

using F9WebAiTest.Domain.Entities.SYS.Gongyingshangs;
namespace F9WebAiTest.Domain.Interfaces.SYS.Gongyingshangs;
/// <summary>往来单位写仓储(聚合根仓储)</summary>
public interface IGongyingshangWriteRepository : IDInterface
{
Task<Gongyingshang> GetByIdAsync(long id, CancellationToken cancellationToken);
Task<bool> AddAsync(Gongyingshang entity);
Task<bool> UpdateAsync(Gongyingshang entity);
Task<bool> SoftDeleteAsync(long id);
}