This commit is contained in:
Julian Krauser 2025-04-01 16:11:39 +02:00
parent 716823f536
commit 553eeb7bfb
21 changed files with 1318 additions and 0 deletions

View file

@ -0,0 +1,29 @@
import type { MemberViewModel } from "../../club/member/member.models";
import type { WearableTypeViewModel } from "../wearableType/wearableType.models";
export interface WearableViewModel {
id: string;
code: string;
name: string;
location?: string;
wearerId?: string;
wearer: MemberViewModel;
wearableTypeId: string;
wearableType: WearableTypeViewModel;
}
export interface CreateWearableViewModel {
code: string;
name: string;
wearerId?: string;
location?: string;
wearableTypeId: string;
}
export interface UpdateWearableViewModel {
id: string;
code: string;
name: string;
location?: string;
wearerId?: string;
}

View file

@ -0,0 +1,16 @@
export interface WearableTypeViewModel {
id: string;
type: string;
description: string;
}
export interface CreateWearableTypeViewModel {
type: string;
description: string;
}
export interface UpdateWearableTypeViewModel {
id: string;
type: string;
description: string;
}