forked from Yara724/api
Initial commit after migration to gitea
This commit is contained in:
18
src/sand-hub/dto/sand-hub.dto.ts
Normal file
18
src/sand-hub/dto/sand-hub.dto.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user