feat(giving): add GivingCategory, OfferingSession, Giving entities + EF config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using ROLAC.API.Entities.Base;
|
||||
|
||||
namespace ROLAC.API.Entities;
|
||||
|
||||
public class OfferingSession : AuditableEntity
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public DateOnly SessionDate { get; set; }
|
||||
public string Status { get; set; } = "Draft"; // Draft | Submitted | Reconciled
|
||||
public decimal CashTotal { get; set; }
|
||||
public decimal CheckTotal { get; set; }
|
||||
public decimal SystemTotal { get; set; }
|
||||
public decimal Difference { get; set; }
|
||||
public string? Notes { get; set; }
|
||||
public DateTimeOffset? SubmittedAt { get; set; }
|
||||
public string? SubmittedBy { get; set; }
|
||||
public DateTimeOffset? ReconciledAt { get; set; }
|
||||
public string? ReconciledBy { get; set; }
|
||||
|
||||
public List<Giving> Givings { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user