using ROLAC.API.Entities.Base; namespace ROLAC.API.Entities; /// /// One expense covered by a . Amount/Description are snapshotted /// at issue time for the printed ledger stub; ExpenseId links back to the source expense. /// public class CheckLine : AuditableEntity { public int Id { get; set; } public int CheckId { get; set; } public int ExpenseId { get; set; } public decimal Amount { get; set; } // snapshot of expense amount public string Description { get; set; } = null!; // snapshot of expense description public Check? Check { get; set; } public Expense? Expense { get; set; } }