Distribution_GL Initialization
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using General_Ledger_Service.Models;
|
||||
|
||||
namespace General_Ledger_Service.Interfaces.Repositories
|
||||
{
|
||||
public interface IFixedAssetRepository
|
||||
{
|
||||
Task<FixedAsset?> GetByIdAsync(long assetId);
|
||||
Task<FixedAsset?> GetByCodeAsync(string assetCode);
|
||||
Task<FixedAsset> AddAsync(FixedAsset asset);
|
||||
Task<List<FixedAsset>> GetAllAsync();
|
||||
Task<DepreciationSchedule?> GetLatestScheduleByAssetIdAsync(long assetId);
|
||||
Task<DepreciationSchedule> AddScheduleAsync(DepreciationSchedule schedule);
|
||||
Task<AssetDisposal> AddDisposalAsync(AssetDisposal disposal);
|
||||
Task<decimal> GetDepreciationAddBackAsync(DateOnly periodStart, DateOnly periodEnd);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user