refactor(products): remove brand field from Product model and update related DTO and service
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -22,11 +22,6 @@ export class UpdateProductDto {
|
||||
@MaxLength(191)
|
||||
subcategory?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(191)
|
||||
brand?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsNumber()
|
||||
categoryId?: number | null;
|
||||
|
||||
Reference in New Issue
Block a user