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.
61 lines
1.7 KiB
Dart
61 lines
1.7 KiB
Dart
class RequestDoctorReply {
|
|
int projectID;
|
|
int doctorID;
|
|
int transactionNo;
|
|
int languageID;
|
|
String stamp;
|
|
String iPAdress;
|
|
double versionID;
|
|
int channel;
|
|
String tokenID;
|
|
String sessionID;
|
|
bool isLoginForDoctorApp;
|
|
bool patientOutSA;
|
|
|
|
RequestDoctorReply(
|
|
{this.projectID = 15,
|
|
this.doctorID = 70907,
|
|
this.transactionNo = 0,
|
|
this.languageID = 2,
|
|
this.stamp = '2020-04-27T12:17:17.721Z',
|
|
this.iPAdress = '11.11.11.11',
|
|
this.versionID = 1.2,
|
|
this.channel = 9,
|
|
this.tokenID = '@dm!n',
|
|
this.sessionID = '2Z7FX4Lokp',
|
|
this.isLoginForDoctorApp = true,
|
|
this.patientOutSA = false});
|
|
|
|
RequestDoctorReply.fromJson(Map<String, dynamic> json) {
|
|
projectID = json['ProjectID'];
|
|
doctorID = json['DoctorID'];
|
|
transactionNo = json['TransactionNo'];
|
|
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['DoctorID'] = this.doctorID;
|
|
data['TransactionNo'] = this.transactionNo;
|
|
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;
|
|
}
|
|
}
|