using Fake.Domain.Repositories; using Oms.Domain.FinanceAggregate.Entities; namespace Oms.Domain.FinanceAggregate.Repositories; public interface IFinanceSupplierRepository : IRepository { Task ExistsCodeAsync(string supplierCode, int? excludeId = null, CancellationToken cancellationToken = default); } public interface IFinanceCompanyAccountRepository : IRepository { } public interface IFinanceContractRepository : IRepository { Task ExistsContractNoAsync(string contractNo, CancellationToken cancellationToken = default); Task GetActiveByPartyAsync( string partyType, int partyId, int? excludeId = null, CancellationToken cancellationToken = default); } public interface IFinancePaymentApplyRepository : IRepository { Task ExistsApplyNoAsync(string applyNo, CancellationToken cancellationToken = default); } public interface IFinancePaymentApplyLineRepository : IRepository { Task> GetListByApplyIdAsync( int paymentApplyId, CancellationToken cancellationToken = default); Task DeleteByApplyIdAsync(int paymentApplyId, CancellationToken cancellationToken = default); }