src/wallet/dto/create-wallet.dto.ts
Properties |
| walletLabel |
Type : string
|
Decorators :
@ApiProperty({type: 'string', required: false})
|
|
Defined in src/wallet/dto/create-wallet.dto.ts:20
|
import { ApiProperty } from "@nestjs/swagger";
import {
IsNotEmpty,
IsString,
MaxLength,
MinLength,
IsOptional,
} from "class-validator";
export class CreateWalletDto {
@ApiProperty({
type: "string",
required: false,
})
@IsString()
@IsNotEmpty()
@MinLength(5)
@MaxLength(300)
@IsOptional()
walletLabel: string;
}