import { ApiProperty } from "@nestjs/swagger"; import { PlatesDto } from "src/plates/dto/plate.dto"; import { Plates } from "src/Types&Enums/plate.interface"; export class SandHubLoginDtoRs { public loginToken: string; constructor(token: string) { this.loginToken = token; } } export class SandHubDetailDto { @ApiProperty({ type: String, required: true }) nationalCodeOfInsurer: string; @ApiProperty({ type: PlatesDto, required: true }) plate: Plates; }