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.
RSGDoctorApp/lib/models/patient/MedicalReport/MedicalReportTemplate.dart

61 lines
1.8 KiB
Dart

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;
}
}