namespace Domain.Dtos.Stock
{
    public class ProductImportPreviewDto
    {
        public string FactoryCode { get; set; } = string.Empty;
        public string Name { get; set; } = string.Empty;
        public string Description { get; set; } = string.Empty;
        public int ProductType { get; set; }
        public int TraceabilityType { get; set; }
        public string DivisionCode { get; set; } = string.Empty;
        public string UnitCode { get; set; } = string.Empty;
        public bool PlusProcess { get; set; }
        public string ExternalCode { get; set; } = string.Empty;
        public string RegulatoryCode { get; set; } = string.Empty; 
        public string? ErrorMessage { get; set; }
        public bool HasError => !string.IsNullOrWhiteSpace(ErrorMessage);
    }

}
