44 lines
910 B
C#
44 lines
910 B
C#
using CsvHelper.Configuration.Attributes;
|
|
using System;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace ReserveManagementSystemApi.Models
|
|
{
|
|
public class ImportBoatLoan
|
|
{
|
|
|
|
[Index(0)]
|
|
public string LoanNumber { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[Index(1)]
|
|
public string DealerAccountNumber { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[Index(2)]
|
|
public decimal Amount { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[Index(3)]
|
|
public string IsChargeback { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[Index(4)]
|
|
public string IsAdjustment { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[Index(5)]
|
|
[Optional]
|
|
public string AccountType { get; set; }
|
|
|
|
[Index(6)]
|
|
[Optional]
|
|
public string ErrorMessage { get; set; }
|
|
|
|
[Index(7)]
|
|
[Optional]
|
|
public bool? WasSuccessful { get; set; }
|
|
|
|
}
|
|
}
|