e04776460d
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
682 B
C#
16 lines
682 B
C#
using System.ComponentModel.DataAnnotations;
|
|
namespace ROLAC.API.DTOs.Giving;
|
|
|
|
public class OfferingGivingLineRequest
|
|
{
|
|
public int? MemberId { get; set; }
|
|
[Required] public int GivingCategoryId { get; set; }
|
|
[Range(0.01, 9999999)] public decimal Amount { get; set; }
|
|
[Required, MaxLength(20)] public string PaymentMethod { get; set; } = "Cash";
|
|
[MaxLength(50)] public string? CheckNumber { get; set; }
|
|
[MaxLength(100)] public string? ZelleReferenceCode { get; set; }
|
|
[MaxLength(100)] public string? PayPalTransactionId { get; set; }
|
|
public bool IsAnonymous { get; set; }
|
|
[MaxLength(500)] public string? Notes { get; set; }
|
|
}
|