You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.9 KiB
Dart
69 lines
1.9 KiB
Dart
class RequestPrescriptionReport {
|
|
int projectID;
|
|
int appointmentNo;
|
|
int episodeID;
|
|
String setupID;
|
|
int patientTypeID;
|
|
int languageID;
|
|
String stamp;
|
|
String iPAdress;
|
|
double versionID;
|
|
int channel;
|
|
String tokenID;
|
|
String sessionID;
|
|
bool isLoginForDoctorApp;
|
|
bool patientOutSA;
|
|
|
|
RequestPrescriptionReport(
|
|
{this.projectID,
|
|
this.appointmentNo,
|
|
this.episodeID,
|
|
this.setupID,
|
|
this.patientTypeID,
|
|
this.languageID,
|
|
this.stamp,
|
|
this.iPAdress,
|
|
this.versionID,
|
|
this.channel,
|
|
this.tokenID,
|
|
this.sessionID,
|
|
this.isLoginForDoctorApp,
|
|
this.patientOutSA});
|
|
|
|
RequestPrescriptionReport.fromJson(Map<String, dynamic> json) {
|
|
projectID = json['ProjectID'];
|
|
appointmentNo = json['AppointmentNo'];
|
|
episodeID = json['EpisodeID'];
|
|
setupID = json['SetupID'];
|
|
patientTypeID = json['PatientTypeID'];
|
|
languageID = json['LanguageID'];
|
|
stamp = json['stamp'];
|
|
iPAdress = json['IPAdress'];
|
|
versionID = json['VersionID'];
|
|
channel = json['Channel'];
|
|
tokenID = json['TokenID'];
|
|
sessionID = json['SessionID'];
|
|
isLoginForDoctorApp = json['IsLoginForDoctorApp'];
|
|
patientOutSA = json['PatientOutSA'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['ProjectID'] = this.projectID;
|
|
data['AppointmentNo'] = this.appointmentNo;
|
|
data['EpisodeID'] = this.episodeID;
|
|
data['SetupID'] = this.setupID;
|
|
data['PatientTypeID'] = this.patientTypeID;
|
|
data['LanguageID'] = this.languageID;
|
|
data['stamp'] = this.stamp;
|
|
data['IPAdress'] = this.iPAdress;
|
|
data['VersionID'] = this.versionID;
|
|
data['Channel'] = this.channel;
|
|
data['TokenID'] = this.tokenID;
|
|
data['SessionID'] = this.sessionID;
|
|
data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
|
|
data['PatientOutSA'] = this.patientOutSA;
|
|
return data;
|
|
}
|
|
}
|