Initial commit
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
using CsvHelper.Configuration.Attributes;
|
||||
|
||||
namespace PowderCoating.Application.DTOs.Import;
|
||||
|
||||
/// <summary>
|
||||
/// DTO for importing vendors from CSV files.
|
||||
/// </summary>
|
||||
public class VendorImportDto
|
||||
{
|
||||
[Name("CompanyName")]
|
||||
public string CompanyName { get; set; } = string.Empty;
|
||||
|
||||
[Name("ContactName")]
|
||||
public string? ContactName { get; set; }
|
||||
|
||||
[Name("Email")]
|
||||
public string? Email { get; set; }
|
||||
|
||||
[Name("Phone")]
|
||||
public string? Phone { get; set; }
|
||||
|
||||
[Name("Address")]
|
||||
public string? Address { get; set; }
|
||||
|
||||
[Name("City")]
|
||||
public string? City { get; set; }
|
||||
|
||||
[Name("State")]
|
||||
public string? State { get; set; }
|
||||
|
||||
[Name("ZipCode")]
|
||||
public string? ZipCode { get; set; }
|
||||
|
||||
[Name("Country")]
|
||||
public string? Country { get; set; }
|
||||
|
||||
[Name("Website")]
|
||||
public string? Website { get; set; }
|
||||
|
||||
[Name("AccountNumber")]
|
||||
public string? AccountNumber { get; set; }
|
||||
|
||||
[Name("TaxId")]
|
||||
public string? TaxId { get; set; }
|
||||
|
||||
[Name("PaymentTerms")]
|
||||
public string? PaymentTerms { get; set; }
|
||||
|
||||
[Name("CreditLimit")]
|
||||
public decimal? CreditLimit { get; set; }
|
||||
|
||||
[Name("IsPreferred")]
|
||||
public bool? IsPreferred { get; set; }
|
||||
|
||||
[Name("IsActive")]
|
||||
public bool? IsActive { get; set; }
|
||||
|
||||
[Name("Notes")]
|
||||
public string? Notes { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user