ProductDTO constructor
ProductDTO({
- String? id,
- String? createdAt,
- String? updatedAt,
- bool? isActive,
- bool? isDeleted,
- bool? showInList,
- bool? showInHot,
- bool? showInHome,
- int? sortIndex,
- String? modelCode,
- String? hsCode,
- Detail? detail,
- List<
ProductPriceDTO> ? prices, - List<
ProductPhotoHolder> ? photos, - List<
ProductDTO> ? sides, - List<
StockDTO> ? stocks, - List<
StockDTO> ? inStocks, - List<
StockDTO> ? outStocks, - List<
CatalogDTO> ? catalogs, - String? variant1,
- String? variant2,
- List<
FeatureDTO> ? features, - List<
TagDTO> ? tags, - Group? group,
- String? type,
- int? highlightRate,
- bool? useStock,
- List<
ProductDTO> ? products, - List<
CategoryDTO> ? categories, - BrandDTO? brand,
Implementation
ProductDTO({
super.id,
super.createdAt,
super.updatedAt,
super.isActive,
super.isDeleted,
this.showInList,
this.showInHot,
this.showInHome,
this.sortIndex,
this.modelCode,
this.hsCode,
this.detail,
this.prices,
this.photos,
this.sides,
this.stocks,
this.inStocks,
this.outStocks,
this.catalogs,
this.variant1,
this.variant2,
this.features,
this.tags,
this.group,
this.type,
this.highlightRate,
this.useStock,
this.products,
this.categories,
this.brand,
});