From 27d109b5792305d849f578627f98e1cb55a330f4 Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期五, 11 三月 2022 15:12:54 +0800
Subject: [PATCH] Merge branch 'Phase3' into pollex-dev

---
 PAMapp/shared/models/appointment.model.ts |   78 +++++++++++++++++++++++---------------
 1 files changed, 47 insertions(+), 31 deletions(-)

diff --git a/PAMapp/shared/models/appointment.model.ts b/PAMapp/shared/models/appointment.model.ts
index 300c61c..9bb43ba 100644
--- a/PAMapp/shared/models/appointment.model.ts
+++ b/PAMapp/shared/models/appointment.model.ts
@@ -1,42 +1,57 @@
 import { ContactStatus } from "./enum/contact-status";
+import { SatisfactionType } from "./enum/satisfaction-type";
 
 export interface AppointmentLog {
-    id              : number;
-    createdDate     : string;
-    lastModifiedDate: string;
-    customerId      : number;
-    agentNo         : string;
-    status          : 'UNFILLED' | 'FILLED';
-    score           : number;
-    agentName       : string;
-    customerName    : string;
+  id              : number;
+  createdDate     : string;
+  lastModifiedDate: string;
+  customerId      : number;
+  agentNo         : string;
+  status          : 'UNFILLED' | 'FILLED';
+  score           : number;
+  appointmentId   : number;
+  customerName    : string;
+  agentName       : string;
+  type            : SatisfactionType;
 }
 
 export interface Appointment {
-  age                : string;
-  agentNo            : string;
-  appointmentDate    : string;
-  appointmentMemoList: AppointmentMemoInfo[]
-  communicateStatus  : ContactStatus;
-  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;
+  age                  : string;
+  agentNo              : string;
+  appointmentClosedInfo: AppointmentClosedInfo;
+  appointmentDate      : string;
+  appointmentMemoList  : AppointmentMemoInfo[]
   appointmentNoticeLogs: NoticeLogs[];
+  communicateStatus    : ContactStatus;
+  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 AppointmentClosedInfo {
+  appointmentId         : number;
+  closedOtherReason     : string;
+  closedReason          : string;
+  id                    : number;
+  planCode              : string;
+  policyEntryDate       : string;
+  policyholderIdentityId: string;
+  remark                : string;
+}
 
 export interface AppointmentMemoInfo {
   appointmentId: number;
@@ -102,6 +117,7 @@
   agentNo        : string;
   contactType    : string;
   email          : string;
+  name           : string;
   gender         : string;
   hopeContactTime: ContactTime[];
   job            : string;

--
Gitblit v1.8.0