namespace ROLAC.API.DTOs.Giving;

// Returned from POST /api/offering-entry/lines and broadcast over the
// OfferingEntryHub: the line just added plus the session's new running totals,
// so every connected client (other phones + the desktop page) can update live.
public class OfferingEntryLineAddedDto
{
    public int      SessionId   { get; set; }
    public string   SessionDate { get; set; } = "";   // yyyy-MM-dd
    public string   Status      { get; set; } = "";
    public decimal  SystemTotal { get; set; }
    public int      LineCount   { get; set; }
    public OfferingGivingLineDto Line { get; set; } = new();
}
