using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Newtonsoft.Json; namespace ARC.GMP.Types { public class GiftInformation { public DateTime? GiftDate { get; set; } public DateTime? DepositeDate { get; set; } [StringLength(20)] public string PaymentMethod { get; set; } [StringLength(50)] public string CheckNumber { get; set; } [StringLength(20)] public string CreditCardLast4Digits { get; set; } [StringLength(20)] public string MerchantId { get; set; } public InKindGift InKindGift { get; set; } public StockGift StockGift { get; set; } [StringLength(20)] public string VendorCode { get; set; } [StringLength(20)] public string VendorSourceCode { get; set; } public bool IsMisdirected { get; set; } [StringLength(1)] public string CanPostToGeneralLedger { get; set; } [StringLength(1)] public string CanAcknowledge { get; set; } public List AcknowledgementRecipients { get; set; } public List Gifts { get; set; } public List SoftCredits { get; set; } public string GLDebitString { get; set; } } public class SplitGift { public string GiftId { get; set; } public long TransactionId { get; set; } [StringLength(1)] public string IsBudgetRelieving { get; set; } public List GiftDonors { get; set; } public string PledgeNumber { get; set; } [StringLength(20)] public string ProgramCode { get; set; } [StringLength(20)] public string FundCode { get; set; } [StringLength(20)] public string DonorSpecifiedLocation { get; set; } public string AskId { get; set; } public string RevenueCredit { get; set; } public string SourceCode { get; set; } [Column(TypeName = "numeric")] public decimal? DonationAmount { get; set; } [StringLength(20)] public string DonationChannel { get; set; } [StringLength(1)] public string IsAnonymous { get; set; } public string DROChapterCode { get; set; } [StringLength(1)] public string CanThankYou { get; set; } public List ThankYouRecipients { get; set; } public string GLCreditString { get; set; } } public class GiftDonorMap { public long GiftDonorId { get; set; } public long? MasterId { get; set; } [StringLength(100)] public string FirstName { get; set; } [StringLength(100)] public string LastName { get; set; } [StringLength(100)] public string OrganizationName { get; set; } [StringLength(20)] public string DonorType { get; set; } } }