namespace ROLAC.API.DTOs.Giving;

// A day's offering session as the mobile page sees it: the running total/line
// count plus the lines already recorded. SessionId is null when no session
// exists for the date yet (nothing entered today).
public class OfferingEntrySummaryDto
{
    public int?     SessionId   { get; set; }
    public string   SessionDate { get; set; } = "";   // yyyy-MM-dd
    public string?  Status      { get; set; }          // null when no session yet
    public decimal  SystemTotal { get; set; }
    public int      LineCount   { get; set; }
    public bool     HasProof    { get; set; }   // a merged paper-proof PDF is attached to this session
    public List<OfferingGivingLineDto> Lines { get; set; } = [];
}
