class ListDoctorsClinicModel {
  ListDoctorsClinicModel({
    this.setupId,
    this.projectId,
    this.doctorId,
    this.clinicId,
    this.isActive,
    this.clinicName,
  });

  final dynamic setupId;
  final int? projectId;
  final int? doctorId;
  final int? clinicId;
  final bool? isActive;
  final String? clinicName;

  factory ListDoctorsClinicModel.fromJson(Map<String, dynamic> json) => ListDoctorsClinicModel(
        setupId: json["SetupID"],
        projectId: json["ProjectID"] == null ? null : json["ProjectID"],
        doctorId: json["DoctorID"] == null ? null : json["DoctorID"],
        clinicId: json["ClinicID"] == null ? null : json["ClinicID"],
        isActive: json["IsActive"] == null ? null : json["IsActive"],
        clinicName: json["ClinicName"] == null ? null : json["ClinicName"],
      );

  Map<String, dynamic> toJson() => {
        "SetupID": setupId,
        "ProjectID": projectId == null ? null : projectId,
        "DoctorID": doctorId == null ? null : doctorId,
        "ClinicID": clinicId == null ? null : clinicId,
        "IsActive": isActive == null ? null : isActive,
        "ClinicName": clinicName == null ? null : clinicName,
      };
}
