src/module-manager/dto/module.dto.ts
Properties |
| contractAddress |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/module-manager/dto/module.dto.ts:9
|
import { ApiProperty } from "@nestjs/swagger";
import { IsNotEmpty, IsString, Length } from "class-validator";
export class ModuleDto {
@ApiProperty()
@IsString()
@IsNotEmpty()
@Length(42)
contractAddress: string;
}