From 114a0d8e4d0bf9017e8b3e3b19065e2ce5ac9e80 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期四, 16 十二月 2021 11:25:00 +0800 Subject: [PATCH] Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM --- PAMapp/assets/ts/models/consultant.model.ts | 28 +++++++--------------------- 1 files changed, 7 insertions(+), 21 deletions(-) diff --git a/PAMapp/assets/ts/models/consultant.model.ts b/PAMapp/assets/ts/models/consultant.model.ts index 4d3845e..17124fd 100644 --- a/PAMapp/assets/ts/models/consultant.model.ts +++ b/PAMapp/assets/ts/models/consultant.model.ts @@ -1,3 +1,5 @@ +import { Appointment } from "./appointment.model"; + export interface Consultant { agentNo : string; name : string; @@ -13,25 +15,9 @@ appointments? : Appointment[]; } -export interface Appointment { - id : number; - phone? : string; - email? : string; - contactType : string; - gender : string; - age : string; - job : string; - requirement : string; - communicateStatus : string; - hopeContactTime : string; - otherRequirement? : string; - appointmentDate : Date; - lastModifiedDate : Date; - agentNo : string; - customerId : number; - name : string; - consultantViewTime?: Date; - consultantReadTime?: Date; - satisfactionScore? : number; -}; +export interface ConsultantWithAppointmentId extends Consultant { + appointmentId : number; + appointmentDate : string; + appointmentScore?: number; +} -- Gitblit v1.8.0