unit data collections
This commit is contained in:
parent
2a77a950f5
commit
b6d6dd0796
12 changed files with 754 additions and 7 deletions
39
src/viewmodels/admin/unit/equipmentType.models.ts
Normal file
39
src/viewmodels/admin/unit/equipmentType.models.ts
Normal file
|
@ -0,0 +1,39 @@
|
|||
export interface EquipmentTypeViewModel {
|
||||
id: string;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
nameaffix: string;
|
||||
birthdate: Date;
|
||||
internalId?: string;
|
||||
}
|
||||
|
||||
export interface EquipmentTypeStatisticsViewModel {
|
||||
id: string;
|
||||
salutation: string;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
nameaffix: string;
|
||||
birthdate: Date;
|
||||
todayAge: number;
|
||||
ageThisYear: number;
|
||||
exactAge: string;
|
||||
}
|
||||
|
||||
export interface CreateEquipmentTypeViewModel {
|
||||
salutationId: number;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
nameaffix: string;
|
||||
birthdate: Date;
|
||||
internalId?: string;
|
||||
}
|
||||
|
||||
export interface UpdateEquipmentTypeViewModel {
|
||||
id: string;
|
||||
salutationId: number;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
nameaffix: string;
|
||||
birthdate: Date;
|
||||
internalId?: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue