保誠-保戶業務員媒合平台
Mila
2021-12-16 114a0d8e4d0bf9017e8b3e3b19065e2ce5ac9e80
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;
}