From bdae23a40c461c2c6b6ee614f661eac731c949c8 Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期三, 22 十二月 2021 14:12:05 +0800
Subject: [PATCH] Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM

---
 PAMapp/shared/models/appointment.model.ts |   39 ++++++++++++++++++++++++++++++++++++++-
 1 files changed, 38 insertions(+), 1 deletions(-)

diff --git a/PAMapp/assets/ts/models/appointment.model.ts b/PAMapp/shared/models/appointment.model.ts
similarity index 62%
rename from PAMapp/assets/ts/models/appointment.model.ts
rename to PAMapp/shared/models/appointment.model.ts
index f411b7a..1774dd6 100644
--- a/PAMapp/assets/ts/models/appointment.model.ts
+++ b/PAMapp/shared/models/appointment.model.ts
@@ -55,4 +55,41 @@
   customerId       : number;
   name             : string;
 }
-
+export interface AppointmentParams {
+  phone          : string;
+  email          : string;
+  contactType    : string;
+  gender         : string;
+  age            : string;
+  job            : string;
+  requirement    : string;
+  hopeContactTime: string;
+  agentNo        : string;
+}
+export interface EditAppointmentParams {
+  id              : number,
+  phone           : string,
+  email           : string,
+  contactType     : string,
+  gender          : string,
+  age             : string,
+  job             : string,
+  requirement     : string,
+  hopeContactTime : string,
+  otherRequirement: null
+}
+export interface AppointmentRequests {
+  phone          : string,
+  email          : string,
+  contactType    : string,
+  gender         : string,
+  age            : string,
+  job            : string,
+  requirement    : string[],
+  hopeContactTime: ContactTime[],
+  agentNo        : string,
+}
+export interface ContactTime {
+selectWeekOptions : string[],
+selectTimesOptions: string[]
+}

--
Gitblit v1.8.0