class ProcedureTempleteDetailsModel {
  String? setupID;
  int? projectID;
  int? clinicID;
  int? doctorID;
  int? templateID;
  String? templateName;
  String? procedureID;
  bool? isActive;
  int? createdBy;
  String? createdOn;
  dynamic editedBy;
  dynamic editedOn;
  String? procedureName;
  String? procedureNameN;
  String? alias;
  String? aliasN;
  String? categoryID;
  String? subGroupID;
  String? categoryDescription;
  String? categoryDescriptionN;
  String? categoryAlias;
  dynamic riskCategoryID;
  String? type = "1";
  String? remarks;
  int? selectedType = 0;

  ProcedureTempleteDetailsModel(
      {this.setupID,
      this.projectID,
      this.clinicID,
      this.doctorID,
      this.templateID,
      this.procedureID,
      this.isActive,
      this.createdBy,
      this.createdOn,
      this.editedBy,
      this.editedOn,
      this.procedureName,
      this.procedureNameN,
      this.alias,
      this.aliasN,
      this.categoryID,
      this.subGroupID,
      this.riskCategoryID,
      this.templateName,
      this.categoryDescription,
      this.categoryDescriptionN,
      this.categoryAlias,
      this.remarks,
      this.type = "1",
      this.selectedType = 0});

  ProcedureTempleteDetailsModel.fromJson(Map<String, dynamic> json) {
    setupID = json['SetupID'];
    projectID = json['ProjectID'];
    clinicID = json['ClinicID'];
    doctorID = json['DoctorID'];
    templateID = json['TemplateID'];
    procedureID = json['ProcedureID'];
    isActive = json['IsActive'];
    createdBy = json['CreatedBy'];
    createdOn = json['CreatedOn'];
    editedBy = json['EditedBy'];
    editedOn = json['EditedOn'];
    procedureName = json['ProcedureName'];
    procedureNameN = json['ProcedureNameN'];
    alias = json['Alias'];
    aliasN = json['AliasN'];
    categoryID = json['CategoryID'];
    subGroupID = json['SubGroupID'];
    riskCategoryID = json['RiskCategoryID'];
    templateName = json['TemplateName'];
    categoryDescription = json['CategoryDescription'];
    categoryDescriptionN = json['CategoryDescriptionN'];
    categoryAlias = json['CategoryAlias'];
  }

  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['ProcedureID'] = this.procedureID;
    data['IsActive'] = this.isActive;
    data['CreatedBy'] = this.createdBy;
    data['CreatedOn'] = this.createdOn;
    data['EditedBy'] = this.editedBy;
    data['EditedOn'] = this.editedOn;
    data['ProcedureName'] = this.procedureName;
    data['ProcedureNameN'] = this.procedureNameN;
    data['Alias'] = this.alias;
    data['AliasN'] = this.aliasN;
    data['CategoryID'] = this.categoryID;
    data['SubGroupID'] = this.subGroupID;
    data['RiskCategoryID'] = this.riskCategoryID;
    data['TemplateName'] = this.templateName;
    data['CategoryDescription'] = this.categoryDescription;
    data['CategoryDescriptionN'] = this.categoryDescriptionN;
    data['CategoryAlias'] = this.categoryAlias;
    return data;
  }
}

class ProcedureTempleteDetailsModelList {
  List<ProcedureTempleteDetailsModel> procedureTemplate = [];
  String? templateName;
  int? templateId;

  ProcedureTempleteDetailsModelList(
      {this.templateName,
      this.templateId,
      ProcedureTempleteDetailsModel? template}) {
    procedureTemplate.add(template!);
  }
}
