// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'massnahme.dart';

// **************************************************************************
// _IsarCollectionGenerator
// **************************************************************************

// coverage:ignore-file
// ignore_for_file: duplicate_ignore, invalid_use_of_protected_member, lines_longer_than_80_chars, constant_identifier_names, avoid_js_rounded_ints, no_leading_underscores_for_local_identifiers, require_trailing_commas, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_in_if_null_operators, library_private_types_in_public_api, prefer_const_constructors
// ignore_for_file: type=lint

extension GetMassnahmeCollection on Isar {
  IsarCollection<int, Massnahme> get massnahmes => this.collection();
}

const MassnahmeSchema = IsarGeneratedSchema(
  schema: IsarSchema(
    name: 'Massnahme',
    idName: 'id',
    embedded: false,
    properties: [
      IsarPropertySchema(
        name: 'orderString',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'name',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'factsheetAreaType',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'examples',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'factsheetDefinition',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'factsheetTarget',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'scientificBackgroundRedundant',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'factsheetScientificBackground',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'sources',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'timeFrame',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'attachmentReminder',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'attachmentWorkSteps',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'factsheetLocation',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'factsheetSizeArea',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'redundantAllowance',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'moneyAction',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'timeAction',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'serviceProvider',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'attachmentTip',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'timeMaintenance',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'workMaintenance',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'frequencyMaintenance',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'specialsMaintenance',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'matchingActions',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'redundantExpertise',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'organismActions',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'actionGroup',
        type: IsarType.object,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'fundingPrograms',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'files',
        type: IsarType.objectList,
        target: 'FilePart',
      ),
      IsarPropertySchema(
        name: 'numberOfAction',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'factsheetStatus',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'requiredLocation',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'business',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'referenceAction',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'attachmentMaterial',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'requiredAllowance',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'requiredTimeForAction',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'costsMaterial',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'expertiseWorker',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'expertiseContact',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'materialAction',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'timeframeActionAdditional',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'maintenanceMaterial',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'sourcesList',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'requirements',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'materialMaintenance',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'timeMaintenanceAdditional',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'combinedActions',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'done',
        type: IsarType.bool,
      ),
      IsarPropertySchema(
        name: 'existingFactSheet',
        type: IsarType.objectList,
        target: 'IdValueMix',
      ),
      IsarPropertySchema(
        name: 'timeframeMaintenance2',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'treeTypes',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'frequencyMaintenanceAdditional',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'specialCreation',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'oekologischeRelevanzBackground',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'remarkablePresets',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'remarkableMaintenance',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'tipsPresets',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'tipsMaintenance',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'goodToKnowAttachment',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'tipsBackground',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'specialBackground',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'sourcesUsedInDataSheet',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
    ],
    indexes: [
      IsarIndexSchema(
        name: 'name',
        properties: [
          "name",
        ],
        unique: false,
        hash: false,
      ),
    ],
  ),
  converter: IsarObjectConverter<int, Massnahme>(
    serialize: serializeMassnahme,
    deserialize: deserializeMassnahme,
    deserializeProperty: deserializeMassnahmeProp,
  ),
  embeddedSchemas: [
    IdValueColorSchema,
    IdValueSchema,
    FilePartSchema,
    ThumbnailsSchema,
    ThumbnailSchema,
    IdValueMixSchema
  ],
);

@isarProtected
int serializeMassnahme(IsarWriter writer, Massnahme object) {
  {
    final value = object.orderString;
    if (value == null) {
      IsarCore.writeNull(writer, 1);
    } else {
      IsarCore.writeString(writer, 1, value);
    }
  }
  {
    final value = object.name;
    if (value == null) {
      IsarCore.writeNull(writer, 2);
    } else {
      IsarCore.writeString(writer, 2, value);
    }
  }
  {
    final list = object.factsheetAreaType;
    if (list == null) {
      IsarCore.writeNull(writer, 3);
    } else {
      final listWriter = IsarCore.beginList(writer, 3, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.examples;
    if (value == null) {
      IsarCore.writeNull(writer, 4);
    } else {
      IsarCore.writeString(writer, 4, value);
    }
  }
  {
    final value = object.factsheetDefinition;
    if (value == null) {
      IsarCore.writeNull(writer, 5);
    } else {
      IsarCore.writeString(writer, 5, value);
    }
  }
  {
    final value = object.factsheetTarget;
    if (value == null) {
      IsarCore.writeNull(writer, 6);
    } else {
      IsarCore.writeString(writer, 6, value);
    }
  }
  {
    final value = object.scientificBackgroundRedundant;
    if (value == null) {
      IsarCore.writeNull(writer, 7);
    } else {
      IsarCore.writeString(writer, 7, value);
    }
  }
  {
    final value = object.factsheetScientificBackground;
    if (value == null) {
      IsarCore.writeNull(writer, 8);
    } else {
      IsarCore.writeString(writer, 8, value);
    }
  }
  {
    final value = object.sources;
    if (value == null) {
      IsarCore.writeNull(writer, 9);
    } else {
      IsarCore.writeString(writer, 9, value);
    }
  }
  {
    final list = object.timeFrame;
    if (list == null) {
      IsarCore.writeNull(writer, 10);
    } else {
      final listWriter = IsarCore.beginList(writer, 10, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.attachmentReminder;
    if (value == null) {
      IsarCore.writeNull(writer, 11);
    } else {
      IsarCore.writeString(writer, 11, value);
    }
  }
  {
    final value = object.attachmentWorkSteps;
    if (value == null) {
      IsarCore.writeNull(writer, 12);
    } else {
      IsarCore.writeString(writer, 12, value);
    }
  }
  {
    final value = object.factsheetLocation;
    if (value == null) {
      IsarCore.writeNull(writer, 13);
    } else {
      IsarCore.writeString(writer, 13, value);
    }
  }
  {
    final value = object.factsheetSizeArea;
    if (value == null) {
      IsarCore.writeNull(writer, 14);
    } else {
      IsarCore.writeString(writer, 14, value);
    }
  }
  {
    final value = object.redundantAllowance;
    if (value == null) {
      IsarCore.writeNull(writer, 15);
    } else {
      IsarCore.writeString(writer, 15, value);
    }
  }
  {
    final value = object.moneyAction;
    if (value == null) {
      IsarCore.writeNull(writer, 16);
    } else {
      IsarCore.writeString(writer, 16, value);
    }
  }
  {
    final value = object.timeAction;
    if (value == null) {
      IsarCore.writeNull(writer, 17);
    } else {
      IsarCore.writeString(writer, 17, value);
    }
  }
  {
    final value = object.serviceProvider;
    if (value == null) {
      IsarCore.writeNull(writer, 18);
    } else {
      IsarCore.writeString(writer, 18, value);
    }
  }
  {
    final value = object.attachmentTip;
    if (value == null) {
      IsarCore.writeNull(writer, 19);
    } else {
      IsarCore.writeString(writer, 19, value);
    }
  }
  {
    final value = object.timeMaintenance;
    if (value == null) {
      IsarCore.writeNull(writer, 20);
    } else {
      IsarCore.writeString(writer, 20, value);
    }
  }
  {
    final value = object.workMaintenance;
    if (value == null) {
      IsarCore.writeNull(writer, 21);
    } else {
      IsarCore.writeString(writer, 21, value);
    }
  }
  {
    final list = object.frequencyMaintenance;
    if (list == null) {
      IsarCore.writeNull(writer, 22);
    } else {
      final listWriter = IsarCore.beginList(writer, 22, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.specialsMaintenance;
    if (value == null) {
      IsarCore.writeNull(writer, 23);
    } else {
      IsarCore.writeString(writer, 23, value);
    }
  }
  {
    final value = object.matchingActions;
    if (value == null) {
      IsarCore.writeNull(writer, 24);
    } else {
      IsarCore.writeString(writer, 24, value);
    }
  }
  {
    final value = object.redundantExpertise;
    if (value == null) {
      IsarCore.writeNull(writer, 25);
    } else {
      IsarCore.writeString(writer, 25, value);
    }
  }
  {
    final list = object.organismActions;
    if (list == null) {
      IsarCore.writeNull(writer, 26);
    } else {
      final listWriter = IsarCore.beginList(writer, 26, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.actionGroup;
    if (value == null) {
      IsarCore.writeNull(writer, 27);
    } else {
      final objectWriter = IsarCore.beginObject(writer, 27);
      serializeIdValueColor(objectWriter, value);
      IsarCore.endObject(writer, objectWriter);
    }
  }
  {
    final list = object.fundingPrograms;
    if (list == null) {
      IsarCore.writeNull(writer, 28);
    } else {
      final listWriter = IsarCore.beginList(writer, 28, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.files;
    if (list == null) {
      IsarCore.writeNull(writer, 29);
    } else {
      final listWriter = IsarCore.beginList(writer, 29, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeFilePart(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.numberOfAction;
    if (list == null) {
      IsarCore.writeNull(writer, 30);
    } else {
      final listWriter = IsarCore.beginList(writer, 30, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.factsheetStatus;
    if (list == null) {
      IsarCore.writeNull(writer, 31);
    } else {
      final listWriter = IsarCore.beginList(writer, 31, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.requiredLocation;
    if (list == null) {
      IsarCore.writeNull(writer, 32);
    } else {
      final listWriter = IsarCore.beginList(writer, 32, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.business;
    if (list == null) {
      IsarCore.writeNull(writer, 33);
    } else {
      final listWriter = IsarCore.beginList(writer, 33, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.referenceAction;
    if (list == null) {
      IsarCore.writeNull(writer, 34);
    } else {
      final listWriter = IsarCore.beginList(writer, 34, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.attachmentMaterial;
    if (list == null) {
      IsarCore.writeNull(writer, 35);
    } else {
      final listWriter = IsarCore.beginList(writer, 35, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.requiredAllowance;
    if (list == null) {
      IsarCore.writeNull(writer, 36);
    } else {
      final listWriter = IsarCore.beginList(writer, 36, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.requiredTimeForAction;
    if (value == null) {
      IsarCore.writeNull(writer, 37);
    } else {
      IsarCore.writeString(writer, 37, value);
    }
  }
  {
    final value = object.costsMaterial;
    if (value == null) {
      IsarCore.writeNull(writer, 38);
    } else {
      IsarCore.writeString(writer, 38, value);
    }
  }
  {
    final list = object.expertiseWorker;
    if (list == null) {
      IsarCore.writeNull(writer, 39);
    } else {
      final listWriter = IsarCore.beginList(writer, 39, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.expertiseContact;
    if (list == null) {
      IsarCore.writeNull(writer, 40);
    } else {
      final listWriter = IsarCore.beginList(writer, 40, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.materialAction;
    if (list == null) {
      IsarCore.writeNull(writer, 41);
    } else {
      final listWriter = IsarCore.beginList(writer, 41, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.timeframeActionAdditional;
    if (value == null) {
      IsarCore.writeNull(writer, 42);
    } else {
      IsarCore.writeString(writer, 42, value);
    }
  }
  {
    final list = object.maintenanceMaterial;
    if (list == null) {
      IsarCore.writeNull(writer, 43);
    } else {
      final listWriter = IsarCore.beginList(writer, 43, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.sourcesList;
    if (list == null) {
      IsarCore.writeNull(writer, 44);
    } else {
      final listWriter = IsarCore.beginList(writer, 44, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.requirements;
    if (value == null) {
      IsarCore.writeNull(writer, 45);
    } else {
      IsarCore.writeString(writer, 45, value);
    }
  }
  {
    final list = object.materialMaintenance;
    if (list == null) {
      IsarCore.writeNull(writer, 46);
    } else {
      final listWriter = IsarCore.beginList(writer, 46, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.timeMaintenanceAdditional;
    if (value == null) {
      IsarCore.writeNull(writer, 47);
    } else {
      IsarCore.writeString(writer, 47, value);
    }
  }
  {
    final list = object.combinedActions;
    if (list == null) {
      IsarCore.writeNull(writer, 48);
    } else {
      final listWriter = IsarCore.beginList(writer, 48, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.done;
    if (value == null) {
      IsarCore.writeNull(writer, 49);
    } else {
      IsarCore.writeBool(writer, 49, value);
    }
  }
  {
    final list = object.existingFactSheet;
    if (list == null) {
      IsarCore.writeNull(writer, 50);
    } else {
      final listWriter = IsarCore.beginList(writer, 50, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueMix(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.timeframeMaintenance2;
    if (list == null) {
      IsarCore.writeNull(writer, 51);
    } else {
      final listWriter = IsarCore.beginList(writer, 51, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.treeTypes;
    if (list == null) {
      IsarCore.writeNull(writer, 52);
    } else {
      final listWriter = IsarCore.beginList(writer, 52, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.frequencyMaintenanceAdditional;
    if (value == null) {
      IsarCore.writeNull(writer, 53);
    } else {
      IsarCore.writeString(writer, 53, value);
    }
  }
  {
    final value = object.specialCreation;
    if (value == null) {
      IsarCore.writeNull(writer, 54);
    } else {
      IsarCore.writeString(writer, 54, value);
    }
  }
  {
    final value = object.oekologischeRelevanzBackground;
    if (value == null) {
      IsarCore.writeNull(writer, 55);
    } else {
      IsarCore.writeString(writer, 55, value);
    }
  }
  {
    final value = object.remarkablePresets;
    if (value == null) {
      IsarCore.writeNull(writer, 56);
    } else {
      IsarCore.writeString(writer, 56, value);
    }
  }
  {
    final value = object.remarkableMaintenance;
    if (value == null) {
      IsarCore.writeNull(writer, 57);
    } else {
      IsarCore.writeString(writer, 57, value);
    }
  }
  {
    final value = object.tipsPresets;
    if (value == null) {
      IsarCore.writeNull(writer, 58);
    } else {
      IsarCore.writeString(writer, 58, value);
    }
  }
  {
    final value = object.tipsMaintenance;
    if (value == null) {
      IsarCore.writeNull(writer, 59);
    } else {
      IsarCore.writeString(writer, 59, value);
    }
  }
  {
    final value = object.goodToKnowAttachment;
    if (value == null) {
      IsarCore.writeNull(writer, 60);
    } else {
      IsarCore.writeString(writer, 60, value);
    }
  }
  {
    final value = object.tipsBackground;
    if (value == null) {
      IsarCore.writeNull(writer, 61);
    } else {
      IsarCore.writeString(writer, 61, value);
    }
  }
  {
    final value = object.specialBackground;
    if (value == null) {
      IsarCore.writeNull(writer, 62);
    } else {
      IsarCore.writeString(writer, 62, value);
    }
  }
  {
    final list = object.sourcesUsedInDataSheet;
    if (list == null) {
      IsarCore.writeNull(writer, 63);
    } else {
      final listWriter = IsarCore.beginList(writer, 63, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  return object.id;
}

@isarProtected
Massnahme deserializeMassnahme(IsarReader reader) {
  final object = Massnahme();
  object.id = IsarCore.readId(reader);
  object.orderString = IsarCore.readString(reader, 1);
  object.name = IsarCore.readString(reader, 2);
  {
    final length = IsarCore.readList(reader, 3, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.factsheetAreaType = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.factsheetAreaType = list;
      }
    }
  }
  object.examples = IsarCore.readString(reader, 4);
  object.factsheetDefinition = IsarCore.readString(reader, 5);
  object.factsheetTarget = IsarCore.readString(reader, 6);
  object.scientificBackgroundRedundant = IsarCore.readString(reader, 7);
  object.factsheetScientificBackground = IsarCore.readString(reader, 8);
  object.sources = IsarCore.readString(reader, 9);
  {
    final length = IsarCore.readList(reader, 10, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.timeFrame = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.timeFrame = list;
      }
    }
  }
  object.attachmentReminder = IsarCore.readString(reader, 11);
  object.attachmentWorkSteps = IsarCore.readString(reader, 12);
  object.factsheetLocation = IsarCore.readString(reader, 13);
  object.factsheetSizeArea = IsarCore.readString(reader, 14);
  object.redundantAllowance = IsarCore.readString(reader, 15);
  object.moneyAction = IsarCore.readString(reader, 16);
  object.timeAction = IsarCore.readString(reader, 17);
  object.serviceProvider = IsarCore.readString(reader, 18);
  object.attachmentTip = IsarCore.readString(reader, 19);
  object.timeMaintenance = IsarCore.readString(reader, 20);
  object.workMaintenance = IsarCore.readString(reader, 21);
  {
    final length = IsarCore.readList(reader, 22, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.frequencyMaintenance = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.frequencyMaintenance = list;
      }
    }
  }
  object.specialsMaintenance = IsarCore.readString(reader, 23);
  object.matchingActions = IsarCore.readString(reader, 24);
  object.redundantExpertise = IsarCore.readString(reader, 25);
  {
    final length = IsarCore.readList(reader, 26, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.organismActions = null;
      } else {
        final list = List<IdValue>.filled(length, IdValue(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValue();
            } else {
              final embedded = deserializeIdValue(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.organismActions = list;
      }
    }
  }
  {
    final objectReader = IsarCore.readObject(reader, 27);
    if (objectReader.isNull) {
      object.actionGroup = null;
    } else {
      final embedded = deserializeIdValueColor(objectReader);
      IsarCore.freeReader(objectReader);
      object.actionGroup = embedded;
    }
  }
  {
    final length = IsarCore.readList(reader, 28, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.fundingPrograms = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.fundingPrograms = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 29, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.files = null;
      } else {
        final list = List<FilePart>.filled(length, FilePart(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = FilePart();
            } else {
              final embedded = deserializeFilePart(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.files = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 30, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.numberOfAction = null;
      } else {
        final list = List<IdValue>.filled(length, IdValue(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValue();
            } else {
              final embedded = deserializeIdValue(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.numberOfAction = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 31, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.factsheetStatus = null;
      } else {
        final list = List<IdValue>.filled(length, IdValue(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValue();
            } else {
              final embedded = deserializeIdValue(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.factsheetStatus = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 32, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.requiredLocation = null;
      } else {
        final list = List<IdValue>.filled(length, IdValue(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValue();
            } else {
              final embedded = deserializeIdValue(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.requiredLocation = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 33, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.business = null;
      } else {
        final list = List<IdValue>.filled(length, IdValue(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValue();
            } else {
              final embedded = deserializeIdValue(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.business = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 34, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.referenceAction = null;
      } else {
        final list = List<IdValue>.filled(length, IdValue(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValue();
            } else {
              final embedded = deserializeIdValue(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.referenceAction = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 35, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.attachmentMaterial = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.attachmentMaterial = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 36, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.requiredAllowance = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.requiredAllowance = list;
      }
    }
  }
  object.requiredTimeForAction = IsarCore.readString(reader, 37);
  object.costsMaterial = IsarCore.readString(reader, 38);
  {
    final length = IsarCore.readList(reader, 39, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.expertiseWorker = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.expertiseWorker = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 40, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.expertiseContact = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.expertiseContact = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 41, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.materialAction = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.materialAction = list;
      }
    }
  }
  object.timeframeActionAdditional = IsarCore.readString(reader, 42);
  {
    final length = IsarCore.readList(reader, 43, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.maintenanceMaterial = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.maintenanceMaterial = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 44, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.sourcesList = null;
      } else {
        final list = List<IdValue>.filled(length, IdValue(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValue();
            } else {
              final embedded = deserializeIdValue(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.sourcesList = list;
      }
    }
  }
  object.requirements = IsarCore.readString(reader, 45);
  {
    final length = IsarCore.readList(reader, 46, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.materialMaintenance = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.materialMaintenance = list;
      }
    }
  }
  object.timeMaintenanceAdditional = IsarCore.readString(reader, 47);
  {
    final length = IsarCore.readList(reader, 48, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.combinedActions = null;
      } else {
        final list = List<IdValue>.filled(length, IdValue(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValue();
            } else {
              final embedded = deserializeIdValue(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.combinedActions = list;
      }
    }
  }
  {
    if (IsarCore.readNull(reader, 49)) {
      object.done = null;
    } else {
      object.done = IsarCore.readBool(reader, 49);
    }
  }
  {
    final length = IsarCore.readList(reader, 50, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.existingFactSheet = null;
      } else {
        final list =
            List<IdValueMix>.filled(length, IdValueMix(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueMix();
            } else {
              final embedded = deserializeIdValueMix(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.existingFactSheet = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 51, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.timeframeMaintenance2 = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.timeframeMaintenance2 = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 52, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.treeTypes = null;
      } else {
        final list =
            List<IdValueColor>.filled(length, IdValueColor(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValueColor();
            } else {
              final embedded = deserializeIdValueColor(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.treeTypes = list;
      }
    }
  }
  object.frequencyMaintenanceAdditional = IsarCore.readString(reader, 53);
  object.specialCreation = IsarCore.readString(reader, 54);
  object.oekologischeRelevanzBackground = IsarCore.readString(reader, 55);
  object.remarkablePresets = IsarCore.readString(reader, 56);
  object.remarkableMaintenance = IsarCore.readString(reader, 57);
  object.tipsPresets = IsarCore.readString(reader, 58);
  object.tipsMaintenance = IsarCore.readString(reader, 59);
  object.goodToKnowAttachment = IsarCore.readString(reader, 60);
  object.tipsBackground = IsarCore.readString(reader, 61);
  object.specialBackground = IsarCore.readString(reader, 62);
  {
    final length = IsarCore.readList(reader, 63, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.sourcesUsedInDataSheet = null;
      } else {
        final list = List<IdValue>.filled(length, IdValue(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = IdValue();
            } else {
              final embedded = deserializeIdValue(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.sourcesUsedInDataSheet = list;
      }
    }
  }
  return object;
}

@isarProtected
dynamic deserializeMassnahmeProp(IsarReader reader, int property) {
  switch (property) {
    case 0:
      return IsarCore.readId(reader);
    case 1:
      return IsarCore.readString(reader, 1);
    case 2:
      return IsarCore.readString(reader, 2);
    case 3:
      {
        final length = IsarCore.readList(reader, 3, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 4:
      return IsarCore.readString(reader, 4);
    case 5:
      return IsarCore.readString(reader, 5);
    case 6:
      return IsarCore.readString(reader, 6);
    case 7:
      return IsarCore.readString(reader, 7);
    case 8:
      return IsarCore.readString(reader, 8);
    case 9:
      return IsarCore.readString(reader, 9);
    case 10:
      {
        final length = IsarCore.readList(reader, 10, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 11:
      return IsarCore.readString(reader, 11);
    case 12:
      return IsarCore.readString(reader, 12);
    case 13:
      return IsarCore.readString(reader, 13);
    case 14:
      return IsarCore.readString(reader, 14);
    case 15:
      return IsarCore.readString(reader, 15);
    case 16:
      return IsarCore.readString(reader, 16);
    case 17:
      return IsarCore.readString(reader, 17);
    case 18:
      return IsarCore.readString(reader, 18);
    case 19:
      return IsarCore.readString(reader, 19);
    case 20:
      return IsarCore.readString(reader, 20);
    case 21:
      return IsarCore.readString(reader, 21);
    case 22:
      {
        final length = IsarCore.readList(reader, 22, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 23:
      return IsarCore.readString(reader, 23);
    case 24:
      return IsarCore.readString(reader, 24);
    case 25:
      return IsarCore.readString(reader, 25);
    case 26:
      {
        final length = IsarCore.readList(reader, 26, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<IdValue>.filled(length, IdValue(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValue();
                } else {
                  final embedded = deserializeIdValue(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 27:
      {
        final objectReader = IsarCore.readObject(reader, 27);
        if (objectReader.isNull) {
          return null;
        } else {
          final embedded = deserializeIdValueColor(objectReader);
          IsarCore.freeReader(objectReader);
          return embedded;
        }
      }
    case 28:
      {
        final length = IsarCore.readList(reader, 28, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 29:
      {
        final length = IsarCore.readList(reader, 29, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<FilePart>.filled(length, FilePart(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = FilePart();
                } else {
                  final embedded = deserializeFilePart(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 30:
      {
        final length = IsarCore.readList(reader, 30, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<IdValue>.filled(length, IdValue(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValue();
                } else {
                  final embedded = deserializeIdValue(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 31:
      {
        final length = IsarCore.readList(reader, 31, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<IdValue>.filled(length, IdValue(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValue();
                } else {
                  final embedded = deserializeIdValue(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 32:
      {
        final length = IsarCore.readList(reader, 32, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<IdValue>.filled(length, IdValue(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValue();
                } else {
                  final embedded = deserializeIdValue(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 33:
      {
        final length = IsarCore.readList(reader, 33, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<IdValue>.filled(length, IdValue(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValue();
                } else {
                  final embedded = deserializeIdValue(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 34:
      {
        final length = IsarCore.readList(reader, 34, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<IdValue>.filled(length, IdValue(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValue();
                } else {
                  final embedded = deserializeIdValue(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 35:
      {
        final length = IsarCore.readList(reader, 35, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 36:
      {
        final length = IsarCore.readList(reader, 36, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 37:
      return IsarCore.readString(reader, 37);
    case 38:
      return IsarCore.readString(reader, 38);
    case 39:
      {
        final length = IsarCore.readList(reader, 39, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 40:
      {
        final length = IsarCore.readList(reader, 40, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 41:
      {
        final length = IsarCore.readList(reader, 41, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 42:
      return IsarCore.readString(reader, 42);
    case 43:
      {
        final length = IsarCore.readList(reader, 43, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 44:
      {
        final length = IsarCore.readList(reader, 44, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<IdValue>.filled(length, IdValue(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValue();
                } else {
                  final embedded = deserializeIdValue(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 45:
      return IsarCore.readString(reader, 45);
    case 46:
      {
        final length = IsarCore.readList(reader, 46, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 47:
      return IsarCore.readString(reader, 47);
    case 48:
      {
        final length = IsarCore.readList(reader, 48, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<IdValue>.filled(length, IdValue(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValue();
                } else {
                  final embedded = deserializeIdValue(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 49:
      {
        if (IsarCore.readNull(reader, 49)) {
          return null;
        } else {
          return IsarCore.readBool(reader, 49);
        }
      }
    case 50:
      {
        final length = IsarCore.readList(reader, 50, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<IdValueMix>.filled(length, IdValueMix(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueMix();
                } else {
                  final embedded = deserializeIdValueMix(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 51:
      {
        final length = IsarCore.readList(reader, 51, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 52:
      {
        final length = IsarCore.readList(reader, 52, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<IdValueColor>.filled(length, IdValueColor(),
                growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValueColor();
                } else {
                  final embedded = deserializeIdValueColor(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 53:
      return IsarCore.readString(reader, 53);
    case 54:
      return IsarCore.readString(reader, 54);
    case 55:
      return IsarCore.readString(reader, 55);
    case 56:
      return IsarCore.readString(reader, 56);
    case 57:
      return IsarCore.readString(reader, 57);
    case 58:
      return IsarCore.readString(reader, 58);
    case 59:
      return IsarCore.readString(reader, 59);
    case 60:
      return IsarCore.readString(reader, 60);
    case 61:
      return IsarCore.readString(reader, 61);
    case 62:
      return IsarCore.readString(reader, 62);
    case 63:
      {
        final length = IsarCore.readList(reader, 63, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<IdValue>.filled(length, IdValue(), growable: true);
            for (var i = 0; i < length; i++) {
              {
                final objectReader = IsarCore.readObject(reader, i);
                if (objectReader.isNull) {
                  list[i] = IdValue();
                } else {
                  final embedded = deserializeIdValue(objectReader);
                  IsarCore.freeReader(objectReader);
                  list[i] = embedded;
                }
              }
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    default:
      throw ArgumentError('Unknown property: $property');
  }
}

sealed class _MassnahmeUpdate {
  bool call({
    required int id,
    String? orderString,
    String? name,
    String? examples,
    String? factsheetDefinition,
    String? factsheetTarget,
    String? scientificBackgroundRedundant,
    String? factsheetScientificBackground,
    String? sources,
    String? attachmentReminder,
    String? attachmentWorkSteps,
    String? factsheetLocation,
    String? factsheetSizeArea,
    String? redundantAllowance,
    String? moneyAction,
    String? timeAction,
    String? serviceProvider,
    String? attachmentTip,
    String? timeMaintenance,
    String? workMaintenance,
    String? specialsMaintenance,
    String? matchingActions,
    String? redundantExpertise,
    String? requiredTimeForAction,
    String? costsMaterial,
    String? timeframeActionAdditional,
    String? requirements,
    String? timeMaintenanceAdditional,
    bool? done,
    String? frequencyMaintenanceAdditional,
    String? specialCreation,
    String? oekologischeRelevanzBackground,
    String? remarkablePresets,
    String? remarkableMaintenance,
    String? tipsPresets,
    String? tipsMaintenance,
    String? goodToKnowAttachment,
    String? tipsBackground,
    String? specialBackground,
  });
}

class _MassnahmeUpdateImpl implements _MassnahmeUpdate {
  const _MassnahmeUpdateImpl(this.collection);

  final IsarCollection<int, Massnahme> collection;

  @override
  bool call({
    required int id,
    Object? orderString = ignore,
    Object? name = ignore,
    Object? examples = ignore,
    Object? factsheetDefinition = ignore,
    Object? factsheetTarget = ignore,
    Object? scientificBackgroundRedundant = ignore,
    Object? factsheetScientificBackground = ignore,
    Object? sources = ignore,
    Object? attachmentReminder = ignore,
    Object? attachmentWorkSteps = ignore,
    Object? factsheetLocation = ignore,
    Object? factsheetSizeArea = ignore,
    Object? redundantAllowance = ignore,
    Object? moneyAction = ignore,
    Object? timeAction = ignore,
    Object? serviceProvider = ignore,
    Object? attachmentTip = ignore,
    Object? timeMaintenance = ignore,
    Object? workMaintenance = ignore,
    Object? specialsMaintenance = ignore,
    Object? matchingActions = ignore,
    Object? redundantExpertise = ignore,
    Object? requiredTimeForAction = ignore,
    Object? costsMaterial = ignore,
    Object? timeframeActionAdditional = ignore,
    Object? requirements = ignore,
    Object? timeMaintenanceAdditional = ignore,
    Object? done = ignore,
    Object? frequencyMaintenanceAdditional = ignore,
    Object? specialCreation = ignore,
    Object? oekologischeRelevanzBackground = ignore,
    Object? remarkablePresets = ignore,
    Object? remarkableMaintenance = ignore,
    Object? tipsPresets = ignore,
    Object? tipsMaintenance = ignore,
    Object? goodToKnowAttachment = ignore,
    Object? tipsBackground = ignore,
    Object? specialBackground = ignore,
  }) {
    return collection.updateProperties([
          id
        ], {
          if (orderString != ignore) 1: orderString as String?,
          if (name != ignore) 2: name as String?,
          if (examples != ignore) 4: examples as String?,
          if (factsheetDefinition != ignore) 5: factsheetDefinition as String?,
          if (factsheetTarget != ignore) 6: factsheetTarget as String?,
          if (scientificBackgroundRedundant != ignore)
            7: scientificBackgroundRedundant as String?,
          if (factsheetScientificBackground != ignore)
            8: factsheetScientificBackground as String?,
          if (sources != ignore) 9: sources as String?,
          if (attachmentReminder != ignore) 11: attachmentReminder as String?,
          if (attachmentWorkSteps != ignore) 12: attachmentWorkSteps as String?,
          if (factsheetLocation != ignore) 13: factsheetLocation as String?,
          if (factsheetSizeArea != ignore) 14: factsheetSizeArea as String?,
          if (redundantAllowance != ignore) 15: redundantAllowance as String?,
          if (moneyAction != ignore) 16: moneyAction as String?,
          if (timeAction != ignore) 17: timeAction as String?,
          if (serviceProvider != ignore) 18: serviceProvider as String?,
          if (attachmentTip != ignore) 19: attachmentTip as String?,
          if (timeMaintenance != ignore) 20: timeMaintenance as String?,
          if (workMaintenance != ignore) 21: workMaintenance as String?,
          if (specialsMaintenance != ignore) 23: specialsMaintenance as String?,
          if (matchingActions != ignore) 24: matchingActions as String?,
          if (redundantExpertise != ignore) 25: redundantExpertise as String?,
          if (requiredTimeForAction != ignore)
            37: requiredTimeForAction as String?,
          if (costsMaterial != ignore) 38: costsMaterial as String?,
          if (timeframeActionAdditional != ignore)
            42: timeframeActionAdditional as String?,
          if (requirements != ignore) 45: requirements as String?,
          if (timeMaintenanceAdditional != ignore)
            47: timeMaintenanceAdditional as String?,
          if (done != ignore) 49: done as bool?,
          if (frequencyMaintenanceAdditional != ignore)
            53: frequencyMaintenanceAdditional as String?,
          if (specialCreation != ignore) 54: specialCreation as String?,
          if (oekologischeRelevanzBackground != ignore)
            55: oekologischeRelevanzBackground as String?,
          if (remarkablePresets != ignore) 56: remarkablePresets as String?,
          if (remarkableMaintenance != ignore)
            57: remarkableMaintenance as String?,
          if (tipsPresets != ignore) 58: tipsPresets as String?,
          if (tipsMaintenance != ignore) 59: tipsMaintenance as String?,
          if (goodToKnowAttachment != ignore)
            60: goodToKnowAttachment as String?,
          if (tipsBackground != ignore) 61: tipsBackground as String?,
          if (specialBackground != ignore) 62: specialBackground as String?,
        }) >
        0;
  }
}

sealed class _MassnahmeUpdateAll {
  int call({
    required List<int> id,
    String? orderString,
    String? name,
    String? examples,
    String? factsheetDefinition,
    String? factsheetTarget,
    String? scientificBackgroundRedundant,
    String? factsheetScientificBackground,
    String? sources,
    String? attachmentReminder,
    String? attachmentWorkSteps,
    String? factsheetLocation,
    String? factsheetSizeArea,
    String? redundantAllowance,
    String? moneyAction,
    String? timeAction,
    String? serviceProvider,
    String? attachmentTip,
    String? timeMaintenance,
    String? workMaintenance,
    String? specialsMaintenance,
    String? matchingActions,
    String? redundantExpertise,
    String? requiredTimeForAction,
    String? costsMaterial,
    String? timeframeActionAdditional,
    String? requirements,
    String? timeMaintenanceAdditional,
    bool? done,
    String? frequencyMaintenanceAdditional,
    String? specialCreation,
    String? oekologischeRelevanzBackground,
    String? remarkablePresets,
    String? remarkableMaintenance,
    String? tipsPresets,
    String? tipsMaintenance,
    String? goodToKnowAttachment,
    String? tipsBackground,
    String? specialBackground,
  });
}

class _MassnahmeUpdateAllImpl implements _MassnahmeUpdateAll {
  const _MassnahmeUpdateAllImpl(this.collection);

  final IsarCollection<int, Massnahme> collection;

  @override
  int call({
    required List<int> id,
    Object? orderString = ignore,
    Object? name = ignore,
    Object? examples = ignore,
    Object? factsheetDefinition = ignore,
    Object? factsheetTarget = ignore,
    Object? scientificBackgroundRedundant = ignore,
    Object? factsheetScientificBackground = ignore,
    Object? sources = ignore,
    Object? attachmentReminder = ignore,
    Object? attachmentWorkSteps = ignore,
    Object? factsheetLocation = ignore,
    Object? factsheetSizeArea = ignore,
    Object? redundantAllowance = ignore,
    Object? moneyAction = ignore,
    Object? timeAction = ignore,
    Object? serviceProvider = ignore,
    Object? attachmentTip = ignore,
    Object? timeMaintenance = ignore,
    Object? workMaintenance = ignore,
    Object? specialsMaintenance = ignore,
    Object? matchingActions = ignore,
    Object? redundantExpertise = ignore,
    Object? requiredTimeForAction = ignore,
    Object? costsMaterial = ignore,
    Object? timeframeActionAdditional = ignore,
    Object? requirements = ignore,
    Object? timeMaintenanceAdditional = ignore,
    Object? done = ignore,
    Object? frequencyMaintenanceAdditional = ignore,
    Object? specialCreation = ignore,
    Object? oekologischeRelevanzBackground = ignore,
    Object? remarkablePresets = ignore,
    Object? remarkableMaintenance = ignore,
    Object? tipsPresets = ignore,
    Object? tipsMaintenance = ignore,
    Object? goodToKnowAttachment = ignore,
    Object? tipsBackground = ignore,
    Object? specialBackground = ignore,
  }) {
    return collection.updateProperties(id, {
      if (orderString != ignore) 1: orderString as String?,
      if (name != ignore) 2: name as String?,
      if (examples != ignore) 4: examples as String?,
      if (factsheetDefinition != ignore) 5: factsheetDefinition as String?,
      if (factsheetTarget != ignore) 6: factsheetTarget as String?,
      if (scientificBackgroundRedundant != ignore)
        7: scientificBackgroundRedundant as String?,
      if (factsheetScientificBackground != ignore)
        8: factsheetScientificBackground as String?,
      if (sources != ignore) 9: sources as String?,
      if (attachmentReminder != ignore) 11: attachmentReminder as String?,
      if (attachmentWorkSteps != ignore) 12: attachmentWorkSteps as String?,
      if (factsheetLocation != ignore) 13: factsheetLocation as String?,
      if (factsheetSizeArea != ignore) 14: factsheetSizeArea as String?,
      if (redundantAllowance != ignore) 15: redundantAllowance as String?,
      if (moneyAction != ignore) 16: moneyAction as String?,
      if (timeAction != ignore) 17: timeAction as String?,
      if (serviceProvider != ignore) 18: serviceProvider as String?,
      if (attachmentTip != ignore) 19: attachmentTip as String?,
      if (timeMaintenance != ignore) 20: timeMaintenance as String?,
      if (workMaintenance != ignore) 21: workMaintenance as String?,
      if (specialsMaintenance != ignore) 23: specialsMaintenance as String?,
      if (matchingActions != ignore) 24: matchingActions as String?,
      if (redundantExpertise != ignore) 25: redundantExpertise as String?,
      if (requiredTimeForAction != ignore) 37: requiredTimeForAction as String?,
      if (costsMaterial != ignore) 38: costsMaterial as String?,
      if (timeframeActionAdditional != ignore)
        42: timeframeActionAdditional as String?,
      if (requirements != ignore) 45: requirements as String?,
      if (timeMaintenanceAdditional != ignore)
        47: timeMaintenanceAdditional as String?,
      if (done != ignore) 49: done as bool?,
      if (frequencyMaintenanceAdditional != ignore)
        53: frequencyMaintenanceAdditional as String?,
      if (specialCreation != ignore) 54: specialCreation as String?,
      if (oekologischeRelevanzBackground != ignore)
        55: oekologischeRelevanzBackground as String?,
      if (remarkablePresets != ignore) 56: remarkablePresets as String?,
      if (remarkableMaintenance != ignore) 57: remarkableMaintenance as String?,
      if (tipsPresets != ignore) 58: tipsPresets as String?,
      if (tipsMaintenance != ignore) 59: tipsMaintenance as String?,
      if (goodToKnowAttachment != ignore) 60: goodToKnowAttachment as String?,
      if (tipsBackground != ignore) 61: tipsBackground as String?,
      if (specialBackground != ignore) 62: specialBackground as String?,
    });
  }
}

extension MassnahmeUpdate on IsarCollection<int, Massnahme> {
  _MassnahmeUpdate get update => _MassnahmeUpdateImpl(this);

  _MassnahmeUpdateAll get updateAll => _MassnahmeUpdateAllImpl(this);
}

sealed class _MassnahmeQueryUpdate {
  int call({
    String? orderString,
    String? name,
    String? examples,
    String? factsheetDefinition,
    String? factsheetTarget,
    String? scientificBackgroundRedundant,
    String? factsheetScientificBackground,
    String? sources,
    String? attachmentReminder,
    String? attachmentWorkSteps,
    String? factsheetLocation,
    String? factsheetSizeArea,
    String? redundantAllowance,
    String? moneyAction,
    String? timeAction,
    String? serviceProvider,
    String? attachmentTip,
    String? timeMaintenance,
    String? workMaintenance,
    String? specialsMaintenance,
    String? matchingActions,
    String? redundantExpertise,
    String? requiredTimeForAction,
    String? costsMaterial,
    String? timeframeActionAdditional,
    String? requirements,
    String? timeMaintenanceAdditional,
    bool? done,
    String? frequencyMaintenanceAdditional,
    String? specialCreation,
    String? oekologischeRelevanzBackground,
    String? remarkablePresets,
    String? remarkableMaintenance,
    String? tipsPresets,
    String? tipsMaintenance,
    String? goodToKnowAttachment,
    String? tipsBackground,
    String? specialBackground,
  });
}

class _MassnahmeQueryUpdateImpl implements _MassnahmeQueryUpdate {
  const _MassnahmeQueryUpdateImpl(this.query, {this.limit});

  final IsarQuery<Massnahme> query;
  final int? limit;

  @override
  int call({
    Object? orderString = ignore,
    Object? name = ignore,
    Object? examples = ignore,
    Object? factsheetDefinition = ignore,
    Object? factsheetTarget = ignore,
    Object? scientificBackgroundRedundant = ignore,
    Object? factsheetScientificBackground = ignore,
    Object? sources = ignore,
    Object? attachmentReminder = ignore,
    Object? attachmentWorkSteps = ignore,
    Object? factsheetLocation = ignore,
    Object? factsheetSizeArea = ignore,
    Object? redundantAllowance = ignore,
    Object? moneyAction = ignore,
    Object? timeAction = ignore,
    Object? serviceProvider = ignore,
    Object? attachmentTip = ignore,
    Object? timeMaintenance = ignore,
    Object? workMaintenance = ignore,
    Object? specialsMaintenance = ignore,
    Object? matchingActions = ignore,
    Object? redundantExpertise = ignore,
    Object? requiredTimeForAction = ignore,
    Object? costsMaterial = ignore,
    Object? timeframeActionAdditional = ignore,
    Object? requirements = ignore,
    Object? timeMaintenanceAdditional = ignore,
    Object? done = ignore,
    Object? frequencyMaintenanceAdditional = ignore,
    Object? specialCreation = ignore,
    Object? oekologischeRelevanzBackground = ignore,
    Object? remarkablePresets = ignore,
    Object? remarkableMaintenance = ignore,
    Object? tipsPresets = ignore,
    Object? tipsMaintenance = ignore,
    Object? goodToKnowAttachment = ignore,
    Object? tipsBackground = ignore,
    Object? specialBackground = ignore,
  }) {
    return query.updateProperties(limit: limit, {
      if (orderString != ignore) 1: orderString as String?,
      if (name != ignore) 2: name as String?,
      if (examples != ignore) 4: examples as String?,
      if (factsheetDefinition != ignore) 5: factsheetDefinition as String?,
      if (factsheetTarget != ignore) 6: factsheetTarget as String?,
      if (scientificBackgroundRedundant != ignore)
        7: scientificBackgroundRedundant as String?,
      if (factsheetScientificBackground != ignore)
        8: factsheetScientificBackground as String?,
      if (sources != ignore) 9: sources as String?,
      if (attachmentReminder != ignore) 11: attachmentReminder as String?,
      if (attachmentWorkSteps != ignore) 12: attachmentWorkSteps as String?,
      if (factsheetLocation != ignore) 13: factsheetLocation as String?,
      if (factsheetSizeArea != ignore) 14: factsheetSizeArea as String?,
      if (redundantAllowance != ignore) 15: redundantAllowance as String?,
      if (moneyAction != ignore) 16: moneyAction as String?,
      if (timeAction != ignore) 17: timeAction as String?,
      if (serviceProvider != ignore) 18: serviceProvider as String?,
      if (attachmentTip != ignore) 19: attachmentTip as String?,
      if (timeMaintenance != ignore) 20: timeMaintenance as String?,
      if (workMaintenance != ignore) 21: workMaintenance as String?,
      if (specialsMaintenance != ignore) 23: specialsMaintenance as String?,
      if (matchingActions != ignore) 24: matchingActions as String?,
      if (redundantExpertise != ignore) 25: redundantExpertise as String?,
      if (requiredTimeForAction != ignore) 37: requiredTimeForAction as String?,
      if (costsMaterial != ignore) 38: costsMaterial as String?,
      if (timeframeActionAdditional != ignore)
        42: timeframeActionAdditional as String?,
      if (requirements != ignore) 45: requirements as String?,
      if (timeMaintenanceAdditional != ignore)
        47: timeMaintenanceAdditional as String?,
      if (done != ignore) 49: done as bool?,
      if (frequencyMaintenanceAdditional != ignore)
        53: frequencyMaintenanceAdditional as String?,
      if (specialCreation != ignore) 54: specialCreation as String?,
      if (oekologischeRelevanzBackground != ignore)
        55: oekologischeRelevanzBackground as String?,
      if (remarkablePresets != ignore) 56: remarkablePresets as String?,
      if (remarkableMaintenance != ignore) 57: remarkableMaintenance as String?,
      if (tipsPresets != ignore) 58: tipsPresets as String?,
      if (tipsMaintenance != ignore) 59: tipsMaintenance as String?,
      if (goodToKnowAttachment != ignore) 60: goodToKnowAttachment as String?,
      if (tipsBackground != ignore) 61: tipsBackground as String?,
      if (specialBackground != ignore) 62: specialBackground as String?,
    });
  }
}

extension MassnahmeQueryUpdate on IsarQuery<Massnahme> {
  _MassnahmeQueryUpdate get updateFirst =>
      _MassnahmeQueryUpdateImpl(this, limit: 1);

  _MassnahmeQueryUpdate get updateAll => _MassnahmeQueryUpdateImpl(this);
}

class _MassnahmeQueryBuilderUpdateImpl implements _MassnahmeQueryUpdate {
  const _MassnahmeQueryBuilderUpdateImpl(this.query, {this.limit});

  final QueryBuilder<Massnahme, Massnahme, QOperations> query;
  final int? limit;

  @override
  int call({
    Object? orderString = ignore,
    Object? name = ignore,
    Object? examples = ignore,
    Object? factsheetDefinition = ignore,
    Object? factsheetTarget = ignore,
    Object? scientificBackgroundRedundant = ignore,
    Object? factsheetScientificBackground = ignore,
    Object? sources = ignore,
    Object? attachmentReminder = ignore,
    Object? attachmentWorkSteps = ignore,
    Object? factsheetLocation = ignore,
    Object? factsheetSizeArea = ignore,
    Object? redundantAllowance = ignore,
    Object? moneyAction = ignore,
    Object? timeAction = ignore,
    Object? serviceProvider = ignore,
    Object? attachmentTip = ignore,
    Object? timeMaintenance = ignore,
    Object? workMaintenance = ignore,
    Object? specialsMaintenance = ignore,
    Object? matchingActions = ignore,
    Object? redundantExpertise = ignore,
    Object? requiredTimeForAction = ignore,
    Object? costsMaterial = ignore,
    Object? timeframeActionAdditional = ignore,
    Object? requirements = ignore,
    Object? timeMaintenanceAdditional = ignore,
    Object? done = ignore,
    Object? frequencyMaintenanceAdditional = ignore,
    Object? specialCreation = ignore,
    Object? oekologischeRelevanzBackground = ignore,
    Object? remarkablePresets = ignore,
    Object? remarkableMaintenance = ignore,
    Object? tipsPresets = ignore,
    Object? tipsMaintenance = ignore,
    Object? goodToKnowAttachment = ignore,
    Object? tipsBackground = ignore,
    Object? specialBackground = ignore,
  }) {
    final q = query.build();
    try {
      return q.updateProperties(limit: limit, {
        if (orderString != ignore) 1: orderString as String?,
        if (name != ignore) 2: name as String?,
        if (examples != ignore) 4: examples as String?,
        if (factsheetDefinition != ignore) 5: factsheetDefinition as String?,
        if (factsheetTarget != ignore) 6: factsheetTarget as String?,
        if (scientificBackgroundRedundant != ignore)
          7: scientificBackgroundRedundant as String?,
        if (factsheetScientificBackground != ignore)
          8: factsheetScientificBackground as String?,
        if (sources != ignore) 9: sources as String?,
        if (attachmentReminder != ignore) 11: attachmentReminder as String?,
        if (attachmentWorkSteps != ignore) 12: attachmentWorkSteps as String?,
        if (factsheetLocation != ignore) 13: factsheetLocation as String?,
        if (factsheetSizeArea != ignore) 14: factsheetSizeArea as String?,
        if (redundantAllowance != ignore) 15: redundantAllowance as String?,
        if (moneyAction != ignore) 16: moneyAction as String?,
        if (timeAction != ignore) 17: timeAction as String?,
        if (serviceProvider != ignore) 18: serviceProvider as String?,
        if (attachmentTip != ignore) 19: attachmentTip as String?,
        if (timeMaintenance != ignore) 20: timeMaintenance as String?,
        if (workMaintenance != ignore) 21: workMaintenance as String?,
        if (specialsMaintenance != ignore) 23: specialsMaintenance as String?,
        if (matchingActions != ignore) 24: matchingActions as String?,
        if (redundantExpertise != ignore) 25: redundantExpertise as String?,
        if (requiredTimeForAction != ignore)
          37: requiredTimeForAction as String?,
        if (costsMaterial != ignore) 38: costsMaterial as String?,
        if (timeframeActionAdditional != ignore)
          42: timeframeActionAdditional as String?,
        if (requirements != ignore) 45: requirements as String?,
        if (timeMaintenanceAdditional != ignore)
          47: timeMaintenanceAdditional as String?,
        if (done != ignore) 49: done as bool?,
        if (frequencyMaintenanceAdditional != ignore)
          53: frequencyMaintenanceAdditional as String?,
        if (specialCreation != ignore) 54: specialCreation as String?,
        if (oekologischeRelevanzBackground != ignore)
          55: oekologischeRelevanzBackground as String?,
        if (remarkablePresets != ignore) 56: remarkablePresets as String?,
        if (remarkableMaintenance != ignore)
          57: remarkableMaintenance as String?,
        if (tipsPresets != ignore) 58: tipsPresets as String?,
        if (tipsMaintenance != ignore) 59: tipsMaintenance as String?,
        if (goodToKnowAttachment != ignore) 60: goodToKnowAttachment as String?,
        if (tipsBackground != ignore) 61: tipsBackground as String?,
        if (specialBackground != ignore) 62: specialBackground as String?,
      });
    } finally {
      q.close();
    }
  }
}

extension MassnahmeQueryBuilderUpdate
    on QueryBuilder<Massnahme, Massnahme, QOperations> {
  _MassnahmeQueryUpdate get updateFirst =>
      _MassnahmeQueryBuilderUpdateImpl(this, limit: 1);

  _MassnahmeQueryUpdate get updateAll => _MassnahmeQueryBuilderUpdateImpl(this);
}

extension MassnahmeQueryFilter
    on QueryBuilder<Massnahme, Massnahme, QFilterCondition> {
  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> idEqualTo(
    int value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 0,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> idGreaterThan(
    int value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 0,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      idGreaterThanOrEqualTo(
    int value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 0,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> idLessThan(
    int value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 0,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> idLessThanOrEqualTo(
    int value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 0,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> idBetween(
    int lower,
    int upper,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 0,
          lower: lower,
          upper: upper,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      orderStringIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 1));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      orderStringIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 1));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> orderStringEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 1,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      orderStringGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 1,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      orderStringGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 1,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> orderStringLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 1,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      orderStringLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 1,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> orderStringBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 1,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      orderStringStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 1,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> orderStringEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 1,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> orderStringContains(
      String value,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 1,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> orderStringMatches(
      String pattern,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 1,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      orderStringIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 1,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      orderStringIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 1,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 2));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 2));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 2,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 2,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      nameGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 2,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 2,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      nameLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 2,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 2,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 2,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 2,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameContains(
      String value,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 2,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameMatches(
      String pattern,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 2,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 2,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> nameIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 2,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetAreaTypeIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 3));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetAreaTypeIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 3));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetAreaTypeIsEmpty() {
    return not().group(
      (q) => q.factsheetAreaTypeIsNull().or().factsheetAreaTypeIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetAreaTypeIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 3, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> examplesIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 4));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      examplesIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 4));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> examplesEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 4,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> examplesGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 4,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      examplesGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 4,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> examplesLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 4,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      examplesLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 4,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> examplesBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 4,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> examplesStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 4,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> examplesEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 4,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> examplesContains(
      String value,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 4,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> examplesMatches(
      String pattern,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 4,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> examplesIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 4,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      examplesIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 4,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 5));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 5));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 5,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 5,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 5,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 5,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 5,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 5,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 5,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 5,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 5,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 5,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 5,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetDefinitionIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 5,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 6));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 6));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 6,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 6,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 6,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 6,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 6,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 6,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 6,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 6,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 6,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 6,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 6,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetTargetIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 6,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 7));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 7));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 7,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 7,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 7,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 7,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 7,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 7,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 7,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 7,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantContains(String value,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 7,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantMatches(String pattern,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 7,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 7,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      scientificBackgroundRedundantIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 7,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 8));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 8));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 8,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 8,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 8,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 8,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 8,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 8,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 8,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 8,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundContains(String value,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 8,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundMatches(String pattern,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 8,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 8,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetScientificBackgroundIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 8,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 9));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 9));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 9,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 9,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 9,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 9,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 9,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 9,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 9,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 9,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesContains(
      String value,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 9,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesMatches(
      String pattern,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 9,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> sourcesIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 9,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 9,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> timeFrameIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 10));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeFrameIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 10));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> timeFrameIsEmpty() {
    return not().group(
      (q) => q.timeFrameIsNull().or().timeFrameIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeFrameIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 10, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 11));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 11));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 11,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 11,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 11,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 11,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 11,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 11,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 11,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 11,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 11,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 11,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 11,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentReminderIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 11,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 12));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 12));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 12,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 12,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 12,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 12,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 12,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 12,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 12,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 12,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 12,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 12,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 12,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentWorkStepsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 12,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 13));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 13));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 13,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 13,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 13,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 13,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 13,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 13,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 13,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 13,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 13,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 13,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 13,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetLocationIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 13,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 14));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 14));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 14,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 14,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 14,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 14,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 14,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 14,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 14,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 14,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 14,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 14,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 14,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetSizeAreaIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 14,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 15));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 15));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 15,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 15,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 15,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 15,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 15,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 15,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 15,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 15,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 15,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 15,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 15,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantAllowanceIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 15,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      moneyActionIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 16));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      moneyActionIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 16));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> moneyActionEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 16,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      moneyActionGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 16,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      moneyActionGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 16,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> moneyActionLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 16,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      moneyActionLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 16,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> moneyActionBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 16,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      moneyActionStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 16,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> moneyActionEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 16,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> moneyActionContains(
      String value,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 16,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> moneyActionMatches(
      String pattern,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 16,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      moneyActionIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 16,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      moneyActionIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 16,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> timeActionIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 17));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeActionIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 17));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> timeActionEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 17,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeActionGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 17,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeActionGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 17,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> timeActionLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 17,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeActionLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 17,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> timeActionBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 17,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeActionStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 17,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> timeActionEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 17,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> timeActionContains(
      String value,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 17,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> timeActionMatches(
      String pattern,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 17,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeActionIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 17,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeActionIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 17,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 18));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 18));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 18,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 18,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 18,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 18,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 18,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 18,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 18,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 18,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 18,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 18,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 18,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      serviceProviderIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 18,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 19));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 19));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 19,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 19,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 19,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 19,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 19,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 19,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 19,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 19,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 19,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 19,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 19,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentTipIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 19,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 20));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 20));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 20,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 20,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 20,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 20,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 20,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 20,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 20,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 20,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 20,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 20,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 20,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 20,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 21));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 21));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 21,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 21,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 21,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 21,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 21,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 21,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 21,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 21,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 21,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 21,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 21,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      workMaintenanceIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 21,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 22));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 22));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceIsEmpty() {
    return not().group(
      (q) =>
          q.frequencyMaintenanceIsNull().or().frequencyMaintenanceIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 22, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 23));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 23));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 23,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 23,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 23,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 23,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 23,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 23,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 23,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 23,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 23,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 23,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 23,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialsMaintenanceIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 23,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 24));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 24));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 24,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 24,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 24,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 24,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 24,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 24,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 24,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 24,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 24,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 24,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 24,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      matchingActionsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 24,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 25));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 25));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 25,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 25,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 25,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 25,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 25,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 25,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 25,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 25,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 25,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 25,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 25,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      redundantExpertiseIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 25,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      organismActionsIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 26));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      organismActionsIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 26));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      organismActionsIsEmpty() {
    return not().group(
      (q) => q.organismActionsIsNull().or().organismActionsIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      organismActionsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 26, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      actionGroupIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 27));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      actionGroupIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 27));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      fundingProgramsIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 28));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      fundingProgramsIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 28));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      fundingProgramsIsEmpty() {
    return not().group(
      (q) => q.fundingProgramsIsNull().or().fundingProgramsIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      fundingProgramsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 28, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> filesIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 29));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> filesIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 29));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> filesIsEmpty() {
    return not().group(
      (q) => q.filesIsNull().or().filesIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> filesIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 29, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      numberOfActionIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 30));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      numberOfActionIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 30));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      numberOfActionIsEmpty() {
    return not().group(
      (q) => q.numberOfActionIsNull().or().numberOfActionIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      numberOfActionIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 30, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetStatusIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 31));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetStatusIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 31));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetStatusIsEmpty() {
    return not().group(
      (q) => q.factsheetStatusIsNull().or().factsheetStatusIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      factsheetStatusIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 31, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredLocationIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 32));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredLocationIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 32));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredLocationIsEmpty() {
    return not().group(
      (q) => q.requiredLocationIsNull().or().requiredLocationIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredLocationIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 32, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> businessIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 33));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      businessIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 33));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> businessIsEmpty() {
    return not().group(
      (q) => q.businessIsNull().or().businessIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      businessIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 33, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      referenceActionIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 34));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      referenceActionIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 34));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      referenceActionIsEmpty() {
    return not().group(
      (q) => q.referenceActionIsNull().or().referenceActionIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      referenceActionIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 34, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentMaterialIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 35));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentMaterialIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 35));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentMaterialIsEmpty() {
    return not().group(
      (q) => q.attachmentMaterialIsNull().or().attachmentMaterialIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      attachmentMaterialIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 35, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredAllowanceIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 36));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredAllowanceIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 36));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredAllowanceIsEmpty() {
    return not().group(
      (q) => q.requiredAllowanceIsNull().or().requiredAllowanceIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredAllowanceIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 36, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 37));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 37));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 37,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 37,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 37,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 37,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 37,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 37,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 37,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 37,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 37,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionMatches(String pattern,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 37,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 37,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requiredTimeForActionIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 37,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 38));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 38));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 38,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 38,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 38,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 38,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 38,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 38,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 38,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 38,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 38,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 38,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 38,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      costsMaterialIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 38,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      expertiseWorkerIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 39));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      expertiseWorkerIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 39));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      expertiseWorkerIsEmpty() {
    return not().group(
      (q) => q.expertiseWorkerIsNull().or().expertiseWorkerIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      expertiseWorkerIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 39, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      expertiseContactIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 40));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      expertiseContactIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 40));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      expertiseContactIsEmpty() {
    return not().group(
      (q) => q.expertiseContactIsNull().or().expertiseContactIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      expertiseContactIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 40, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      materialActionIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 41));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      materialActionIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 41));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      materialActionIsEmpty() {
    return not().group(
      (q) => q.materialActionIsNull().or().materialActionIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      materialActionIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 41, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 42));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 42));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 42,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 42,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 42,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 42,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 42,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 42,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 42,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 42,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalContains(String value,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 42,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalMatches(String pattern,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 42,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 42,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeActionAdditionalIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 42,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      maintenanceMaterialIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 43));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      maintenanceMaterialIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 43));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      maintenanceMaterialIsEmpty() {
    return not().group(
      (q) => q.maintenanceMaterialIsNull().or().maintenanceMaterialIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      maintenanceMaterialIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 43, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesListIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 44));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesListIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 44));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesListIsEmpty() {
    return not().group(
      (q) => q.sourcesListIsNull().or().sourcesListIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesListIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 44, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 45));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 45));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> requirementsEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 45,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 45,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 45,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 45,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 45,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> requirementsBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 45,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 45,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 45,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 45,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> requirementsMatches(
      String pattern,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 45,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 45,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      requirementsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 45,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      materialMaintenanceIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 46));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      materialMaintenanceIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 46));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      materialMaintenanceIsEmpty() {
    return not().group(
      (q) => q.materialMaintenanceIsNull().or().materialMaintenanceIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      materialMaintenanceIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 46, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 47));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 47));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 47,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 47,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 47,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 47,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 47,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 47,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 47,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 47,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalContains(String value,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 47,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalMatches(String pattern,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 47,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 47,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeMaintenanceAdditionalIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 47,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      combinedActionsIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 48));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      combinedActionsIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 48));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      combinedActionsIsEmpty() {
    return not().group(
      (q) => q.combinedActionsIsNull().or().combinedActionsIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      combinedActionsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 48, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> doneIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 49));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> doneIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 49));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> doneEqualTo(
    bool? value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 49,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      existingFactSheetIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 50));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      existingFactSheetIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 50));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      existingFactSheetIsEmpty() {
    return not().group(
      (q) => q.existingFactSheetIsNull().or().existingFactSheetIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      existingFactSheetIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 50, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeMaintenance2IsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 51));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeMaintenance2IsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 51));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeMaintenance2IsEmpty() {
    return not().group(
      (q) => q
          .timeframeMaintenance2IsNull()
          .or()
          .timeframeMaintenance2IsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      timeframeMaintenance2IsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 51, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> treeTypesIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 52));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      treeTypesIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 52));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> treeTypesIsEmpty() {
    return not().group(
      (q) => q.treeTypesIsNull().or().treeTypesIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      treeTypesIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 52, value: null),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 53));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 53));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 53,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 53,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 53,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 53,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 53,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 53,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 53,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 53,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalContains(String value,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 53,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalMatches(String pattern,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 53,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 53,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      frequencyMaintenanceAdditionalIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 53,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 54));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 54));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 54,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 54,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 54,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 54,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 54,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 54,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 54,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 54,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 54,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 54,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 54,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialCreationIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 54,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 55));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 55));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 55,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 55,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 55,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 55,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 55,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 55,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 55,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 55,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundContains(String value,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 55,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundMatches(String pattern,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 55,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 55,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      oekologischeRelevanzBackgroundIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 55,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 56));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 56));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 56,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 56,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 56,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 56,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 56,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 56,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 56,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 56,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 56,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 56,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 56,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkablePresetsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 56,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 57));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 57));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 57,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 57,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 57,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 57,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 57,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 57,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 57,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 57,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 57,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceMatches(String pattern,
          {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 57,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 57,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      remarkableMaintenanceIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 57,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsPresetsIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 58));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsPresetsIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 58));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> tipsPresetsEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 58,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsPresetsGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 58,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsPresetsGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 58,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> tipsPresetsLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 58,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsPresetsLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 58,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> tipsPresetsBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 58,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsPresetsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 58,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> tipsPresetsEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 58,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> tipsPresetsContains(
      String value,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 58,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> tipsPresetsMatches(
      String pattern,
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 58,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsPresetsIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 58,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsPresetsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 58,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 59));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 59));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 59,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 59,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 59,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 59,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 59,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 59,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 59,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 59,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 59,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 59,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 59,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsMaintenanceIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 59,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 60));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 60));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 60,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 60,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 60,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 60,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 60,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 60,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 60,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 60,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 60,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 60,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 60,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      goodToKnowAttachmentIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 60,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 61));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 61));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 61,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 61,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 61,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 61,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 61,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 61,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 61,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 61,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 61,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 61,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 61,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      tipsBackgroundIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 61,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 62));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 62));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 62,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundGreaterThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 62,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundGreaterThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 62,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundLessThan(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 62,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundLessThanOrEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 62,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundBetween(
    String? lower,
    String? upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 62,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 62,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EndsWithCondition(
          property: 62,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        ContainsCondition(
          property: 62,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        MatchesCondition(
          property: 62,
          wildcard: pattern,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 62,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      specialBackgroundIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 62,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesUsedInDataSheetIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 63));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesUsedInDataSheetIsNotNull() {
    return QueryBuilder.apply(not(), (query) {
      return query.addFilterCondition(const IsNullCondition(property: 63));
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesUsedInDataSheetIsEmpty() {
    return not().group(
      (q) => q
          .sourcesUsedInDataSheetIsNull()
          .or()
          .sourcesUsedInDataSheetIsNotEmpty(),
    );
  }

  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition>
      sourcesUsedInDataSheetIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 63, value: null),
      );
    });
  }
}

extension MassnahmeQueryObject
    on QueryBuilder<Massnahme, Massnahme, QFilterCondition> {
  QueryBuilder<Massnahme, Massnahme, QAfterFilterCondition> actionGroup(
      FilterQuery<IdValueColor> q) {
    return QueryBuilder.apply(this, (query) {
      return query.object(q, 27);
    });
  }
}

extension MassnahmeQuerySortBy on QueryBuilder<Massnahme, Massnahme, QSortBy> {
  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortById() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(0);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByIdDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(0, sort: Sort.desc);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByOrderString(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        1,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByOrderStringDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        1,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByName(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        2,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByNameDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        2,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByExamples(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        4,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByExamplesDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        4,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByFactsheetDefinition(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        5,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByFactsheetDefinitionDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        5,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByFactsheetTarget(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        6,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByFactsheetTargetDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        6,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByScientificBackgroundRedundant({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        7,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByScientificBackgroundRedundantDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        7,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByFactsheetScientificBackground({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        8,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByFactsheetScientificBackgroundDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        8,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortBySources(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        9,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortBySourcesDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        9,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByAttachmentReminder(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        11,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByAttachmentReminderDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        11,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByAttachmentWorkSteps(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        12,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByAttachmentWorkStepsDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        12,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByFactsheetLocation(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        13,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByFactsheetLocationDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        13,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByFactsheetSizeArea(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        14,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByFactsheetSizeAreaDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        14,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByRedundantAllowance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        15,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByRedundantAllowanceDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        15,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByMoneyAction(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        16,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByMoneyActionDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        16,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByTimeAction(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        17,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByTimeActionDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        17,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByServiceProvider(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        18,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByServiceProviderDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        18,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByAttachmentTip(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        19,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByAttachmentTipDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        19,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByTimeMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        20,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByTimeMaintenanceDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        20,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByWorkMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        21,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByWorkMaintenanceDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        21,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortBySpecialsMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        23,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortBySpecialsMaintenanceDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        23,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByMatchingActions(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        24,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByMatchingActionsDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        24,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByRedundantExpertise(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        25,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByRedundantExpertiseDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        25,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByRequiredTimeForAction(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        37,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByRequiredTimeForActionDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        37,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByCostsMaterial(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        38,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByCostsMaterialDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        38,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByTimeframeActionAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        42,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByTimeframeActionAdditionalDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        42,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByRequirements(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        45,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByRequirementsDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        45,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByTimeMaintenanceAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        47,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByTimeMaintenanceAdditionalDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        47,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByDone() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(49);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByDoneDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(49, sort: Sort.desc);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByFrequencyMaintenanceAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        53,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByFrequencyMaintenanceAdditionalDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        53,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortBySpecialCreation(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        54,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortBySpecialCreationDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        54,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByOekologischeRelevanzBackground({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        55,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByOekologischeRelevanzBackgroundDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        55,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByRemarkablePresets(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        56,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByRemarkablePresetsDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        56,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByRemarkableMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        57,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByRemarkableMaintenanceDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        57,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByTipsPresets(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        58,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByTipsPresetsDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        58,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByTipsMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        59,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByTipsMaintenanceDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        59,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByGoodToKnowAttachment(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        60,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      sortByGoodToKnowAttachmentDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        60,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByTipsBackground(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        61,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortByTipsBackgroundDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        61,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortBySpecialBackground(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        62,
        caseSensitive: caseSensitive,
      );
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> sortBySpecialBackgroundDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        62,
        sort: Sort.desc,
        caseSensitive: caseSensitive,
      );
    });
  }
}

extension MassnahmeQuerySortThenBy
    on QueryBuilder<Massnahme, Massnahme, QSortThenBy> {
  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenById() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(0);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByIdDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(0, sort: Sort.desc);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByOrderString(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(1, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByOrderStringDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(1, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByName(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(2, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByNameDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(2, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByExamples(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(4, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByExamplesDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(4, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByFactsheetDefinition(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(5, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByFactsheetDefinitionDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(5, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByFactsheetTarget(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(6, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByFactsheetTargetDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(6, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByScientificBackgroundRedundant({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(7, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByScientificBackgroundRedundantDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(7, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByFactsheetScientificBackground({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(8, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByFactsheetScientificBackgroundDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(8, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenBySources(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(9, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenBySourcesDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(9, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByAttachmentReminder(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(11, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByAttachmentReminderDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(11, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByAttachmentWorkSteps(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(12, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByAttachmentWorkStepsDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(12, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByFactsheetLocation(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(13, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByFactsheetLocationDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(13, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByFactsheetSizeArea(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(14, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByFactsheetSizeAreaDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(14, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByRedundantAllowance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(15, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByRedundantAllowanceDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(15, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByMoneyAction(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(16, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByMoneyActionDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(16, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByTimeAction(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(17, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByTimeActionDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(17, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByServiceProvider(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(18, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByServiceProviderDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(18, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByAttachmentTip(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(19, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByAttachmentTipDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(19, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByTimeMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(20, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByTimeMaintenanceDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(20, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByWorkMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(21, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByWorkMaintenanceDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(21, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenBySpecialsMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(23, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenBySpecialsMaintenanceDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(23, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByMatchingActions(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(24, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByMatchingActionsDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(24, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByRedundantExpertise(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(25, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByRedundantExpertiseDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(25, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByRequiredTimeForAction(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(37, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByRequiredTimeForActionDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(37, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByCostsMaterial(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(38, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByCostsMaterialDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(38, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByTimeframeActionAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(42, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByTimeframeActionAdditionalDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(42, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByRequirements(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(45, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByRequirementsDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(45, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByTimeMaintenanceAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(47, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByTimeMaintenanceAdditionalDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(47, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByDone() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(49);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByDoneDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(49, sort: Sort.desc);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByFrequencyMaintenanceAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(53, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByFrequencyMaintenanceAdditionalDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(53, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenBySpecialCreation(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(54, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenBySpecialCreationDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(54, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByOekologischeRelevanzBackground({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(55, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByOekologischeRelevanzBackgroundDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(55, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByRemarkablePresets(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(56, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByRemarkablePresetsDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(56, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByRemarkableMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(57, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByRemarkableMaintenanceDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(57, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByTipsPresets(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(58, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByTipsPresetsDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(58, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByTipsMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(59, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByTipsMaintenanceDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(59, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByGoodToKnowAttachment(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(60, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy>
      thenByGoodToKnowAttachmentDesc({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(60, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByTipsBackground(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(61, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenByTipsBackgroundDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(61, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenBySpecialBackground(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(62, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterSortBy> thenBySpecialBackgroundDesc(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(62, sort: Sort.desc, caseSensitive: caseSensitive);
    });
  }
}

extension MassnahmeQueryWhereDistinct
    on QueryBuilder<Massnahme, Massnahme, QDistinct> {
  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByOrderString(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(1, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByName(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(2, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByExamples(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(4, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByFactsheetDefinition({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(5, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByFactsheetTarget(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(6, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByScientificBackgroundRedundant({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(7, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByFactsheetScientificBackground({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(8, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctBySources(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(9, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByAttachmentReminder({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(11, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByAttachmentWorkSteps({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(12, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByFactsheetLocation({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(13, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByFactsheetSizeArea({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(14, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByRedundantAllowance({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(15, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByMoneyAction(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(16, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByTimeAction(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(17, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByServiceProvider(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(18, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByAttachmentTip(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(19, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByTimeMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(20, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByWorkMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(21, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctBySpecialsMaintenance({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(23, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByMatchingActions(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(24, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByRedundantExpertise({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(25, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByRequiredTimeForAction({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(37, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByCostsMaterial(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(38, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByTimeframeActionAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(42, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByRequirements(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(45, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByTimeMaintenanceAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(47, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByDone() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(49);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByFrequencyMaintenanceAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(53, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctBySpecialCreation(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(54, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByOekologischeRelevanzBackground({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(55, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByRemarkablePresets({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(56, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByRemarkableMaintenance({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(57, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByTipsPresets(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(58, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByTipsMaintenance(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(59, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctByGoodToKnowAttachment({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(60, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct> distinctByTipsBackground(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(61, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<Massnahme, Massnahme, QAfterDistinct>
      distinctBySpecialBackground({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(62, caseSensitive: caseSensitive);
    });
  }
}

extension MassnahmeQueryProperty1
    on QueryBuilder<Massnahme, Massnahme, QProperty> {
  QueryBuilder<Massnahme, int, QAfterProperty> idProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(0);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> orderStringProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(1);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> nameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(2);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      factsheetAreaTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(3);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> examplesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(4);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      factsheetDefinitionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> factsheetTargetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(6);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      scientificBackgroundRedundantProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(7);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      factsheetScientificBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(8);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> sourcesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(9);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      timeFrameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(10);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      attachmentReminderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(11);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      attachmentWorkStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(12);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> factsheetLocationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(13);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> factsheetSizeAreaProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(14);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      redundantAllowanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(15);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> moneyActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(16);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> timeActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(17);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> serviceProviderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(18);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> attachmentTipProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(19);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> timeMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(20);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> workMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(21);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      frequencyMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(22);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      specialsMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(23);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> matchingActionsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(24);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      redundantExpertiseProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(25);
    });
  }

  QueryBuilder<Massnahme, List<IdValue>?, QAfterProperty>
      organismActionsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(26);
    });
  }

  QueryBuilder<Massnahme, IdValueColor?, QAfterProperty> actionGroupProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(27);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      fundingProgramsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(28);
    });
  }

  QueryBuilder<Massnahme, List<FilePart>?, QAfterProperty> filesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(29);
    });
  }

  QueryBuilder<Massnahme, List<IdValue>?, QAfterProperty>
      numberOfActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(30);
    });
  }

  QueryBuilder<Massnahme, List<IdValue>?, QAfterProperty>
      factsheetStatusProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(31);
    });
  }

  QueryBuilder<Massnahme, List<IdValue>?, QAfterProperty>
      requiredLocationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(32);
    });
  }

  QueryBuilder<Massnahme, List<IdValue>?, QAfterProperty> businessProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(33);
    });
  }

  QueryBuilder<Massnahme, List<IdValue>?, QAfterProperty>
      referenceActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(34);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      attachmentMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(35);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      requiredAllowanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(36);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      requiredTimeForActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(37);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> costsMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(38);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      expertiseWorkerProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(39);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      expertiseContactProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(40);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      materialActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(41);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      timeframeActionAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(42);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      maintenanceMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(43);
    });
  }

  QueryBuilder<Massnahme, List<IdValue>?, QAfterProperty>
      sourcesListProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(44);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> requirementsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(45);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      materialMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(46);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      timeMaintenanceAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(47);
    });
  }

  QueryBuilder<Massnahme, List<IdValue>?, QAfterProperty>
      combinedActionsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(48);
    });
  }

  QueryBuilder<Massnahme, bool?, QAfterProperty> doneProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(49);
    });
  }

  QueryBuilder<Massnahme, List<IdValueMix>?, QAfterProperty>
      existingFactSheetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(50);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      timeframeMaintenance2Property() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(51);
    });
  }

  QueryBuilder<Massnahme, List<IdValueColor>?, QAfterProperty>
      treeTypesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(52);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      frequencyMaintenanceAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(53);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> specialCreationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(54);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      oekologischeRelevanzBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(55);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> remarkablePresetsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(56);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      remarkableMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(57);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> tipsPresetsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(58);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> tipsMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(59);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty>
      goodToKnowAttachmentProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(60);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> tipsBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(61);
    });
  }

  QueryBuilder<Massnahme, String?, QAfterProperty> specialBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(62);
    });
  }

  QueryBuilder<Massnahme, List<IdValue>?, QAfterProperty>
      sourcesUsedInDataSheetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(63);
    });
  }
}

extension MassnahmeQueryProperty2<R>
    on QueryBuilder<Massnahme, R, QAfterProperty> {
  QueryBuilder<Massnahme, (R, int), QAfterProperty> idProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(0);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty> orderStringProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(1);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty> nameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(2);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      factsheetAreaTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(3);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty> examplesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(4);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      factsheetDefinitionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      factsheetTargetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(6);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      scientificBackgroundRedundantProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(7);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      factsheetScientificBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(8);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty> sourcesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(9);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      timeFrameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(10);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      attachmentReminderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(11);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      attachmentWorkStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(12);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      factsheetLocationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(13);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      factsheetSizeAreaProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(14);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      redundantAllowanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(15);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty> moneyActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(16);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty> timeActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(17);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      serviceProviderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(18);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      attachmentTipProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(19);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      timeMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(20);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      workMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(21);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      frequencyMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(22);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      specialsMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(23);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      matchingActionsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(24);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      redundantExpertiseProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(25);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValue>?), QAfterProperty>
      organismActionsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(26);
    });
  }

  QueryBuilder<Massnahme, (R, IdValueColor?), QAfterProperty>
      actionGroupProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(27);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      fundingProgramsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(28);
    });
  }

  QueryBuilder<Massnahme, (R, List<FilePart>?), QAfterProperty>
      filesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(29);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValue>?), QAfterProperty>
      numberOfActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(30);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValue>?), QAfterProperty>
      factsheetStatusProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(31);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValue>?), QAfterProperty>
      requiredLocationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(32);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValue>?), QAfterProperty>
      businessProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(33);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValue>?), QAfterProperty>
      referenceActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(34);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      attachmentMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(35);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      requiredAllowanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(36);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      requiredTimeForActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(37);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      costsMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(38);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      expertiseWorkerProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(39);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      expertiseContactProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(40);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      materialActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(41);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      timeframeActionAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(42);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      maintenanceMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(43);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValue>?), QAfterProperty>
      sourcesListProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(44);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty> requirementsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(45);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      materialMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(46);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      timeMaintenanceAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(47);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValue>?), QAfterProperty>
      combinedActionsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(48);
    });
  }

  QueryBuilder<Massnahme, (R, bool?), QAfterProperty> doneProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(49);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueMix>?), QAfterProperty>
      existingFactSheetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(50);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      timeframeMaintenance2Property() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(51);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValueColor>?), QAfterProperty>
      treeTypesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(52);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      frequencyMaintenanceAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(53);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      specialCreationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(54);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      oekologischeRelevanzBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(55);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      remarkablePresetsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(56);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      remarkableMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(57);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty> tipsPresetsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(58);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      tipsMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(59);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      goodToKnowAttachmentProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(60);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      tipsBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(61);
    });
  }

  QueryBuilder<Massnahme, (R, String?), QAfterProperty>
      specialBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(62);
    });
  }

  QueryBuilder<Massnahme, (R, List<IdValue>?), QAfterProperty>
      sourcesUsedInDataSheetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(63);
    });
  }
}

extension MassnahmeQueryProperty3<R1, R2>
    on QueryBuilder<Massnahme, (R1, R2), QAfterProperty> {
  QueryBuilder<Massnahme, (R1, R2, int), QOperations> idProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(0);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      orderStringProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(1);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations> nameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(2);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      factsheetAreaTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(3);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations> examplesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(4);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      factsheetDefinitionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      factsheetTargetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(6);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      scientificBackgroundRedundantProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(7);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      factsheetScientificBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(8);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations> sourcesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(9);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      timeFrameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(10);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      attachmentReminderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(11);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      attachmentWorkStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(12);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      factsheetLocationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(13);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      factsheetSizeAreaProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(14);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      redundantAllowanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(15);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      moneyActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(16);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations> timeActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(17);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      serviceProviderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(18);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      attachmentTipProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(19);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      timeMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(20);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      workMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(21);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      frequencyMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(22);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      specialsMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(23);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      matchingActionsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(24);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      redundantExpertiseProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(25);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValue>?), QOperations>
      organismActionsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(26);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, IdValueColor?), QOperations>
      actionGroupProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(27);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      fundingProgramsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(28);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<FilePart>?), QOperations>
      filesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(29);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValue>?), QOperations>
      numberOfActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(30);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValue>?), QOperations>
      factsheetStatusProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(31);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValue>?), QOperations>
      requiredLocationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(32);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValue>?), QOperations>
      businessProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(33);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValue>?), QOperations>
      referenceActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(34);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      attachmentMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(35);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      requiredAllowanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(36);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      requiredTimeForActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(37);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      costsMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(38);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      expertiseWorkerProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(39);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      expertiseContactProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(40);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      materialActionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(41);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      timeframeActionAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(42);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      maintenanceMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(43);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValue>?), QOperations>
      sourcesListProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(44);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      requirementsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(45);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      materialMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(46);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      timeMaintenanceAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(47);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValue>?), QOperations>
      combinedActionsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(48);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, bool?), QOperations> doneProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(49);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueMix>?), QOperations>
      existingFactSheetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(50);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      timeframeMaintenance2Property() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(51);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValueColor>?), QOperations>
      treeTypesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(52);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      frequencyMaintenanceAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(53);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      specialCreationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(54);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      oekologischeRelevanzBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(55);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      remarkablePresetsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(56);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      remarkableMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(57);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      tipsPresetsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(58);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      tipsMaintenanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(59);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      goodToKnowAttachmentProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(60);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      tipsBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(61);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, String?), QOperations>
      specialBackgroundProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(62);
    });
  }

  QueryBuilder<Massnahme, (R1, R2, List<IdValue>?), QOperations>
      sourcesUsedInDataSheetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(63);
    });
  }
}

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

Massnahme _$MassnahmeFromJson(Map<String, dynamic> json) => Massnahme()
  ..id = (json['id'] as num).toInt()
  ..orderString = json['order'] as String?
  ..name = json['Maßnahmenbezeichung'] as String?
  ..factsheetAreaType = (json['Flächentyp Factsheet'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..examples = json['Beispielabbildung\\\n(Link)'] as String?
  ..factsheetDefinition = json['Definition Factsheet'] as String?
  ..factsheetTarget = json['Zielsetzung Factsheet'] as String?
  ..scientificBackgroundRedundant =
      json['Wissenschaftlicher Hintergrund redundant'] as String?
  ..factsheetScientificBackground =
      json['Wissenschaftlicher Hintergrund Factsheet'] as String?
  ..sources = json['Quellen'] as String?
  ..timeFrame = (json['Zeitrahmen Anlage'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..attachmentReminder = json['Beachtenswert - Anlage'] as String?
  ..attachmentWorkSteps = json['Arbeitsschritte Anlage'] as String?
  ..factsheetLocation = json['Standort Fact Sheet'] as String?
  ..factsheetSizeArea = json['Größe/Fläche Factsheet'] as String?
  ..redundantAllowance = json['Genehmigungspflicht redundant'] as String?
  ..moneyAction = json['Fachgerechte Umsetzung_Anlage_Kosten_Geld'] as String?
  ..timeAction = json['Fachgerechte Umsetzung_Anlage_Kosten_Zeit'] as String?
  ..serviceProvider = json['Dienstleister redundant'] as String?
  ..attachmentTip = json['Tipp -  Anlage'] as String?
  ..timeMaintenance = json['Zeitrahmen Pflege'] as String?
  ..workMaintenance = json['Arbeitsschritte Pflege'] as String?
  ..frequencyMaintenance = (json['Frequenz Pflege'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..specialsMaintenance = json['Besonderheiten - Pflege'] as String?
  ..matchingActions = json['Maßnahmenkombination (passt gut zu)'] as String?
  ..redundantExpertise = json['Fachexpertise redundant'] as String?
  ..organismActions =
      (json['Maßnahmen_geförderte_Organismen'] as List<dynamic>?)
          ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
          .toList()
  ..actionGroup = json['Maßnahmengruppe'] == null
      ? null
      : IdValueColor.fromJson(json['Maßnahmengruppe'] as Map<String, dynamic>)
  ..fundingPrograms = (json['Förderprogramme'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..files = (json['Datei'] as List<dynamic>?)
      ?.map((e) => FilePart.fromJson(e as Map<String, dynamic>))
      .toList()
  ..numberOfAction = (json['Maßnahmennummer'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..factsheetStatus = (json['Factsheet_Status'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..requiredLocation = (json['04 Standortansprüche'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..business = (json['06 Betriebsverzeichnis'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..referenceAction = (json['05 Referenzumsetzung'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..attachmentMaterial = (json['Material Anlage'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..requiredAllowance = (json['08 Genehmigungspflicht'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..requiredTimeForAction = json['Zeitaufwand Anlage (Minuten)'] as String?
  ..costsMaterial = json['Materialkosten'] as String?
  ..expertiseWorker = (json['Fachexpertise Dienstleister'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..expertiseContact = (json['Fachexpertise Ansprechperson'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..materialAction = (json['Arbeitsmittel Anlage'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..timeframeActionAdditional = json['Zeitrahmen Anlage Zusatz'] as String?
  ..maintenanceMaterial = (json['Arbeitsmittel Pflege'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..sourcesList = (json['12 Quellen'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..requirements = json['Sonstiges - Voraussetzungen'] as String?
  ..materialMaintenance = (json['Material - Pflege'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..timeMaintenanceAdditional = json['Pflege Zeitrahmen Zusatz'] as String?
  ..combinedActions = (json['Maßnahmenkombinationen'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..done = json['Bearbeitet'] as bool?
  ..existingFactSheet = (json['Factsheet vorhanden'] as List<dynamic>?)
      ?.map((e) => IdValueMix.fromJson(e as Map<String, dynamic>))
      .toList()
  ..timeframeMaintenance2 = (json['Zeitrahmen Pflege 2'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..treeTypes = (json['13 Baumarten'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..frequencyMaintenanceAdditional = json['Pflege Frequenz Zusatz'] as String?
  ..specialCreation = json['Besonderheiten - Anlage'] as String?
  ..oekologischeRelevanzBackground =
      json['Ökologische Relevanz - Hintergrund'] as String?
  ..remarkablePresets = json['Beachtenswert - Vorraussetzungen'] as String?
  ..remarkableMaintenance = json['Beachtenswert .- Pflege'] as String?
  ..tipsPresets = json['Tipp - Vorraussetzungen'] as String?
  ..tipsMaintenance = json['Tipp - Pflege'] as String?
  ..goodToKnowAttachment = json['Gut zu wissen - Anlage'] as String?
  ..tipsBackground = json['Hintergrund - Tipps'] as String?
  ..specialBackground = json['Besonderheit - Hintergrund'] as String?
  ..sourcesUsedInDataSheet =
      (json['12 Quellen - Verwendet in Maßnahmendatenblatt'] as List<dynamic>?)
          ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
          .toList();

Map<String, dynamic> _$MassnahmeToJson(Massnahme instance) => <String, dynamic>{
      'id': instance.id,
      'order': instance.orderString,
      'Maßnahmenbezeichung': instance.name,
      'Flächentyp Factsheet':
          instance.factsheetAreaType?.map((e) => e.toJson()).toList(),
      'Beispielabbildung\\\n(Link)': instance.examples,
      'Definition Factsheet': instance.factsheetDefinition,
      'Zielsetzung Factsheet': instance.factsheetTarget,
      'Wissenschaftlicher Hintergrund redundant':
          instance.scientificBackgroundRedundant,
      'Wissenschaftlicher Hintergrund Factsheet':
          instance.factsheetScientificBackground,
      'Quellen': instance.sources,
      'Zeitrahmen Anlage': instance.timeFrame?.map((e) => e.toJson()).toList(),
      'Beachtenswert - Anlage': instance.attachmentReminder,
      'Arbeitsschritte Anlage': instance.attachmentWorkSteps,
      'Standort Fact Sheet': instance.factsheetLocation,
      'Größe/Fläche Factsheet': instance.factsheetSizeArea,
      'Genehmigungspflicht redundant': instance.redundantAllowance,
      'Fachgerechte Umsetzung_Anlage_Kosten_Geld': instance.moneyAction,
      'Fachgerechte Umsetzung_Anlage_Kosten_Zeit': instance.timeAction,
      'Dienstleister redundant': instance.serviceProvider,
      'Tipp -  Anlage': instance.attachmentTip,
      'Zeitrahmen Pflege': instance.timeMaintenance,
      'Arbeitsschritte Pflege': instance.workMaintenance,
      'Frequenz Pflege':
          instance.frequencyMaintenance?.map((e) => e.toJson()).toList(),
      'Besonderheiten - Pflege': instance.specialsMaintenance,
      'Maßnahmenkombination (passt gut zu)': instance.matchingActions,
      'Fachexpertise redundant': instance.redundantExpertise,
      'Maßnahmen_geförderte_Organismen':
          instance.organismActions?.map((e) => e.toJson()).toList(),
      'Maßnahmengruppe': instance.actionGroup?.toJson(),
      'Förderprogramme':
          instance.fundingPrograms?.map((e) => e.toJson()).toList(),
      'Datei': instance.files?.map((e) => e.toJson()).toList(),
      'Maßnahmennummer':
          instance.numberOfAction?.map((e) => e.toJson()).toList(),
      'Factsheet_Status':
          instance.factsheetStatus?.map((e) => e.toJson()).toList(),
      '04 Standortansprüche':
          instance.requiredLocation?.map((e) => e.toJson()).toList(),
      '06 Betriebsverzeichnis':
          instance.business?.map((e) => e.toJson()).toList(),
      '05 Referenzumsetzung':
          instance.referenceAction?.map((e) => e.toJson()).toList(),
      'Material Anlage':
          instance.attachmentMaterial?.map((e) => e.toJson()).toList(),
      '08 Genehmigungspflicht':
          instance.requiredAllowance?.map((e) => e.toJson()).toList(),
      'Zeitaufwand Anlage (Minuten)': instance.requiredTimeForAction,
      'Materialkosten': instance.costsMaterial,
      'Fachexpertise Dienstleister':
          instance.expertiseWorker?.map((e) => e.toJson()).toList(),
      'Fachexpertise Ansprechperson':
          instance.expertiseContact?.map((e) => e.toJson()).toList(),
      'Arbeitsmittel Anlage':
          instance.materialAction?.map((e) => e.toJson()).toList(),
      'Zeitrahmen Anlage Zusatz': instance.timeframeActionAdditional,
      'Arbeitsmittel Pflege':
          instance.maintenanceMaterial?.map((e) => e.toJson()).toList(),
      '12 Quellen': instance.sourcesList?.map((e) => e.toJson()).toList(),
      'Sonstiges - Voraussetzungen': instance.requirements,
      'Material - Pflege':
          instance.materialMaintenance?.map((e) => e.toJson()).toList(),
      'Pflege Zeitrahmen Zusatz': instance.timeMaintenanceAdditional,
      'Maßnahmenkombinationen':
          instance.combinedActions?.map((e) => e.toJson()).toList(),
      'Bearbeitet': instance.done,
      'Factsheet vorhanden':
          instance.existingFactSheet?.map((e) => e.toJson()).toList(),
      'Zeitrahmen Pflege 2':
          instance.timeframeMaintenance2?.map((e) => e.toJson()).toList(),
      '13 Baumarten': instance.treeTypes?.map((e) => e.toJson()).toList(),
      'Pflege Frequenz Zusatz': instance.frequencyMaintenanceAdditional,
      'Besonderheiten - Anlage': instance.specialCreation,
      'Ökologische Relevanz - Hintergrund':
          instance.oekologischeRelevanzBackground,
      'Beachtenswert - Vorraussetzungen': instance.remarkablePresets,
      'Beachtenswert .- Pflege': instance.remarkableMaintenance,
      'Tipp - Vorraussetzungen': instance.tipsPresets,
      'Tipp - Pflege': instance.tipsMaintenance,
      'Gut zu wissen - Anlage': instance.goodToKnowAttachment,
      'Hintergrund - Tipps': instance.tipsBackground,
      'Besonderheit - Hintergrund': instance.specialBackground,
      '12 Quellen - Verwendet in Maßnahmendatenblatt':
          instance.sourcesUsedInDataSheet?.map((e) => e.toJson()).toList(),
    };
