From f36e617e9e534a4b05f2029724d678bbd6c655b3 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期三, 22 十二月 2021 11:38:54 +0800
Subject: [PATCH] refactor: separate api/consultant.ts into serveral services

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

diff --git a/PAMapp/shared/models/appointment.model.ts b/PAMapp/shared/models/appointment.model.ts
index f411b7a..1774dd6 100644
--- a/PAMapp/shared/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