保誠-保戶業務員媒合平台
Mila
2022-01-20 ed4b2b7c67443b83abdc7aaf99e784a79d2e0a4f
PAMapp/shared/models/appointment.model.ts
@@ -1,22 +1,24 @@
import { ContactStatus } from "./enum/contact-status";
export interface AppointmentLog {
    id              : number;
    createdDate     : string;
    lastModifiedDate: string;
    customerId      : number;
    agentNo         : string;
    status          : 'UNFILLED' | 'FILLED';
    score           : number;
    agentName       : string;
    agentNo         : string;
    appointmentId   : number;
    createdDate     : string;
    customerId      : number;
    customerName    : string;
    id              : number;
    lastModifiedDate: string;
    score           : number;
    status          : 'UNFILLED' | 'FILLED';
}
export interface Appointment {
  age                : string;
  agentNo            : string;
  appointmentDate    : string;
  appointmentMemoList: AppointmentMemoInfo[]
  communicateStatus  : string;
  communicateStatus  : ContactStatus;
  consultantReadTime : string;
  consultantViewTime : string;
  contactTime        : string;
@@ -42,6 +44,7 @@
  content      : string;
  id           : number;
}
export interface InterviewRecord {
  appointmentId   : number;
  content         : string;
@@ -54,13 +57,14 @@
}
export interface NoticeLogs {
  id: number,
  phone: string,
  email: string,
  appointmentId: number,
  content: string,
  createdDate: string
  content      : string,
  createdDate  : string
  email        : string,
  id           : number,
  phone        : string,
}
export interface AppointmentWithConsultantInfo extends Appointment {
  consultantAvatar    : string;
  consultantExpertList: string[];
@@ -68,6 +72,7 @@
  contactStatus       : string;
  updateTime          : string;
}
export interface AppointmentParams {
  age            : string;
  agentNo        : string;
@@ -79,6 +84,7 @@
  phone          : string;
  requirement    : string;
}
export interface EditAppointmentParams {
  age             : string;
  contactType     : string;
@@ -91,6 +97,7 @@
  phone           : string;
  requirement     : string;
}
export interface AppointmentRequests {
  age            : string;
  agentNo        : string;
@@ -102,11 +109,11 @@
  phone          : string;
  requirement    : string[];
}
export interface ContactTime {
  selectTimesOptions: string[];
  selectWeekOptions : string[];
}
export interface createdMemoInfo {
  appointmentId: number;
@@ -135,6 +142,16 @@
  remark?          : string;
}
export interface NoticeLogs {
  appointmentId: number;
  content      : string;
  createdDate  : string;
  email        : string;
  id           : number;
  interviewDate: string;
  phone        : string;
}
export interface ToInformAppointment {
  appointmentId: number;
  email        : string;
@@ -152,4 +169,4 @@
export interface UpdateInterviewRecordInfo {
  /** interviewRecord id */
  id: number;
}
}