meical report changes
parent
9e80a1879e
commit
deb126fdd5
@ -0,0 +1,60 @@
|
|||||||
|
class MedicalReportTemplate {
|
||||||
|
String setupID;
|
||||||
|
int projectID;
|
||||||
|
int templateID;
|
||||||
|
String procedureID;
|
||||||
|
int reportType;
|
||||||
|
String templateName;
|
||||||
|
String templateNameN;
|
||||||
|
String templateText;
|
||||||
|
String templateTextN;
|
||||||
|
bool isActive;
|
||||||
|
String templateTextHtml;
|
||||||
|
String templateTextNHtml;
|
||||||
|
|
||||||
|
MedicalReportTemplate(
|
||||||
|
{this.setupID,
|
||||||
|
this.projectID,
|
||||||
|
this.templateID,
|
||||||
|
this.procedureID,
|
||||||
|
this.reportType,
|
||||||
|
this.templateName,
|
||||||
|
this.templateNameN,
|
||||||
|
this.templateText,
|
||||||
|
this.templateTextN,
|
||||||
|
this.isActive,
|
||||||
|
this.templateTextHtml,
|
||||||
|
this.templateTextNHtml});
|
||||||
|
|
||||||
|
MedicalReportTemplate.fromJson(Map<String, dynamic> json) {
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
templateID = json['TemplateID'];
|
||||||
|
procedureID = json['ProcedureID'];
|
||||||
|
reportType = json['ReportType'];
|
||||||
|
templateName = json['TemplateName'];
|
||||||
|
templateNameN = json['TemplateNameN'];
|
||||||
|
templateText = json['TemplateText'];
|
||||||
|
templateTextN = json['TemplateTextN'];
|
||||||
|
isActive = json['IsActive'];
|
||||||
|
templateTextHtml = json['TemplateTextHtml'];
|
||||||
|
templateTextNHtml = json['TemplateTextNHtml'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['TemplateID'] = this.templateID;
|
||||||
|
data['ProcedureID'] = this.procedureID;
|
||||||
|
data['ReportType'] = this.reportType;
|
||||||
|
data['TemplateName'] = this.templateName;
|
||||||
|
data['TemplateNameN'] = this.templateNameN;
|
||||||
|
data['TemplateText'] = this.templateText;
|
||||||
|
data['TemplateTextN'] = this.templateTextN;
|
||||||
|
data['IsActive'] = this.isActive;
|
||||||
|
data['TemplateTextHtml'] = this.templateTextHtml;
|
||||||
|
data['TemplateTextNHtml'] = this.templateTextNHtml;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue