Initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using CsvHelper.Configuration.Attributes;
|
||||
|
||||
namespace PowderCoating.Application.DTOs.Import;
|
||||
|
||||
/// <summary>
|
||||
/// DTO for importing catalog items from CSV files.
|
||||
/// </summary>
|
||||
public class CatalogItemImportDto
|
||||
{
|
||||
[Name("CategoryPath")]
|
||||
public string CategoryPath { get; set; } = string.Empty;
|
||||
|
||||
[Name("ItemName")]
|
||||
public string ItemName { get; set; } = string.Empty;
|
||||
|
||||
[Name("SKU")]
|
||||
public string? SKU { get; set; }
|
||||
|
||||
[Name("Description")]
|
||||
public string? Description { get; set; }
|
||||
|
||||
[Name("BasePrice")]
|
||||
public decimal? BasePrice { get; set; }
|
||||
|
||||
[Name("ApproximateArea")]
|
||||
public decimal? ApproximateArea { get; set; }
|
||||
|
||||
[Name("EstimatedMinutes")]
|
||||
public int? EstimatedMinutes { get; set; }
|
||||
|
||||
[Name("RequiresSandblasting")]
|
||||
public bool? RequiresSandblasting { get; set; }
|
||||
|
||||
[Name("RequiresMasking")]
|
||||
public bool? RequiresMasking { get; set; }
|
||||
|
||||
[Name("IsActive")]
|
||||
public bool? IsActive { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user