Files
ROLAC/API/ROLAC.API/DTOs/Giving/AppendOfferingLineRequest.cs
T
2026-06-20 20:42:06 -07:00

11 lines
412 B
C#

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();
}