保誠-保戶業務員媒合平台
Mila
2022-01-04 5e5dd294d6f7b90940ca9e117c4254ab413b4ad8
PAMapp/shared/models/appointment.model.ts
@@ -55,4 +55,53 @@
  customerId       : number;
  name             : string;
}
export interface AppointmentParams {
  phone          : string;
  email          : string;
  contactType    : string;
  gender         : string;
  age            : string;
  job            : string;
  requirement    : string;
  hopeContactTime: string;
  agentNo        : string;
}
export interface EditAppointmentParams {
  id              : number,
  phone           : string,
  email           : string,
  contactType     : string,
  gender          : string,
  age             : string,
  job             : string,
  requirement     : string,
  hopeContactTime : string,
  otherRequirement: null
}
export interface AppointmentRequests {
  phone          : string,
  email          : string,
  contactType    : string,
  gender         : string,
  age            : string,
  job            : string,
  requirement    : string[],
  hopeContactTime: ContactTime[],
  agentNo        : string,
}
export interface ContactTime {
selectWeekOptions : string[],
selectTimesOptions: string[]
}
export interface createdMemoInfo {
  content: string,
  appointmentId: number
}
export interface updatedMemoInfo {
  content: string,
  /** memo id */
  id: number
}