This commit is contained in:
Chris Chen
2026-06-20 17:51:33 -07:00
parent f55807fa7d
commit 3558c67fd7
55 changed files with 3140 additions and 85 deletions
+18
View File
@@ -0,0 +1,18 @@
using ROLAC.API.Entities.Base;
namespace ROLAC.API.Entities;
/// <summary>
/// One expense covered by a <see cref="Check"/>. Amount/Description are snapshotted
/// at issue time for the printed ledger stub; ExpenseId links back to the source expense.
/// </summary>
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; }
}