class AppointmentRate { int rate; int appointmentNo; int projectID; int doctorID; int clinicID; String note; String mobileNumber; int createdBy; int editedBy; double versionID; int channel; int languageID; String iPAdress; String generalid; int patientOutSA; String sessionID; bool isDentalAllowedBackend; int deviceTypeID; int patientID; String tokenID; int patientTypeID; int patientType; AppointmentRate( {this.rate, this.appointmentNo, this.projectID, this.doctorID, this.clinicID, this.note, this.mobileNumber, this.createdBy, this.editedBy, this.versionID, this.channel, this.languageID, this.iPAdress, this.generalid, this.patientOutSA, this.sessionID, this.isDentalAllowedBackend, this.deviceTypeID, this.patientID, this.tokenID, this.patientTypeID, this.patientType}); AppointmentRate.fromJson(Map json) { rate = json['Rate']; appointmentNo = json['AppointmentNo']; projectID = json['ProjectID']; doctorID = json['DoctorID']; clinicID = json['ClinicID']; note = json['Note']; mobileNumber = json['MobileNumber']; createdBy = json['CreatedBy']; editedBy = json['EditedBy']; versionID = json['VersionID']; channel = json['Channel']; languageID = json['LanguageID']; iPAdress = json['IPAdress']; generalid = json['generalid']; patientOutSA = json['PatientOutSA']; sessionID = json['SessionID']; isDentalAllowedBackend = json['isDentalAllowedBackend']; deviceTypeID = json['DeviceTypeID']; patientID = json['PatientID']; tokenID = json['TokenID']; patientTypeID = json['PatientTypeID']; patientType = json['PatientType']; } Map toJson() { final Map data = new Map(); data['Rate'] = this.rate; data['AppointmentNo'] = this.appointmentNo; data['ProjectID'] = this.projectID; data['DoctorID'] = this.doctorID; data['ClinicID'] = this.clinicID; data['Note'] = this.note; data['MobileNumber'] = this.mobileNumber; data['CreatedBy'] = this.createdBy; data['EditedBy'] = this.editedBy; data['VersionID'] = this.versionID; data['Channel'] = this.channel; data['LanguageID'] = this.languageID; data['IPAdress'] = this.iPAdress; data['generalid'] = this.generalid; data['PatientOutSA'] = this.patientOutSA; data['SessionID'] = this.sessionID; data['isDentalAllowedBackend'] = this.isDentalAllowedBackend; data['DeviceTypeID'] = this.deviceTypeID; data['PatientID'] = this.patientID; data['TokenID'] = this.tokenID; data['PatientTypeID'] = this.patientTypeID; data['PatientType'] = this.patientType; return data; } }