|
|
|
/*
|
|
|
|
*@author: Ibrahim Albitar
|
|
|
|
*@Date:27/4/2020
|
|
|
|
*@param:
|
|
|
|
*@return:
|
|
|
|
*@desc:
|
|
|
|
*/
|
|
|
|
class PharmaciesItemsRequestModel {
|
|
|
|
String phrItemName;
|
|
|
|
int languageID;
|
|
|
|
String stamp;
|
|
|
|
String ipAdress;
|
|
|
|
double versionID;
|
|
|
|
String tokenID;
|
|
|
|
String sessionID;
|
|
|
|
bool isLoginForDoctorApp;
|
|
|
|
bool patientOutSA;
|
|
|
|
int patientTypeID;
|
|
|
|
|
|
|
|
PharmaciesItemsRequestModel(
|
|
|
|
{this.phrItemName = '',
|
|
|
|
this.patientTypeID = 1,
|
|
|
|
this.languageID = 2,
|
|
|
|
this.stamp = '2020-04-23T21:01:21.492Z',
|
|
|
|
this.ipAdress = '11.11.11.11',
|
|
|
|
this.versionID = 1.2,
|
|
|
|
this.tokenID = '@dm!n',
|
|
|
|
this.sessionID = 'e29zoooEJ4',
|
|
|
|
this.isLoginForDoctorApp = true,
|
|
|
|
this.patientOutSA = false});
|
|
|
|
|
|
|
|
PharmaciesItemsRequestModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
phrItemName = json['PHR_itemName'];
|
|
|
|
patientTypeID = json['PatientTypeID'];
|
|
|
|
languageID = json['LanguageID'];
|
|
|
|
stamp = json['stamp'];
|
|
|
|
ipAdress = json['IPAdress'];
|
|
|
|
versionID = json['VersionID'];
|
|
|
|
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['PHR_itemName'] = this.phrItemName;
|
|
|
|
data['PatientTypeID'] = this.patientTypeID;
|
|
|
|
data['LanguageID'] = this.languageID;
|
|
|
|
data['stamp'] = this.stamp;
|
|
|
|
data['IPAdress'] = this.ipAdress;
|
|
|
|
data['VersionID'] = this.versionID;
|
|
|
|
data['TokenID'] = this.tokenID;
|
|
|
|
data['SessionID'] = this.sessionID;
|
|
|
|
data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
|
|
|
|
data['PatientOutSA'] = this.patientOutSA;
|
|
|
|
return data;
|
|
|
|
}
|
|
|
|
}
|