change entity names

This commit is contained in:
2026-02-08 09:18:20 +03:30
parent 6be6a66079
commit 9a7010dcea
180 changed files with 2751 additions and 2513 deletions
+4 -4
View File
@@ -90,7 +90,7 @@ export class CreateCouponDto {
@IsString({ each: true })
@ApiPropertyOptional({
example: ['category-id-1', 'category-id-2'],
description: 'Array of food category IDs. If empty, coupon applies to all categories.',
description: 'Array of product category IDs. If empty, coupon applies to all categories.',
type: [String],
})
foodCategories?: string[];
@@ -99,11 +99,11 @@ export class CreateCouponDto {
@IsArray()
@IsString({ each: true })
@ApiPropertyOptional({
example: ['food-id-1', 'food-id-2'],
description: 'Array of food IDs. If empty, coupon applies to all foods.',
example: ['product-id-1', 'product-id-2'],
description: 'Array of product IDs. If empty, coupon applies to all products.',
type: [String],
})
foods?: string[];
products?: string[];
@IsOptional()
@IsString()