ff-admin/src/demodata/wearable.ts

26 lines
775 B
TypeScript
Raw Normal View History

2025-05-14 09:13:47 +02:00
import type { WearableViewModel } from "@/viewmodels/admin/unit/wearable/wearable.models";
2025-04-01 16:11:39 +02:00
import { wearableTypeDemoData } from "./wearableType";
export const wearableDemoData: Array<WearableViewModel> = [
{
2025-05-14 14:42:00 +02:00
id: "absdfgc",
2025-04-01 16:11:39 +02:00
code: "0456984224498",
2025-04-28 12:29:44 +02:00
name: "Jacke",
location: "Spint",
2025-05-21 09:10:41 +02:00
commissioned: new Date(),
decommissioned: undefined,
2025-04-01 16:11:39 +02:00
wearerId: "9469991d-fa22-4899-82ce-b1ba5de990dc",
wearer: {
id: "9469991d-fa22-4899-82ce-b1ba5de990dc",
salutation: { id: 3, salutation: "Herr" },
firstname: "Julian",
lastname: "Krauser",
nameaffix: "",
birthdate: new Date("2003-09-20"),
internalId: "1312",
},
wearableTypeId: wearableTypeDemoData[0].id,
wearableType: wearableTypeDemoData[0],
},
];