Merge branch 'development' into 'master'
Development See merge request Cloud_Solution/doctor_app_flutter!153merge-requests/157/head
commit
4dedcbad80
@ -1,20 +1,60 @@
|
|||||||
class UserModel {
|
class UserModel {
|
||||||
String UserID;
|
String userID;
|
||||||
String Password;
|
String password;
|
||||||
int ProjectID;
|
int projectID;
|
||||||
int LanguageID;
|
int languageID;
|
||||||
String IPAdress;
|
String iPAdress;
|
||||||
double VersionID;
|
double versionID;
|
||||||
int Channel;
|
int channel;
|
||||||
String SessionID;
|
String sessionID;
|
||||||
|
String tokenID;
|
||||||
|
String stamp;
|
||||||
|
bool isLoginForDoctorApp;
|
||||||
|
int patientOutSA;
|
||||||
|
|
||||||
UserModel(
|
UserModel(
|
||||||
{this.UserID,
|
{this.userID,
|
||||||
this.Password,
|
this.password,
|
||||||
this.ProjectID,
|
this.projectID,
|
||||||
this.LanguageID,
|
this.languageID,
|
||||||
this.IPAdress,
|
this.iPAdress,
|
||||||
this.VersionID,
|
this.versionID,
|
||||||
this.Channel,
|
this.channel,
|
||||||
this.SessionID});
|
this.sessionID,
|
||||||
|
this.tokenID,
|
||||||
|
this.stamp,
|
||||||
|
this.isLoginForDoctorApp,
|
||||||
|
this.patientOutSA});
|
||||||
|
|
||||||
|
UserModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
userID = json['UserID'];
|
||||||
|
password = json['Password'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
languageID = json['LanguageID'];
|
||||||
|
iPAdress = json['IPAdress'];
|
||||||
|
versionID = json['VersionID'];
|
||||||
|
channel = json['Channel'];
|
||||||
|
sessionID = json['SessionID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
stamp = json['stamp'];
|
||||||
|
isLoginForDoctorApp = json['IsLoginForDoctorApp'];
|
||||||
|
patientOutSA = json['PatientOutSA'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['UserID'] = this.userID;
|
||||||
|
data['Password'] = this.password;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['LanguageID'] = this.languageID;
|
||||||
|
data['IPAdress'] = this.iPAdress;
|
||||||
|
data['VersionID'] = this.versionID;
|
||||||
|
data['Channel'] = this.channel;
|
||||||
|
data['SessionID'] = this.sessionID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['stamp'] = this.stamp;
|
||||||
|
data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
|
||||||
|
data['PatientOutSA'] = this.patientOutSA;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue