src/user/dto/assign-new-dealer-user.dto.ts
Properties |
| dealerId |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/user/dto/assign-new-dealer-user.dto.ts:7
|
import { IsString } from "class-validator";
import { ApiProperty } from "@nestjs/swagger";
export class AssignNewDealerDto {
@ApiProperty({ type: "string" })
@IsString()
dealerId: string;
}