using System.ComponentModel.DataAnnotations; namespace ROLAC.API.DTOs.Giving; // Body of POST /api/offering-entry/lines — one offering line plus the date of the // session it belongs to (find-or-create that day's session, append the line). public class AppendOfferingLineRequest { [Required] public DateOnly Date { get; set; } [Required] public OfferingGivingLineRequest Line { get; set; } = new(); }