10 lines
277 B
TypeScript
10 lines
277 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
import { IsNotEmpty, IsString } from 'class-validator';
|
|
|
|
export class SetAddressDto {
|
|
@ApiProperty({ description: 'User address ID', example: '01ARZ3NDEKTSV4RRFFQ69G5FAV' })
|
|
@IsNotEmpty()
|
|
@IsString()
|
|
addressId!: string;
|
|
}
|