Distribution_GL Initialization
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using General_Ledger_Service.Enums;
|
||||
|
||||
namespace General_Ledger_Service.Models
|
||||
{
|
||||
public class RecurringJournalTemplate
|
||||
{
|
||||
public long TemplateId { get; set; }
|
||||
public string TemplateName { get; set; } = string.Empty;
|
||||
public RecurrencePattern RecurrencePattern { get; set; }
|
||||
public DateOnly NextRunDate { get; set; }
|
||||
public DateOnly? EndDate { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public ICollection<RecurringJournalTemplateLine> Lines { get; set; } = new List<RecurringJournalTemplateLine>();
|
||||
}
|
||||
|
||||
public class RecurringJournalTemplateLine
|
||||
{
|
||||
public long LineId { get; set; }
|
||||
public long TemplateId { get; set; }
|
||||
public long AccountId { get; set; }
|
||||
public decimal DebitAmount { get; set; }
|
||||
public decimal CreditAmount { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public RecurringJournalTemplate Template { get; set; } = null!;
|
||||
public Account Account { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user