| | |
| | | import { Appointment } from "./appointment.model"; |
| | | |
| | | export interface Consultant { |
| | | agentNo : string; |
| | | name : string; |
| | |
| | | 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; |
| | | } |
| | | |