update
This commit is contained in:
@@ -10,15 +10,14 @@ import { IAttachment } from '../interface/order.interface';
|
||||
|
||||
|
||||
export class CreateOrderAsAdminDto {
|
||||
@ApiPropertyOptional({ example: '' })
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
userId?: string;
|
||||
// @ApiPropertyOptional({ example: '' })
|
||||
// @IsString()
|
||||
// @IsNotEmpty()
|
||||
// userId?: string;
|
||||
|
||||
@ApiPropertyOptional({ example: '' })
|
||||
@ApiProperty({ example: '' })
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
invoiceItemId?: string;
|
||||
invoiceItemId: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
@@ -29,10 +28,10 @@ export class CreateOrderAsAdminDto {
|
||||
@IsInt()
|
||||
estimatedDays: number;
|
||||
|
||||
@ApiPropertyOptional()
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
productId?: string;
|
||||
// @ApiPropertyOptional()
|
||||
// @IsOptional()
|
||||
// @IsString()
|
||||
// productId?: string;
|
||||
|
||||
@ApiPropertyOptional()
|
||||
@IsOptional()
|
||||
|
||||
Reference in New Issue
Block a user