Merge branch 'vaccine' into 'master'
edit on vaccine service See merge request Cloud_Solution/diplomatic-quarter!42find_us
commit
fcc3a67ffb
@ -1,91 +1,152 @@
|
||||
class VaccineModel {
|
||||
String to;
|
||||
String from;
|
||||
double versionID;
|
||||
int channel;
|
||||
int languageID;
|
||||
String iPAdress;
|
||||
String generalid;
|
||||
int patientOutSA;
|
||||
String sessionID;
|
||||
bool isDentalAllowedBackend;
|
||||
int deviceTypeID;
|
||||
String setupID;
|
||||
int projectID;
|
||||
int patientID;
|
||||
String tokenID;
|
||||
int patientTypeID;
|
||||
int patientType;
|
||||
int invoiceNo;
|
||||
String procedureID;
|
||||
String vaccineName;
|
||||
Null vaccineNameN;
|
||||
String invoiceDate;
|
||||
int doctorID;
|
||||
int clinicID;
|
||||
String firstName;
|
||||
String middleName;
|
||||
String lastName;
|
||||
Null firstNameN;
|
||||
Null middleNameN;
|
||||
Null lastNameN;
|
||||
String dateofBirth;
|
||||
int actualDoctorRate;
|
||||
String age;
|
||||
String clinicName;
|
||||
String doctorImageURL;
|
||||
String doctorName;
|
||||
int doctorRate;
|
||||
String doctorTitle;
|
||||
int gender;
|
||||
String genderDescription;
|
||||
bool isActiveDoctorProfile;
|
||||
bool isDoctorAllowVedioCall;
|
||||
bool isExecludeDoctor;
|
||||
int noOfPatientsRate;
|
||||
String patientName;
|
||||
String projectName;
|
||||
String vaccineName;
|
||||
String qR;
|
||||
List<String> speciality;
|
||||
String vaccinationDate;
|
||||
|
||||
VaccineModel({
|
||||
this.to,
|
||||
this.from,
|
||||
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,
|
||||
this.invoiceDate,
|
||||
this.doctorImageURL,
|
||||
this.doctorName,
|
||||
this.doctorTitle,
|
||||
this.projectName,
|
||||
this.vaccineName,
|
||||
});
|
||||
VaccineModel(
|
||||
{this.setupID,
|
||||
this.projectID,
|
||||
this.patientID,
|
||||
this.invoiceNo,
|
||||
this.procedureID,
|
||||
this.vaccineName,
|
||||
this.vaccineNameN,
|
||||
this.invoiceDate,
|
||||
this.doctorID,
|
||||
this.clinicID,
|
||||
this.firstName,
|
||||
this.middleName,
|
||||
this.lastName,
|
||||
this.firstNameN,
|
||||
this.middleNameN,
|
||||
this.lastNameN,
|
||||
this.dateofBirth,
|
||||
this.actualDoctorRate,
|
||||
this.age,
|
||||
this.clinicName,
|
||||
this.doctorImageURL,
|
||||
this.doctorName,
|
||||
this.doctorRate,
|
||||
this.doctorTitle,
|
||||
this.gender,
|
||||
this.genderDescription,
|
||||
this.isActiveDoctorProfile,
|
||||
this.isDoctorAllowVedioCall,
|
||||
this.isExecludeDoctor,
|
||||
this.noOfPatientsRate,
|
||||
this.patientName,
|
||||
this.projectName,
|
||||
this.qR,
|
||||
this.speciality,
|
||||
this.vaccinationDate});
|
||||
|
||||
VaccineModel.fromJson(Map<String, dynamic> json) {
|
||||
setupID = json['SetupID'];
|
||||
projectID = json['ProjectID'];
|
||||
patientID = json['PatientID'];
|
||||
invoiceNo = json['InvoiceNo'];
|
||||
procedureID = json['ProcedureID'];
|
||||
vaccineName = json['VaccineName'];
|
||||
projectName = json['ProjectName'];
|
||||
doctorTitle = json['DoctorTitle'];
|
||||
doctorName = json['DoctorName'];
|
||||
doctorImageURL = json['DoctorImageURL'];
|
||||
vaccineNameN = json['VaccineNameN'];
|
||||
invoiceDate = json['InvoiceDate'];
|
||||
to = json['To'];
|
||||
from = json['From'];
|
||||
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'];
|
||||
doctorID = json['DoctorID'];
|
||||
clinicID = json['ClinicID'];
|
||||
firstName = json['FirstName'];
|
||||
middleName = json['MiddleName'];
|
||||
lastName = json['LastName'];
|
||||
firstNameN = json['FirstNameN'];
|
||||
middleNameN = json['MiddleNameN'];
|
||||
lastNameN = json['LastNameN'];
|
||||
dateofBirth = json['DateofBirth'];
|
||||
actualDoctorRate = json['ActualDoctorRate'];
|
||||
age = json['Age'];
|
||||
clinicName = json['ClinicName'];
|
||||
doctorImageURL = json['DoctorImageURL'];
|
||||
doctorName = json['DoctorName'];
|
||||
doctorRate = json['DoctorRate'];
|
||||
doctorTitle = json['DoctorTitle'];
|
||||
gender = json['Gender'];
|
||||
genderDescription = json['GenderDescription'];
|
||||
isActiveDoctorProfile = json['IsActiveDoctorProfile'];
|
||||
isDoctorAllowVedioCall = json['IsDoctorAllowVedioCall'];
|
||||
isExecludeDoctor = json['IsExecludeDoctor'];
|
||||
noOfPatientsRate = json['NoOfPatientsRate'];
|
||||
patientName = json['PatientName'];
|
||||
projectName = json['ProjectName'];
|
||||
qR = json['QR'];
|
||||
speciality = json['Speciality'].cast<String>();
|
||||
vaccinationDate = json['VaccinationDate'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['To'] = this.to;
|
||||
data['From'] = this.from;
|
||||
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['SetupID'] = this.setupID;
|
||||
data['ProjectID'] = this.projectID;
|
||||
data['PatientID'] = this.patientID;
|
||||
data['TokenID'] = this.tokenID;
|
||||
data['PatientTypeID'] = this.patientTypeID;
|
||||
data['PatientType'] = this.patientType;
|
||||
data['InvoiceNo'] = this.invoiceNo;
|
||||
data['ProcedureID'] = this.procedureID;
|
||||
data['VaccineName'] = this.vaccineName;
|
||||
data['VaccineNameN'] = this.vaccineNameN;
|
||||
data['InvoiceDate'] = this.invoiceDate;
|
||||
data['DoctorID'] = this.doctorID;
|
||||
data['ClinicID'] = this.clinicID;
|
||||
data['FirstName'] = this.firstName;
|
||||
data['MiddleName'] = this.middleName;
|
||||
data['LastName'] = this.lastName;
|
||||
data['FirstNameN'] = this.firstNameN;
|
||||
data['MiddleNameN'] = this.middleNameN;
|
||||
data['LastNameN'] = this.lastNameN;
|
||||
data['DateofBirth'] = this.dateofBirth;
|
||||
data['ActualDoctorRate'] = this.actualDoctorRate;
|
||||
data['Age'] = this.age;
|
||||
data['ClinicName'] = this.clinicName;
|
||||
data['DoctorImageURL'] = this.doctorImageURL;
|
||||
data['DoctorName'] = this.doctorName;
|
||||
data['DoctorRate'] = this.doctorRate;
|
||||
data['DoctorTitle'] = this.doctorTitle;
|
||||
data['Gender'] = this.gender;
|
||||
data['GenderDescription'] = this.genderDescription;
|
||||
data['IsActiveDoctorProfile'] = this.isActiveDoctorProfile;
|
||||
data['IsDoctorAllowVedioCall'] = this.isDoctorAllowVedioCall;
|
||||
data['IsExecludeDoctor'] = this.isExecludeDoctor;
|
||||
data['NoOfPatientsRate'] = this.noOfPatientsRate;
|
||||
data['PatientName'] = this.patientName;
|
||||
data['ProjectName'] = this.projectName;
|
||||
data['QR'] = this.qR;
|
||||
data['Speciality'] = this.speciality;
|
||||
data['VaccinationDate'] = this.vaccinationDate;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue