Distribution_GL Initialization

This commit is contained in:
2026-10-20 13:07:07 +05:30
commit 3f16e0cb44
194 changed files with 35659 additions and 0 deletions
@@ -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);
}
}