using CsvHelper.Configuration.Attributes; using System; namespace ReserveManagementSystemApi.Models { public class ImportNewLoan { [Index(0)] public string DealerOrganizationNumber { get; set; } [Index(1)] public string MemberNumber { get; set; } [Index(2)] public string LoanNumber { get; set; } [Index(3)] public string LastName { get; set; } [Index(4)] public string FirstAndMiddleName { get; set; } [Index(5)] public DateTime LoanDate { get; set; } [Index(6)] public DateTime PostedDate { get; set; } [Index(7)] public DateTime FirstPmtDate { get; set; } [Index(8)] public DateTime FinalPmtDate { get; set; } [Index(9)] public decimal LoanAmount { get; set; } [Index(10)] public decimal BuyRate { get; set; } [Index(11)] public decimal ContractRate { get; set; } [Index(12)] public decimal MonthlyPmt { get; set; } [Index(13)] public string LoanType { get; set; } [Index(14)] public string InsuranceIndicator { get; set; } [Index(15)] public string NewMember { get; set; } [Index(16)] [Optional] public string OriginalTermInDays { get; set; } [Index(17)] [Optional] public string VINNumber { get; set; } [Index(18)] [Optional] public string Make { get; set; } [Index(19)] [Optional] public string Model { get; set; } [Index(20)] [Optional] public string Year { get; set; } [Index(21)] [Optional] public string Mileage { get; set; } [Index(22)] [Optional] public string Color { get; set; } [Index(23)] [Optional] public string ApplicationId { get; set; } [Index(24)] [Optional] public string Warranty { get; set; } [Index(25)] [Optional] public string Gap { get; set; } [Index(26)] [Optional] public string CreditLife { get; set; } [Index(27)] [Optional] public string CreditDisability { get; set; } [Index(28)] [Optional] public string Mbp { get; set; } [Index(29)] [Optional] public string AccountType { get; set; } } }