src/wallet/dto/update-wallet.dto.ts
Properties |
| walletLabel |
Type : string
|
Decorators :
@ApiProperty({type: 'string', required: true})
|
|
Defined in src/wallet/dto/update-wallet.dto.ts:13
|
import { ApiProperty } from "@nestjs/swagger";
import { IsString, IsNotEmpty, MinLength, MaxLength } from "class-validator";
export class UpdateWalletDto {
@ApiProperty({
type: "string",
required: true,
})
@IsString()
@IsNotEmpty()
@MinLength(1)
@MaxLength(300)
walletLabel: string;
}