description
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { IsOptional, IsString } from 'class-validator';
|
||||
|
||||
export class SetDescriptionDto {
|
||||
@ApiProperty({ description: 'Cart description or notes', required: false, example: 'Please deliver to the back door' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
description?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user