forked from Yara724/api
19 lines
475 B
TypeScript
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;
|
|
}
|