Files
yara724api/src/sand-hub/dto/sand-hub.dto.ts

19 lines
475 B
TypeScript

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;
}