From a2feefbe2565234b5755573326bdb7c0781b2562 Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期二, 18 一月 2022 15:34:56 +0800
Subject: [PATCH] update: 刪除重複的 interface: appointmentDeatil => appointment

---
 PAMapp/shared/models/appointment.model.ts |   35 ++++++++++-------------------------
 1 files changed, 10 insertions(+), 25 deletions(-)

diff --git a/PAMapp/shared/models/appointment.model.ts b/PAMapp/shared/models/appointment.model.ts
index 172112d..57c52ee 100644
--- a/PAMapp/shared/models/appointment.model.ts
+++ b/PAMapp/shared/models/appointment.model.ts
@@ -34,6 +34,7 @@
   phone              : string;
   requirement        : string;
   satisfactionScore  : number;
+  appointmentNoticeLogs: NoticeLogs[];
 };
 
 export interface AppointmentMemoInfo {
@@ -51,37 +52,21 @@
   lastModifiedBy  : string;
   lastModifiedDate: string;
 }
+
+export interface NoticeLogs {
+  id: number,
+  phone: string,
+  email: string,
+  appointmentId: number,
+  content: string,
+  createdDate: string
+}
 export interface AppointmentWithConsultantInfo extends Appointment {
   consultantAvatar    : string;
   consultantExpertList: string[];
   consultantName      : string;
   contactStatus       : string;
   updateTime          : string;
-}
-
-export interface AppointmentDetail {
-  age                 : string;
-  agentNo             : string;
-  appointmentDate     : string;
-  appointmentMemoList?: string[];
-  communicateStatus   : string;
-  consultantReadTime  : string;
-  consultantViewTime  : string;
-  contactTime         : string;
-  contactType         : string;
-  customerId          : number;
-  email               : string;
-  gender              : string;
-  hopeContactTime     : string;
-  id                  : number;
-  interviewRecordDTOs : InterviewRecord[];
-  job                 : string;
-  lastModifiedDate    : string;
-  name                : string;
-  otherRequirement    : string;
-  phone               : string;
-  requirement         : string;
-  satisfactionScore?  : number;
 }
 export interface AppointmentParams {
   age            : string;

--
Gitblit v1.8.0