47 lines
1.2 KiB
TypeScript
47 lines
1.2 KiB
TypeScript
import type { Gender } from '../../global-enum/gender.enum';
|
|
import type { appointmentStatus } from '../../global-enum/appointment-status.enum';
|
|
import type { visitType } from '../../global-enum/visit-type.enum';
|
|
import type { paymentStatus } from '../../global-enum/payment-status.enum';
|
|
import type { DoctorDto } from '../../doctors/dto/models';
|
|
|
|
export interface AppointmentDto {
|
|
id?: string;
|
|
firstName?: string;
|
|
lastName?: string;
|
|
gender: Gender;
|
|
mobile?: string;
|
|
address?: string;
|
|
email?: string;
|
|
dob?: string;
|
|
doctorId?: string;
|
|
dateOfAppointment?: string;
|
|
timeOfAppointment?: string;
|
|
injuryORContion?: string;
|
|
note?: string;
|
|
insuranceProvider?: string;
|
|
appointmentStatus: appointmentStatus;
|
|
visitType: visitType;
|
|
paymentStatus: paymentStatus;
|
|
doctor: DoctorDto;
|
|
}
|
|
|
|
export interface CreateOrUpdateAppointmentDto {
|
|
id?: string;
|
|
firstName?: string;
|
|
lastName?: string;
|
|
gender: Gender;
|
|
mobile?: string;
|
|
address?: string;
|
|
email?: string;
|
|
dob?: string;
|
|
doctorId?: string;
|
|
dateOfAppointment?: string;
|
|
timeOfAppointment?: string;
|
|
injuryORContion?: string;
|
|
note?: string;
|
|
insuranceProvider?: string;
|
|
appointmentStatus: appointmentStatus;
|
|
visitType: visitType;
|
|
paymentStatus: paymentStatus;
|
|
}
|