Procedure template service
parent
b0923779b7
commit
6b6243232c
@ -0,0 +1,120 @@
|
||||
class ProcedureTempleteRequestModel {
|
||||
int doctorID;
|
||||
String firstName;
|
||||
String middleName;
|
||||
String lastName;
|
||||
String patientMobileNumber;
|
||||
String patientIdentificationID;
|
||||
int patientID;
|
||||
String from;
|
||||
String to;
|
||||
int searchType;
|
||||
String mobileNo;
|
||||
String identificationNo;
|
||||
int editedBy;
|
||||
int projectID;
|
||||
int clinicID;
|
||||
String tokenID;
|
||||
int languageID;
|
||||
String stamp;
|
||||
String iPAdress;
|
||||
double versionID;
|
||||
int channel;
|
||||
String sessionID;
|
||||
bool isLoginForDoctorApp;
|
||||
bool patientOutSA;
|
||||
String vidaAuthTokenID;
|
||||
String vidaRefreshTokenID;
|
||||
int deviceTypeID;
|
||||
|
||||
ProcedureTempleteRequestModel(
|
||||
{this.doctorID,
|
||||
this.firstName,
|
||||
this.middleName,
|
||||
this.lastName,
|
||||
this.patientMobileNumber,
|
||||
this.patientIdentificationID,
|
||||
this.patientID,
|
||||
this.from,
|
||||
this.to,
|
||||
this.searchType,
|
||||
this.mobileNo,
|
||||
this.identificationNo,
|
||||
this.editedBy,
|
||||
this.projectID,
|
||||
this.clinicID,
|
||||
this.tokenID,
|
||||
this.languageID,
|
||||
this.stamp,
|
||||
this.iPAdress,
|
||||
this.versionID,
|
||||
this.channel,
|
||||
this.sessionID,
|
||||
this.isLoginForDoctorApp,
|
||||
this.patientOutSA,
|
||||
this.vidaAuthTokenID,
|
||||
this.vidaRefreshTokenID,
|
||||
this.deviceTypeID});
|
||||
|
||||
ProcedureTempleteRequestModel.fromJson(Map<String, dynamic> json) {
|
||||
doctorID = json['DoctorID'];
|
||||
firstName = json['FirstName'];
|
||||
middleName = json['MiddleName'];
|
||||
lastName = json['LastName'];
|
||||
patientMobileNumber = json['PatientMobileNumber'];
|
||||
patientIdentificationID = json['PatientIdentificationID'];
|
||||
patientID = json['PatientID'];
|
||||
from = json['From'];
|
||||
to = json['To'];
|
||||
searchType = json['SearchType'];
|
||||
mobileNo = json['MobileNo'];
|
||||
identificationNo = json['IdentificationNo'];
|
||||
editedBy = json['EditedBy'];
|
||||
projectID = json['ProjectID'];
|
||||
clinicID = json['ClinicID'];
|
||||
tokenID = json['TokenID'];
|
||||
languageID = json['LanguageID'];
|
||||
stamp = json['stamp'];
|
||||
iPAdress = json['IPAdress'];
|
||||
versionID = json['VersionID'];
|
||||
channel = json['Channel'];
|
||||
sessionID = json['SessionID'];
|
||||
isLoginForDoctorApp = json['IsLoginForDoctorApp'];
|
||||
patientOutSA = json['PatientOutSA'];
|
||||
vidaAuthTokenID = json['VidaAuthTokenID'];
|
||||
vidaRefreshTokenID = json['VidaRefreshTokenID'];
|
||||
deviceTypeID = json['DeviceTypeID'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['DoctorID'] = this.doctorID;
|
||||
data['FirstName'] = this.firstName;
|
||||
data['MiddleName'] = this.middleName;
|
||||
data['LastName'] = this.lastName;
|
||||
data['PatientMobileNumber'] = this.patientMobileNumber;
|
||||
data['PatientIdentificationID'] = this.patientIdentificationID;
|
||||
data['PatientID'] = this.patientID;
|
||||
data['From'] = this.from;
|
||||
data['To'] = this.to;
|
||||
data['SearchType'] = this.searchType;
|
||||
data['MobileNo'] = this.mobileNo;
|
||||
data['IdentificationNo'] = this.identificationNo;
|
||||
data['EditedBy'] = this.editedBy;
|
||||
data['ProjectID'] = this.projectID;
|
||||
data['ClinicID'] = this.clinicID;
|
||||
data['TokenID'] = this.tokenID;
|
||||
data['LanguageID'] = this.languageID;
|
||||
data['stamp'] = this.stamp;
|
||||
data['IPAdress'] = this.iPAdress;
|
||||
data['VersionID'] = this.versionID;
|
||||
data['Channel'] = this.channel;
|
||||
data['SessionID'] = this.sessionID;
|
||||
data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
|
||||
data['PatientOutSA'] = this.patientOutSA;
|
||||
data['VidaAuthTokenID'] = this.vidaAuthTokenID;
|
||||
data['VidaRefreshTokenID'] = this.vidaRefreshTokenID;
|
||||
data['DeviceTypeID'] = this.deviceTypeID;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,56 @@
|
||||
class ProcedureTempleteModel {
|
||||
String setupID;
|
||||
int projectID;
|
||||
int clinicID;
|
||||
int doctorID;
|
||||
int templateID;
|
||||
String templateName;
|
||||
bool isActive;
|
||||
int createdBy;
|
||||
String createdOn;
|
||||
dynamic editedBy;
|
||||
dynamic editedOn;
|
||||
|
||||
ProcedureTempleteModel(
|
||||
{this.setupID,
|
||||
this.projectID,
|
||||
this.clinicID,
|
||||
this.doctorID,
|
||||
this.templateID,
|
||||
this.templateName,
|
||||
this.isActive,
|
||||
this.createdBy,
|
||||
this.createdOn,
|
||||
this.editedBy,
|
||||
this.editedOn});
|
||||
|
||||
ProcedureTempleteModel.fromJson(Map<String, dynamic> json) {
|
||||
setupID = json['SetupID'];
|
||||
projectID = json['ProjectID'];
|
||||
clinicID = json['ClinicID'];
|
||||
doctorID = json['DoctorID'];
|
||||
templateID = json['TemplateID'];
|
||||
templateName = json['TemplateName'];
|
||||
isActive = json['IsActive'];
|
||||
createdBy = json['CreatedBy'];
|
||||
createdOn = json['CreatedOn'];
|
||||
editedBy = json['EditedBy'];
|
||||
editedOn = json['EditedOn'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['SetupID'] = this.setupID;
|
||||
data['ProjectID'] = this.projectID;
|
||||
data['ClinicID'] = this.clinicID;
|
||||
data['DoctorID'] = this.doctorID;
|
||||
data['TemplateID'] = this.templateID;
|
||||
data['TemplateName'] = this.templateName;
|
||||
data['IsActive'] = this.isActive;
|
||||
data['CreatedBy'] = this.createdBy;
|
||||
data['CreatedOn'] = this.createdOn;
|
||||
data['EditedBy'] = this.editedBy;
|
||||
data['EditedOn'] = this.editedOn;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue