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
+41
View File
@@ -0,0 +1,41 @@
using General_Ledger_Service.Enums;
namespace General_Ledger_Service.Models
{
public class FiscalYear
{
public int FiscalYearId { get; set; }
public string YearName { get; set; } = string.Empty;
public DateOnly StartDate { get; set; }
public DateOnly EndDate { get; set; }
public bool IsClosed { get; set; }
public DateTime CreatedAt { get; set; }
}
public class AccountingPeriod
{
public int PeriodId { get; set; }
public int FiscalYearId { get; set; }
public short PeriodNumber { get; set; }
public DateOnly StartDate { get; set; }
public DateOnly EndDate { get; set; }
public PeriodStatus Status { get; set; }
public bool LockGl { get; set; }
public string? LockReason { get; set; }
public DateTime CreatedAt { get; set; }
public FiscalYear FiscalYear { get; set; } = null!;
}
public class PeriodLockLog
{
public long LogId { get; set; }
public int PeriodId { get; set; }
public PeriodLockAction Action { get; set; }
public string? ModuleLocked { get; set; }
public string? Reason { get; set; }
public DateTime CreatedAt { get; set; }
public AccountingPeriod Period { get; set; } = null!;
}
}