class AppointmentDetails {
  String setupID;
  int projectID;
  int patientID;
  int appointmentNo;
  int clinicID;
  int doctorID;
  String startTime;
  String endTime;
  String appointmentDate;
  String clinicName;
  String doctorImageURL;
  String doctorName;
  String projectName;

  AppointmentDetails(
      {this.setupID,
        this.projectID,
        this.patientID,
        this.appointmentNo,
        this.clinicID,
        this.doctorID,
        this.startTime,
        this.endTime,
        this.appointmentDate,
        this.clinicName,
        this.doctorImageURL,
        this.doctorName,
        this.projectName});

  AppointmentDetails.fromJson(Map<String, dynamic> json) {
    setupID = json['SetupID'];
    projectID = json['ProjectID'];
    patientID = json['PatientID'];
    appointmentNo = json['AppointmentNo'];
    clinicID = json['ClinicID'];
    doctorID = json['DoctorID'];
    startTime = json['StartTime'];
    endTime = json['EndTime'];
    appointmentDate = json['AppointmentDate'];
    clinicName = json['ClinicName'];
    doctorImageURL = json['DoctorImageURL'];
    doctorName = json['DoctorName'];
    projectName = json['ProjectName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['SetupID'] = this.setupID;
    data['ProjectID'] = this.projectID;
    data['PatientID'] = this.patientID;
    data['AppointmentNo'] = this.appointmentNo;
    data['ClinicID'] = this.clinicID;
    data['DoctorID'] = this.doctorID;
    data['StartTime'] = this.startTime;
    data['EndTime'] = this.endTime;
    data['AppointmentDate'] = this.appointmentDate;
    data['ClinicName'] = this.clinicName;
    data['DoctorImageURL'] = this.doctorImageURL;
    data['DoctorName'] = this.doctorName;
    data['ProjectName'] = this.projectName;
    return data;
  }
}
