Distribution_GL Initialization
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace General_Ledger_Service.DTOs.JournalEntries
|
||||
{
|
||||
public class CreateJournalEntryRequest
|
||||
{
|
||||
public int PeriodId { get; set; }
|
||||
public DateOnly EntryDate { get; set; }
|
||||
public string JournalType { get; set; } = string.Empty;
|
||||
public string? SourceModule { get; set; }
|
||||
public string? Reference { get; set; }
|
||||
public string? Narration { get; set; }
|
||||
public string? PreparedBy { get; set; }
|
||||
public List<JournalEntryLineRequest>? Lines { get; set; }
|
||||
public JournalEntryCorrectionRequest? Correction { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace General_Ledger_Service.DTOs.JournalEntries
|
||||
{
|
||||
public class JournalEntryCorrectionRequest
|
||||
{
|
||||
public string OriginalJournalNo { get; set; } = string.Empty;
|
||||
public string CorrectionType { get; set; } = string.Empty;
|
||||
public string Reason { get; set; } = string.Empty;
|
||||
public string? CorrectedBy { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace General_Ledger_Service.DTOs.JournalEntries
|
||||
{
|
||||
public class JournalEntryLineRequest
|
||||
{
|
||||
public string AccountCode { get; set; } = string.Empty;
|
||||
public decimal DebitAmount { get; set; }
|
||||
public decimal CreditAmount { get; set; }
|
||||
public string? CostCenterCode { get; set; }
|
||||
public string? Memo { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user