From ced66c5807575cd29f6aa5632e8ad02b38c8448a Mon Sep 17 00:00:00 2001 From: ivar Date: Sun, 28 Apr 2024 22:37:30 +0200 Subject: WIP new frontend --- code/frontend/src/models/base/Customer.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 code/frontend/src/models/base/Customer.ts (limited to 'code/frontend/src/models/base/Customer.ts') diff --git a/code/frontend/src/models/base/Customer.ts b/code/frontend/src/models/base/Customer.ts new file mode 100644 index 0000000..ff52fbd --- /dev/null +++ b/code/frontend/src/models/base/Customer.ts @@ -0,0 +1,21 @@ +import type {CustomerContact} from "./CustomerContact"; +import type {User} from "./User"; + +export type Customer = { + /** + * Guid id for customer + */ + id: string, + /** + * The name of the company + */ + name: string, + /** + * Responsible contact in the current tenant + */ + tenantContact: User, + /** + * The customers main contact + */ + mainContact: CustomerContact, +} \ No newline at end of file -- cgit v1.3