40 lines
745 B
TypeScript
40 lines
745 B
TypeScript
|
export interface VehicleViewModel {
|
||
|
id: string;
|
||
|
firstname: string;
|
||
|
lastname: string;
|
||
|
nameaffix: string;
|
||
|
birthdate: Date;
|
||
|
internalId?: string;
|
||
|
}
|
||
|
|
||
|
export interface VehicleStatisticsViewModel {
|
||
|
id: string;
|
||
|
salutation: string;
|
||
|
firstname: string;
|
||
|
lastname: string;
|
||
|
nameaffix: string;
|
||
|
birthdate: Date;
|
||
|
todayAge: number;
|
||
|
ageThisYear: number;
|
||
|
exactAge: string;
|
||
|
}
|
||
|
|
||
|
export interface CreateVehicleViewModel {
|
||
|
salutationId: number;
|
||
|
firstname: string;
|
||
|
lastname: string;
|
||
|
nameaffix: string;
|
||
|
birthdate: Date;
|
||
|
internalId?: string;
|
||
|
}
|
||
|
|
||
|
export interface UpdateVehicleViewModel {
|
||
|
id: string;
|
||
|
salutationId: number;
|
||
|
firstname: string;
|
||
|
lastname: string;
|
||
|
nameaffix: string;
|
||
|
birthdate: Date;
|
||
|
internalId?: string;
|
||
|
}
|