feat: enhance product model with subcategory, brand, tags, and nutrition; update related DTOs and services
This commit is contained in:
@@ -16,4 +16,14 @@ export class UpdateProductDto {
|
||||
@IsString()
|
||||
@MaxLength(191)
|
||||
category?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(191)
|
||||
subcategory?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(191)
|
||||
brand?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user