Distribution_GL Initialization
This commit is contained in:
@@ -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!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user