// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'measure_types.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 GetMeasureTypesCollection on Isar {
  IsarCollection<int, MeasureTypes> get measureTypes => this.collection();
}

const MeasureTypesSchema = IsarGeneratedSchema(
  schema: IsarSchema(
    name: 'MeasureTypes',
    idName: 'id',
    embedded: false,
    properties: [
      IsarPropertySchema(
        name: 'measureType',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureNumber',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'measureGroup',
        type: IsarType.object,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'bioDivScoreCategory',
        type: IsarType.long,
      ),
      IsarPropertySchema(
        name: 'measureCategory',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'description',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'objective',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'scientificBackgroundRedundant',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'sources',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyTimeFrame',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'applyTimeFrameAdditional',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyTools',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'applyMaterial',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'applyReminder',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyWorkSteps',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyLocation',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applySize',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyAllowance',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyCosts',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyMaterialCosts',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyTime',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyTimeMinutes',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyTips',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'maintenanceTimeFrame',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'maintenanceTimeFrameAdditional',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'maintenanceWorkSteps',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'maintenanceTools',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'maintenanceMaterial',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'maintenanceFrequency',
        type: IsarType.objectList,
        target: 'IdValueColor',
      ),
      IsarPropertySchema(
        name: 'maintenanceFrequencyAdditional',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'maintenanceSpecialFeature',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'maintenanceTips',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureCombination',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureTechnicalExpertise',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureTechnicalExpertiseServiceProvider',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'measureTechnicalExpertiseContactPerson',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'fundingProgram',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'files',
        type: IsarType.objectList,
        target: 'FilePart',
      ),
      IsarPropertySchema(
        name: 'referenceImplementation',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'combinations',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
      IsarPropertySchema(
        name: 'ecologicalRelevance',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'requirementTips',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'factsheetSources',
        type: IsarType.objectList,
        target: 'IdValue',
      ),
    ],
    indexes: [
      IsarIndexSchema(
        name: 'measureType',
        properties: [
          "measureType",
        ],
        unique: false,
        hash: false,
      ),
    ],
  ),
  converter: IsarObjectConverter<int, MeasureTypes>(
    serialize: serializeMeasureTypes,
    deserialize: deserializeMeasureTypes,
    deserializeProperty: deserializeMeasureTypesProp,
  ),
  embeddedSchemas: [
    IdValueSchema,
    IdValueColorSchema,
    FilePartSchema,
    ThumbnailsSchema,
    ThumbnailSchema
  ],
);

@isarProtected
int serializeMeasureTypes(IsarWriter writer, MeasureTypes object) {
  {
    final value = object.measureType;
    if (value == null) {
      IsarCore.writeNull(writer, 1);
    } else {
      IsarCore.writeString(writer, 1, value);
    }
  }
  {
    final list = object.measureNumber;
    if (list == null) {
      IsarCore.writeNull(writer, 2);
    } else {
      final listWriter = IsarCore.beginList(writer, 2, 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.measureGroup;
    if (value == null) {
      IsarCore.writeNull(writer, 3);
    } else {
      final objectWriter = IsarCore.beginObject(writer, 3);
      serializeIdValueColor(objectWriter, value);
      IsarCore.endObject(writer, objectWriter);
    }
  }
  IsarCore.writeLong(
      writer, 4, object.bioDivScoreCategory ?? -9223372036854775808);
  {
    final list = object.measureCategory;
    if (list == null) {
      IsarCore.writeNull(writer, 5);
    } else {
      final listWriter = IsarCore.beginList(writer, 5, 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.description;
    if (value == null) {
      IsarCore.writeNull(writer, 6);
    } else {
      IsarCore.writeString(writer, 6, value);
    }
  }
  {
    final value = object.objective;
    if (value == null) {
      IsarCore.writeNull(writer, 7);
    } else {
      IsarCore.writeString(writer, 7, value);
    }
  }
  {
    final value = object.scientificBackgroundRedundant;
    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.applyTimeFrame;
    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.applyTimeFrameAdditional;
    if (value == null) {
      IsarCore.writeNull(writer, 11);
    } else {
      IsarCore.writeString(writer, 11, value);
    }
  }
  {
    final list = object.applyTools;
    if (list == null) {
      IsarCore.writeNull(writer, 12);
    } else {
      final listWriter = IsarCore.beginList(writer, 12, 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.applyMaterial;
    if (list == null) {
      IsarCore.writeNull(writer, 13);
    } else {
      final listWriter = IsarCore.beginList(writer, 13, 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.applyReminder;
    if (value == null) {
      IsarCore.writeNull(writer, 14);
    } else {
      IsarCore.writeString(writer, 14, value);
    }
  }
  {
    final value = object.applyWorkSteps;
    if (value == null) {
      IsarCore.writeNull(writer, 15);
    } else {
      IsarCore.writeString(writer, 15, value);
    }
  }
  {
    final value = object.applyLocation;
    if (value == null) {
      IsarCore.writeNull(writer, 16);
    } else {
      IsarCore.writeString(writer, 16, value);
    }
  }
  {
    final value = object.applySize;
    if (value == null) {
      IsarCore.writeNull(writer, 17);
    } else {
      IsarCore.writeString(writer, 17, value);
    }
  }
  {
    final value = object.applyAllowance;
    if (value == null) {
      IsarCore.writeNull(writer, 18);
    } else {
      IsarCore.writeString(writer, 18, value);
    }
  }
  {
    final value = object.applyCosts;
    if (value == null) {
      IsarCore.writeNull(writer, 19);
    } else {
      IsarCore.writeString(writer, 19, value);
    }
  }
  {
    final value = object.applyMaterialCosts;
    if (value == null) {
      IsarCore.writeNull(writer, 20);
    } else {
      IsarCore.writeString(writer, 20, value);
    }
  }
  {
    final value = object.applyTime;
    if (value == null) {
      IsarCore.writeNull(writer, 21);
    } else {
      IsarCore.writeString(writer, 21, value);
    }
  }
  {
    final value = object.applyTimeMinutes;
    if (value == null) {
      IsarCore.writeNull(writer, 22);
    } else {
      IsarCore.writeString(writer, 22, value);
    }
  }
  {
    final value = object.applyTips;
    if (value == null) {
      IsarCore.writeNull(writer, 23);
    } else {
      IsarCore.writeString(writer, 23, value);
    }
  }
  {
    final list = object.maintenanceTimeFrame;
    if (list == null) {
      IsarCore.writeNull(writer, 24);
    } else {
      final listWriter = IsarCore.beginList(writer, 24, 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.maintenanceTimeFrameAdditional;
    if (value == null) {
      IsarCore.writeNull(writer, 25);
    } else {
      IsarCore.writeString(writer, 25, value);
    }
  }
  {
    final value = object.maintenanceWorkSteps;
    if (value == null) {
      IsarCore.writeNull(writer, 26);
    } else {
      IsarCore.writeString(writer, 26, value);
    }
  }
  {
    final list = object.maintenanceTools;
    if (list == null) {
      IsarCore.writeNull(writer, 27);
    } else {
      final listWriter = IsarCore.beginList(writer, 27, 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.maintenanceMaterial;
    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.maintenanceFrequency;
    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);
          serializeIdValueColor(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.maintenanceFrequencyAdditional;
    if (value == null) {
      IsarCore.writeNull(writer, 30);
    } else {
      IsarCore.writeString(writer, 30, value);
    }
  }
  {
    final value = object.maintenanceSpecialFeature;
    if (value == null) {
      IsarCore.writeNull(writer, 31);
    } else {
      IsarCore.writeString(writer, 31, value);
    }
  }
  {
    final value = object.maintenanceTips;
    if (value == null) {
      IsarCore.writeNull(writer, 32);
    } else {
      IsarCore.writeString(writer, 32, value);
    }
  }
  {
    final value = object.measureCombination;
    if (value == null) {
      IsarCore.writeNull(writer, 33);
    } else {
      IsarCore.writeString(writer, 33, value);
    }
  }
  {
    final value = object.measureTechnicalExpertise;
    if (value == null) {
      IsarCore.writeNull(writer, 34);
    } else {
      IsarCore.writeString(writer, 34, value);
    }
  }
  {
    final list = object.measureTechnicalExpertiseServiceProvider;
    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);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.measureTechnicalExpertiseContactPerson;
    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);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.fundingProgram;
    if (list == null) {
      IsarCore.writeNull(writer, 37);
    } else {
      final listWriter = IsarCore.beginList(writer, 37, 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.files;
    if (list == null) {
      IsarCore.writeNull(writer, 38);
    } else {
      final listWriter = IsarCore.beginList(writer, 38, 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.referenceImplementation;
    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);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.combinations;
    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);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.ecologicalRelevance;
    if (value == null) {
      IsarCore.writeNull(writer, 41);
    } else {
      IsarCore.writeString(writer, 41, value);
    }
  }
  {
    final value = object.requirementTips;
    if (value == null) {
      IsarCore.writeNull(writer, 42);
    } else {
      IsarCore.writeString(writer, 42, value);
    }
  }
  {
    final list = object.factsheetSources;
    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);
          serializeIdValue(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  return object.id;
}

@isarProtected
MeasureTypes deserializeMeasureTypes(IsarReader reader) {
  final object = MeasureTypes();
  object.measureType = IsarCore.readString(reader, 1);
  {
    final length = IsarCore.readList(reader, 2, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.measureNumber = 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.measureNumber = list;
      }
    }
  }
  {
    final objectReader = IsarCore.readObject(reader, 3);
    if (objectReader.isNull) {
      object.measureGroup = null;
    } else {
      final embedded = deserializeIdValueColor(objectReader);
      IsarCore.freeReader(objectReader);
      object.measureGroup = embedded;
    }
  }
  {
    final value = IsarCore.readLong(reader, 4);
    if (value == -9223372036854775808) {
      object.bioDivScoreCategory = null;
    } else {
      object.bioDivScoreCategory = value;
    }
  }
  {
    final length = IsarCore.readList(reader, 5, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.measureCategory = 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.measureCategory = list;
      }
    }
  }
  object.description = IsarCore.readString(reader, 6);
  object.objective = IsarCore.readString(reader, 7);
  object.scientificBackgroundRedundant = 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.applyTimeFrame = 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.applyTimeFrame = list;
      }
    }
  }
  object.applyTimeFrameAdditional = IsarCore.readString(reader, 11);
  {
    final length = IsarCore.readList(reader, 12, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.applyTools = 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.applyTools = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 13, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.applyMaterial = 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.applyMaterial = list;
      }
    }
  }
  object.applyReminder = IsarCore.readString(reader, 14);
  object.applyWorkSteps = IsarCore.readString(reader, 15);
  object.applyLocation = IsarCore.readString(reader, 16);
  object.applySize = IsarCore.readString(reader, 17);
  object.applyAllowance = IsarCore.readString(reader, 18);
  object.applyCosts = IsarCore.readString(reader, 19);
  object.applyMaterialCosts = IsarCore.readString(reader, 20);
  object.applyTime = IsarCore.readString(reader, 21);
  object.applyTimeMinutes = IsarCore.readString(reader, 22);
  object.applyTips = IsarCore.readString(reader, 23);
  {
    final length = IsarCore.readList(reader, 24, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.maintenanceTimeFrame = 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.maintenanceTimeFrame = list;
      }
    }
  }
  object.maintenanceTimeFrameAdditional = IsarCore.readString(reader, 25);
  object.maintenanceWorkSteps = IsarCore.readString(reader, 26);
  {
    final length = IsarCore.readList(reader, 27, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.maintenanceTools = 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.maintenanceTools = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 28, 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, 29, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.maintenanceFrequency = 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.maintenanceFrequency = list;
      }
    }
  }
  object.maintenanceFrequencyAdditional = IsarCore.readString(reader, 30);
  object.maintenanceSpecialFeature = IsarCore.readString(reader, 31);
  object.maintenanceTips = IsarCore.readString(reader, 32);
  object.measureCombination = IsarCore.readString(reader, 33);
  object.measureTechnicalExpertise = IsarCore.readString(reader, 34);
  {
    final length = IsarCore.readList(reader, 35, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.measureTechnicalExpertiseServiceProvider = 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.measureTechnicalExpertiseServiceProvider = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 36, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.measureTechnicalExpertiseContactPerson = 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.measureTechnicalExpertiseContactPerson = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 37, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.fundingProgram = 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.fundingProgram = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 38, 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, 39, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.referenceImplementation = 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.referenceImplementation = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 40, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.combinations = 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.combinations = list;
      }
    }
  }
  object.ecologicalRelevance = IsarCore.readString(reader, 41);
  object.requirementTips = IsarCore.readString(reader, 42);
  {
    final length = IsarCore.readList(reader, 43, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.factsheetSources = 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.factsheetSources = list;
      }
    }
  }
  object.id = IsarCore.readId(reader);
  return object;
}

@isarProtected
dynamic deserializeMeasureTypesProp(IsarReader reader, int property) {
  switch (property) {
    case 1:
      return IsarCore.readString(reader, 1);
    case 2:
      {
        final length = IsarCore.readList(reader, 2, 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 3:
      {
        final objectReader = IsarCore.readObject(reader, 3);
        if (objectReader.isNull) {
          return null;
        } else {
          final embedded = deserializeIdValueColor(objectReader);
          IsarCore.freeReader(objectReader);
          return embedded;
        }
      }
    case 4:
      {
        final value = IsarCore.readLong(reader, 4);
        if (value == -9223372036854775808) {
          return null;
        } else {
          return value;
        }
      }
    case 5:
      {
        final length = IsarCore.readList(reader, 5, 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 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:
      {
        final length = IsarCore.readList(reader, 12, 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 13:
      {
        final length = IsarCore.readList(reader, 13, 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 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:
      return IsarCore.readString(reader, 22);
    case 23:
      return IsarCore.readString(reader, 23);
    case 24:
      {
        final length = IsarCore.readList(reader, 24, 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 25:
      return IsarCore.readString(reader, 25);
    case 26:
      return IsarCore.readString(reader, 26);
    case 27:
      {
        final length = IsarCore.readList(reader, 27, 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 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<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 30:
      return IsarCore.readString(reader, 30);
    case 31:
      return IsarCore.readString(reader, 31);
    case 32:
      return IsarCore.readString(reader, 32);
    case 33:
      return IsarCore.readString(reader, 33);
    case 34:
      return IsarCore.readString(reader, 34);
    case 35:
      {
        final length = IsarCore.readList(reader, 35, 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 36:
      {
        final length = IsarCore.readList(reader, 36, 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 37:
      {
        final length = IsarCore.readList(reader, 37, 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 38:
      {
        final length = IsarCore.readList(reader, 38, 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 39:
      {
        final length = IsarCore.readList(reader, 39, 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 40:
      {
        final length = IsarCore.readList(reader, 40, 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 41:
      return IsarCore.readString(reader, 41);
    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<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 0:
      return IsarCore.readId(reader);
    default:
      throw ArgumentError('Unknown property: $property');
  }
}

sealed class _MeasureTypesUpdate {
  bool call({
    required int id,
    String? measureType,
    int? bioDivScoreCategory,
    String? description,
    String? objective,
    String? scientificBackgroundRedundant,
    String? sources,
    String? applyTimeFrameAdditional,
    String? applyReminder,
    String? applyWorkSteps,
    String? applyLocation,
    String? applySize,
    String? applyAllowance,
    String? applyCosts,
    String? applyMaterialCosts,
    String? applyTime,
    String? applyTimeMinutes,
    String? applyTips,
    String? maintenanceTimeFrameAdditional,
    String? maintenanceWorkSteps,
    String? maintenanceFrequencyAdditional,
    String? maintenanceSpecialFeature,
    String? maintenanceTips,
    String? measureCombination,
    String? measureTechnicalExpertise,
    String? ecologicalRelevance,
    String? requirementTips,
  });
}

class _MeasureTypesUpdateImpl implements _MeasureTypesUpdate {
  const _MeasureTypesUpdateImpl(this.collection);

  final IsarCollection<int, MeasureTypes> collection;

  @override
  bool call({
    required int id,
    Object? measureType = ignore,
    Object? bioDivScoreCategory = ignore,
    Object? description = ignore,
    Object? objective = ignore,
    Object? scientificBackgroundRedundant = ignore,
    Object? sources = ignore,
    Object? applyTimeFrameAdditional = ignore,
    Object? applyReminder = ignore,
    Object? applyWorkSteps = ignore,
    Object? applyLocation = ignore,
    Object? applySize = ignore,
    Object? applyAllowance = ignore,
    Object? applyCosts = ignore,
    Object? applyMaterialCosts = ignore,
    Object? applyTime = ignore,
    Object? applyTimeMinutes = ignore,
    Object? applyTips = ignore,
    Object? maintenanceTimeFrameAdditional = ignore,
    Object? maintenanceWorkSteps = ignore,
    Object? maintenanceFrequencyAdditional = ignore,
    Object? maintenanceSpecialFeature = ignore,
    Object? maintenanceTips = ignore,
    Object? measureCombination = ignore,
    Object? measureTechnicalExpertise = ignore,
    Object? ecologicalRelevance = ignore,
    Object? requirementTips = ignore,
  }) {
    return collection.updateProperties([
          id
        ], {
          if (measureType != ignore) 1: measureType as String?,
          if (bioDivScoreCategory != ignore) 4: bioDivScoreCategory as int?,
          if (description != ignore) 6: description as String?,
          if (objective != ignore) 7: objective as String?,
          if (scientificBackgroundRedundant != ignore)
            8: scientificBackgroundRedundant as String?,
          if (sources != ignore) 9: sources as String?,
          if (applyTimeFrameAdditional != ignore)
            11: applyTimeFrameAdditional as String?,
          if (applyReminder != ignore) 14: applyReminder as String?,
          if (applyWorkSteps != ignore) 15: applyWorkSteps as String?,
          if (applyLocation != ignore) 16: applyLocation as String?,
          if (applySize != ignore) 17: applySize as String?,
          if (applyAllowance != ignore) 18: applyAllowance as String?,
          if (applyCosts != ignore) 19: applyCosts as String?,
          if (applyMaterialCosts != ignore) 20: applyMaterialCosts as String?,
          if (applyTime != ignore) 21: applyTime as String?,
          if (applyTimeMinutes != ignore) 22: applyTimeMinutes as String?,
          if (applyTips != ignore) 23: applyTips as String?,
          if (maintenanceTimeFrameAdditional != ignore)
            25: maintenanceTimeFrameAdditional as String?,
          if (maintenanceWorkSteps != ignore)
            26: maintenanceWorkSteps as String?,
          if (maintenanceFrequencyAdditional != ignore)
            30: maintenanceFrequencyAdditional as String?,
          if (maintenanceSpecialFeature != ignore)
            31: maintenanceSpecialFeature as String?,
          if (maintenanceTips != ignore) 32: maintenanceTips as String?,
          if (measureCombination != ignore) 33: measureCombination as String?,
          if (measureTechnicalExpertise != ignore)
            34: measureTechnicalExpertise as String?,
          if (ecologicalRelevance != ignore) 41: ecologicalRelevance as String?,
          if (requirementTips != ignore) 42: requirementTips as String?,
        }) >
        0;
  }
}

sealed class _MeasureTypesUpdateAll {
  int call({
    required List<int> id,
    String? measureType,
    int? bioDivScoreCategory,
    String? description,
    String? objective,
    String? scientificBackgroundRedundant,
    String? sources,
    String? applyTimeFrameAdditional,
    String? applyReminder,
    String? applyWorkSteps,
    String? applyLocation,
    String? applySize,
    String? applyAllowance,
    String? applyCosts,
    String? applyMaterialCosts,
    String? applyTime,
    String? applyTimeMinutes,
    String? applyTips,
    String? maintenanceTimeFrameAdditional,
    String? maintenanceWorkSteps,
    String? maintenanceFrequencyAdditional,
    String? maintenanceSpecialFeature,
    String? maintenanceTips,
    String? measureCombination,
    String? measureTechnicalExpertise,
    String? ecologicalRelevance,
    String? requirementTips,
  });
}

class _MeasureTypesUpdateAllImpl implements _MeasureTypesUpdateAll {
  const _MeasureTypesUpdateAllImpl(this.collection);

  final IsarCollection<int, MeasureTypes> collection;

  @override
  int call({
    required List<int> id,
    Object? measureType = ignore,
    Object? bioDivScoreCategory = ignore,
    Object? description = ignore,
    Object? objective = ignore,
    Object? scientificBackgroundRedundant = ignore,
    Object? sources = ignore,
    Object? applyTimeFrameAdditional = ignore,
    Object? applyReminder = ignore,
    Object? applyWorkSteps = ignore,
    Object? applyLocation = ignore,
    Object? applySize = ignore,
    Object? applyAllowance = ignore,
    Object? applyCosts = ignore,
    Object? applyMaterialCosts = ignore,
    Object? applyTime = ignore,
    Object? applyTimeMinutes = ignore,
    Object? applyTips = ignore,
    Object? maintenanceTimeFrameAdditional = ignore,
    Object? maintenanceWorkSteps = ignore,
    Object? maintenanceFrequencyAdditional = ignore,
    Object? maintenanceSpecialFeature = ignore,
    Object? maintenanceTips = ignore,
    Object? measureCombination = ignore,
    Object? measureTechnicalExpertise = ignore,
    Object? ecologicalRelevance = ignore,
    Object? requirementTips = ignore,
  }) {
    return collection.updateProperties(id, {
      if (measureType != ignore) 1: measureType as String?,
      if (bioDivScoreCategory != ignore) 4: bioDivScoreCategory as int?,
      if (description != ignore) 6: description as String?,
      if (objective != ignore) 7: objective as String?,
      if (scientificBackgroundRedundant != ignore)
        8: scientificBackgroundRedundant as String?,
      if (sources != ignore) 9: sources as String?,
      if (applyTimeFrameAdditional != ignore)
        11: applyTimeFrameAdditional as String?,
      if (applyReminder != ignore) 14: applyReminder as String?,
      if (applyWorkSteps != ignore) 15: applyWorkSteps as String?,
      if (applyLocation != ignore) 16: applyLocation as String?,
      if (applySize != ignore) 17: applySize as String?,
      if (applyAllowance != ignore) 18: applyAllowance as String?,
      if (applyCosts != ignore) 19: applyCosts as String?,
      if (applyMaterialCosts != ignore) 20: applyMaterialCosts as String?,
      if (applyTime != ignore) 21: applyTime as String?,
      if (applyTimeMinutes != ignore) 22: applyTimeMinutes as String?,
      if (applyTips != ignore) 23: applyTips as String?,
      if (maintenanceTimeFrameAdditional != ignore)
        25: maintenanceTimeFrameAdditional as String?,
      if (maintenanceWorkSteps != ignore) 26: maintenanceWorkSteps as String?,
      if (maintenanceFrequencyAdditional != ignore)
        30: maintenanceFrequencyAdditional as String?,
      if (maintenanceSpecialFeature != ignore)
        31: maintenanceSpecialFeature as String?,
      if (maintenanceTips != ignore) 32: maintenanceTips as String?,
      if (measureCombination != ignore) 33: measureCombination as String?,
      if (measureTechnicalExpertise != ignore)
        34: measureTechnicalExpertise as String?,
      if (ecologicalRelevance != ignore) 41: ecologicalRelevance as String?,
      if (requirementTips != ignore) 42: requirementTips as String?,
    });
  }
}

extension MeasureTypesUpdate on IsarCollection<int, MeasureTypes> {
  _MeasureTypesUpdate get update => _MeasureTypesUpdateImpl(this);

  _MeasureTypesUpdateAll get updateAll => _MeasureTypesUpdateAllImpl(this);
}

sealed class _MeasureTypesQueryUpdate {
  int call({
    String? measureType,
    int? bioDivScoreCategory,
    String? description,
    String? objective,
    String? scientificBackgroundRedundant,
    String? sources,
    String? applyTimeFrameAdditional,
    String? applyReminder,
    String? applyWorkSteps,
    String? applyLocation,
    String? applySize,
    String? applyAllowance,
    String? applyCosts,
    String? applyMaterialCosts,
    String? applyTime,
    String? applyTimeMinutes,
    String? applyTips,
    String? maintenanceTimeFrameAdditional,
    String? maintenanceWorkSteps,
    String? maintenanceFrequencyAdditional,
    String? maintenanceSpecialFeature,
    String? maintenanceTips,
    String? measureCombination,
    String? measureTechnicalExpertise,
    String? ecologicalRelevance,
    String? requirementTips,
  });
}

class _MeasureTypesQueryUpdateImpl implements _MeasureTypesQueryUpdate {
  const _MeasureTypesQueryUpdateImpl(this.query, {this.limit});

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

  @override
  int call({
    Object? measureType = ignore,
    Object? bioDivScoreCategory = ignore,
    Object? description = ignore,
    Object? objective = ignore,
    Object? scientificBackgroundRedundant = ignore,
    Object? sources = ignore,
    Object? applyTimeFrameAdditional = ignore,
    Object? applyReminder = ignore,
    Object? applyWorkSteps = ignore,
    Object? applyLocation = ignore,
    Object? applySize = ignore,
    Object? applyAllowance = ignore,
    Object? applyCosts = ignore,
    Object? applyMaterialCosts = ignore,
    Object? applyTime = ignore,
    Object? applyTimeMinutes = ignore,
    Object? applyTips = ignore,
    Object? maintenanceTimeFrameAdditional = ignore,
    Object? maintenanceWorkSteps = ignore,
    Object? maintenanceFrequencyAdditional = ignore,
    Object? maintenanceSpecialFeature = ignore,
    Object? maintenanceTips = ignore,
    Object? measureCombination = ignore,
    Object? measureTechnicalExpertise = ignore,
    Object? ecologicalRelevance = ignore,
    Object? requirementTips = ignore,
  }) {
    return query.updateProperties(limit: limit, {
      if (measureType != ignore) 1: measureType as String?,
      if (bioDivScoreCategory != ignore) 4: bioDivScoreCategory as int?,
      if (description != ignore) 6: description as String?,
      if (objective != ignore) 7: objective as String?,
      if (scientificBackgroundRedundant != ignore)
        8: scientificBackgroundRedundant as String?,
      if (sources != ignore) 9: sources as String?,
      if (applyTimeFrameAdditional != ignore)
        11: applyTimeFrameAdditional as String?,
      if (applyReminder != ignore) 14: applyReminder as String?,
      if (applyWorkSteps != ignore) 15: applyWorkSteps as String?,
      if (applyLocation != ignore) 16: applyLocation as String?,
      if (applySize != ignore) 17: applySize as String?,
      if (applyAllowance != ignore) 18: applyAllowance as String?,
      if (applyCosts != ignore) 19: applyCosts as String?,
      if (applyMaterialCosts != ignore) 20: applyMaterialCosts as String?,
      if (applyTime != ignore) 21: applyTime as String?,
      if (applyTimeMinutes != ignore) 22: applyTimeMinutes as String?,
      if (applyTips != ignore) 23: applyTips as String?,
      if (maintenanceTimeFrameAdditional != ignore)
        25: maintenanceTimeFrameAdditional as String?,
      if (maintenanceWorkSteps != ignore) 26: maintenanceWorkSteps as String?,
      if (maintenanceFrequencyAdditional != ignore)
        30: maintenanceFrequencyAdditional as String?,
      if (maintenanceSpecialFeature != ignore)
        31: maintenanceSpecialFeature as String?,
      if (maintenanceTips != ignore) 32: maintenanceTips as String?,
      if (measureCombination != ignore) 33: measureCombination as String?,
      if (measureTechnicalExpertise != ignore)
        34: measureTechnicalExpertise as String?,
      if (ecologicalRelevance != ignore) 41: ecologicalRelevance as String?,
      if (requirementTips != ignore) 42: requirementTips as String?,
    });
  }
}

extension MeasureTypesQueryUpdate on IsarQuery<MeasureTypes> {
  _MeasureTypesQueryUpdate get updateFirst =>
      _MeasureTypesQueryUpdateImpl(this, limit: 1);

  _MeasureTypesQueryUpdate get updateAll => _MeasureTypesQueryUpdateImpl(this);
}

class _MeasureTypesQueryBuilderUpdateImpl implements _MeasureTypesQueryUpdate {
  const _MeasureTypesQueryBuilderUpdateImpl(this.query, {this.limit});

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

  @override
  int call({
    Object? measureType = ignore,
    Object? bioDivScoreCategory = ignore,
    Object? description = ignore,
    Object? objective = ignore,
    Object? scientificBackgroundRedundant = ignore,
    Object? sources = ignore,
    Object? applyTimeFrameAdditional = ignore,
    Object? applyReminder = ignore,
    Object? applyWorkSteps = ignore,
    Object? applyLocation = ignore,
    Object? applySize = ignore,
    Object? applyAllowance = ignore,
    Object? applyCosts = ignore,
    Object? applyMaterialCosts = ignore,
    Object? applyTime = ignore,
    Object? applyTimeMinutes = ignore,
    Object? applyTips = ignore,
    Object? maintenanceTimeFrameAdditional = ignore,
    Object? maintenanceWorkSteps = ignore,
    Object? maintenanceFrequencyAdditional = ignore,
    Object? maintenanceSpecialFeature = ignore,
    Object? maintenanceTips = ignore,
    Object? measureCombination = ignore,
    Object? measureTechnicalExpertise = ignore,
    Object? ecologicalRelevance = ignore,
    Object? requirementTips = ignore,
  }) {
    final q = query.build();
    try {
      return q.updateProperties(limit: limit, {
        if (measureType != ignore) 1: measureType as String?,
        if (bioDivScoreCategory != ignore) 4: bioDivScoreCategory as int?,
        if (description != ignore) 6: description as String?,
        if (objective != ignore) 7: objective as String?,
        if (scientificBackgroundRedundant != ignore)
          8: scientificBackgroundRedundant as String?,
        if (sources != ignore) 9: sources as String?,
        if (applyTimeFrameAdditional != ignore)
          11: applyTimeFrameAdditional as String?,
        if (applyReminder != ignore) 14: applyReminder as String?,
        if (applyWorkSteps != ignore) 15: applyWorkSteps as String?,
        if (applyLocation != ignore) 16: applyLocation as String?,
        if (applySize != ignore) 17: applySize as String?,
        if (applyAllowance != ignore) 18: applyAllowance as String?,
        if (applyCosts != ignore) 19: applyCosts as String?,
        if (applyMaterialCosts != ignore) 20: applyMaterialCosts as String?,
        if (applyTime != ignore) 21: applyTime as String?,
        if (applyTimeMinutes != ignore) 22: applyTimeMinutes as String?,
        if (applyTips != ignore) 23: applyTips as String?,
        if (maintenanceTimeFrameAdditional != ignore)
          25: maintenanceTimeFrameAdditional as String?,
        if (maintenanceWorkSteps != ignore) 26: maintenanceWorkSteps as String?,
        if (maintenanceFrequencyAdditional != ignore)
          30: maintenanceFrequencyAdditional as String?,
        if (maintenanceSpecialFeature != ignore)
          31: maintenanceSpecialFeature as String?,
        if (maintenanceTips != ignore) 32: maintenanceTips as String?,
        if (measureCombination != ignore) 33: measureCombination as String?,
        if (measureTechnicalExpertise != ignore)
          34: measureTechnicalExpertise as String?,
        if (ecologicalRelevance != ignore) 41: ecologicalRelevance as String?,
        if (requirementTips != ignore) 42: requirementTips as String?,
      });
    } finally {
      q.close();
    }
  }
}

extension MeasureTypesQueryBuilderUpdate
    on QueryBuilder<MeasureTypes, MeasureTypes, QOperations> {
  _MeasureTypesQueryUpdate get updateFirst =>
      _MeasureTypesQueryBuilderUpdateImpl(this, limit: 1);

  _MeasureTypesQueryUpdate get updateAll =>
      _MeasureTypesQueryBuilderUpdateImpl(this);
}

extension MeasureTypesQueryFilter
    on QueryBuilder<MeasureTypes, MeasureTypes, QFilterCondition> {
  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureTypeIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const IsNullCondition(property: 1));
    });
  }

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureTypeBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureTypeStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 1,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureNumberIsEmpty() {
    return not().group(
      (q) => q.measureNumberIsNull().or().measureNumberIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureNumberIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 2, value: null),
      );
    });
  }

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      bioDivScoreCategoryEqualTo(
    int? value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 4,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      bioDivScoreCategoryGreaterThan(
    int? value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 4,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      bioDivScoreCategoryGreaterThanOrEqualTo(
    int? value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 4,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      bioDivScoreCategoryLessThan(
    int? value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 4,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      bioDivScoreCategoryLessThanOrEqualTo(
    int? value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 4,
          value: value,
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      bioDivScoreCategoryBetween(
    int? lower,
    int? upper,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 4,
          lower: lower,
          upper: upper,
        ),
      );
    });
  }

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureCategoryIsEmpty() {
    return not().group(
      (q) => q.measureCategoryIsNull().or().measureCategoryIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureCategoryIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 5, value: null),
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      descriptionBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      descriptionStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 6,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      objectiveBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      objectiveStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 7,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      scientificBackgroundRedundantBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      scientificBackgroundRedundantStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 8,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, 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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      sourcesStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 9,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyTimeFrameIsEmpty() {
    return not().group(
      (q) => q.applyTimeFrameIsNull().or().applyTimeFrameIsNotEmpty(),
    );
  }

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyTimeFrameAdditionalBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyTimeFrameAdditionalStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 11,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyToolsIsEmpty() {
    return not().group(
      (q) => q.applyToolsIsNull().or().applyToolsIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyToolsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 12, value: null),
      );
    });
  }

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyMaterialIsEmpty() {
    return not().group(
      (q) => q.applyMaterialIsNull().or().applyMaterialIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyMaterialIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 13, value: null),
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyReminderBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyReminderStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 14,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyWorkStepsBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyWorkStepsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 15,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyLocationBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyLocationStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 16,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applySizeBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applySizeStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 17,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyAllowanceBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyAllowanceStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 18,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyCostsBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyCostsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 19,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyMaterialCostsBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyMaterialCostsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 20,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyTimeBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyTimeStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 21,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyTimeMinutesIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 22,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyTimeMinutesIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 22,
          value: '',
        ),
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyTipsBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      applyTipsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 23,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceTimeFrameIsEmpty() {
    return not().group(
      (q) =>
          q.maintenanceTimeFrameIsNull().or().maintenanceTimeFrameIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceTimeFrameIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 24, value: null),
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceTimeFrameAdditionalBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceTimeFrameAdditionalStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 25,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceWorkStepsIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 26,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceWorkStepsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 26,
          value: '',
        ),
      );
    });
  }

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceToolsIsEmpty() {
    return not().group(
      (q) => q.maintenanceToolsIsNull().or().maintenanceToolsIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceToolsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 27, value: null),
      );
    });
  }

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceFrequencyIsEmpty() {
    return not().group(
      (q) =>
          q.maintenanceFrequencyIsNull().or().maintenanceFrequencyIsNotEmpty(),
    );
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceFrequencyAdditionalIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 30,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceFrequencyAdditionalIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 30,
          value: '',
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceSpecialFeatureIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 31,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceSpecialFeatureIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 31,
          value: '',
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceTipsIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 32,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      maintenanceTipsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 32,
          value: '',
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureCombinationIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 33,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureCombinationIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 33,
          value: '',
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureTechnicalExpertiseIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 34,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureTechnicalExpertiseIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 34,
          value: '',
        ),
      );
    });
  }

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureTechnicalExpertiseServiceProviderIsEmpty() {
    return not().group(
      (q) => q
          .measureTechnicalExpertiseServiceProviderIsNull()
          .or()
          .measureTechnicalExpertiseServiceProviderIsNotEmpty(),
    );
  }

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      measureTechnicalExpertiseContactPersonIsEmpty() {
    return not().group(
      (q) => q
          .measureTechnicalExpertiseContactPersonIsNull()
          .or()
          .measureTechnicalExpertiseContactPersonIsNotEmpty(),
    );
  }

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      fundingProgramIsEmpty() {
    return not().group(
      (q) => q.fundingProgramIsNull().or().fundingProgramIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      fundingProgramIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 37, value: null),
      );
    });
  }

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      referenceImplementationIsEmpty() {
    return not().group(
      (q) => q
          .referenceImplementationIsNull()
          .or()
          .referenceImplementationIsNotEmpty(),
    );
  }

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      combinationsIsEmpty() {
    return not().group(
      (q) => q.combinationsIsNull().or().combinationsIsNotEmpty(),
    );
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      ecologicalRelevanceIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 41,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      ecologicalRelevanceIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 41,
          value: '',
        ),
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      requirementTipsBetween(
    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<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      requirementTipsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        StartsWithCondition(
          property: 42,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition>
      factsheetSourcesIsEmpty() {
    return not().group(
      (q) => q.factsheetSourcesIsNull().or().factsheetSourcesIsNotEmpty(),
    );
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition> idEqualTo(
    int value,
  ) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 0,
          value: value,
        ),
      );
    });
  }

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

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

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

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

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

extension MeasureTypesQueryObject
    on QueryBuilder<MeasureTypes, MeasureTypes, QFilterCondition> {
  QueryBuilder<MeasureTypes, MeasureTypes, QAfterFilterCondition> measureGroup(
      FilterQuery<IdValueColor> q) {
    return QueryBuilder.apply(this, (query) {
      return query.object(q, 3);
    });
  }
}

extension MeasureTypesQuerySortBy
    on QueryBuilder<MeasureTypes, MeasureTypes, QSortBy> {
  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy> sortByMeasureType(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        1,
        caseSensitive: caseSensitive,
      );
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      sortByBioDivScoreCategory() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(4);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      sortByBioDivScoreCategoryDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(4, sort: Sort.desc);
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy> sortByApplyTimeMinutes(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        22,
        caseSensitive: caseSensitive,
      );
    });
  }

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      sortByMaintenanceWorkSteps({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        26,
        caseSensitive: caseSensitive,
      );
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      sortByMaintenanceFrequencyAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        30,
        caseSensitive: caseSensitive,
      );
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      sortByMaintenanceSpecialFeature({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        31,
        caseSensitive: caseSensitive,
      );
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy> sortByMaintenanceTips(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        32,
        caseSensitive: caseSensitive,
      );
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      sortByMeasureCombination({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        33,
        caseSensitive: caseSensitive,
      );
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      sortByMeasureTechnicalExpertise({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        34,
        caseSensitive: caseSensitive,
      );
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      sortByEcologicalRelevance({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        41,
        caseSensitive: caseSensitive,
      );
    });
  }

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy> sortById() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(0);
    });
  }

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

extension MeasureTypesQuerySortThenBy
    on QueryBuilder<MeasureTypes, MeasureTypes, QSortThenBy> {
  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy> thenByMeasureType(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(1, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      thenByBioDivScoreCategory() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(4);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      thenByBioDivScoreCategoryDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(4, sort: Sort.desc);
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy> thenByApplyTimeMinutes(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(22, caseSensitive: caseSensitive);
    });
  }

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

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

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      thenByMaintenanceWorkSteps({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(26, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      thenByMaintenanceFrequencyAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(30, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      thenByMaintenanceSpecialFeature({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(31, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy> thenByMaintenanceTips(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(32, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      thenByMeasureCombination({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(33, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      thenByMeasureTechnicalExpertise({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(34, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy>
      thenByEcologicalRelevance({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(41, caseSensitive: caseSensitive);
    });
  }

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

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

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

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterSortBy> thenById() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(0);
    });
  }

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

extension MeasureTypesQueryWhereDistinct
    on QueryBuilder<MeasureTypes, MeasureTypes, QDistinct> {
  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByMeasureType({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(1, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByBioDivScoreCategory() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(4);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByDescription({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(6, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct> distinctByObjective(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(7, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByScientificBackgroundRedundant({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(8, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct> distinctBySources(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(9, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByApplyTimeFrameAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(11, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByApplyReminder({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(14, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByApplyWorkSteps({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(15, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByApplyLocation({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(16, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct> distinctByApplySize(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(17, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByApplyAllowance({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(18, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct> distinctByApplyCosts(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(19, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByApplyMaterialCosts({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(20, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct> distinctByApplyTime(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(21, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByApplyTimeMinutes({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(22, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct> distinctByApplyTips(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(23, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByMaintenanceTimeFrameAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(25, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByMaintenanceWorkSteps({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(26, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByMaintenanceFrequencyAdditional({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(30, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByMaintenanceSpecialFeature({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(31, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByMaintenanceTips({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(32, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByMeasureCombination({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(33, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByMeasureTechnicalExpertise({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(34, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByEcologicalRelevance({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(41, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureTypes, MeasureTypes, QAfterDistinct>
      distinctByRequirementTips({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(42, caseSensitive: caseSensitive);
    });
  }
}

extension MeasureTypesQueryProperty1
    on QueryBuilder<MeasureTypes, MeasureTypes, QProperty> {
  QueryBuilder<MeasureTypes, String?, QAfterProperty> measureTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(1);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValue>?, QAfterProperty>
      measureNumberProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(2);
    });
  }

  QueryBuilder<MeasureTypes, IdValueColor?, QAfterProperty>
      measureGroupProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(3);
    });
  }

  QueryBuilder<MeasureTypes, int?, QAfterProperty>
      bioDivScoreCategoryProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(4);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValueColor>?, QAfterProperty>
      measureCategoryProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> descriptionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(6);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> objectiveProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(7);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      scientificBackgroundRedundantProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(8);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> sourcesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(9);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValueColor>?, QAfterProperty>
      applyTimeFrameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(10);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      applyTimeFrameAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(11);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValueColor>?, QAfterProperty>
      applyToolsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(12);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValueColor>?, QAfterProperty>
      applyMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(13);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> applyReminderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(14);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> applyWorkStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(15);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> applyLocationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(16);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> applySizeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(17);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> applyAllowanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(18);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> applyCostsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(19);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      applyMaterialCostsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(20);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> applyTimeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(21);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      applyTimeMinutesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(22);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty> applyTipsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(23);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValueColor>?, QAfterProperty>
      maintenanceTimeFrameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(24);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      maintenanceTimeFrameAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(25);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      maintenanceWorkStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(26);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValueColor>?, QAfterProperty>
      maintenanceToolsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(27);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValueColor>?, QAfterProperty>
      maintenanceMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(28);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValueColor>?, QAfterProperty>
      maintenanceFrequencyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(29);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      maintenanceFrequencyAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(30);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      maintenanceSpecialFeatureProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(31);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      maintenanceTipsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(32);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      measureCombinationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(33);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      measureTechnicalExpertiseProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(34);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValue>?, QAfterProperty>
      measureTechnicalExpertiseServiceProviderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(35);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValue>?, QAfterProperty>
      measureTechnicalExpertiseContactPersonProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(36);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValue>?, QAfterProperty>
      fundingProgramProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(37);
    });
  }

  QueryBuilder<MeasureTypes, List<FilePart>?, QAfterProperty> filesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(38);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValue>?, QAfterProperty>
      referenceImplementationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(39);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValue>?, QAfterProperty>
      combinationsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(40);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      ecologicalRelevanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(41);
    });
  }

  QueryBuilder<MeasureTypes, String?, QAfterProperty>
      requirementTipsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(42);
    });
  }

  QueryBuilder<MeasureTypes, List<IdValue>?, QAfterProperty>
      factsheetSourcesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(43);
    });
  }

  QueryBuilder<MeasureTypes, int, QAfterProperty> idProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(0);
    });
  }
}

extension MeasureTypesQueryProperty2<R>
    on QueryBuilder<MeasureTypes, R, QAfterProperty> {
  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      measureTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(1);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValue>?), QAfterProperty>
      measureNumberProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(2);
    });
  }

  QueryBuilder<MeasureTypes, (R, IdValueColor?), QAfterProperty>
      measureGroupProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(3);
    });
  }

  QueryBuilder<MeasureTypes, (R, int?), QAfterProperty>
      bioDivScoreCategoryProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(4);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValueColor>?), QAfterProperty>
      measureCategoryProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      descriptionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(6);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty> objectiveProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(7);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      scientificBackgroundRedundantProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(8);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty> sourcesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(9);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValueColor>?), QAfterProperty>
      applyTimeFrameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(10);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      applyTimeFrameAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(11);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValueColor>?), QAfterProperty>
      applyToolsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(12);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValueColor>?), QAfterProperty>
      applyMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(13);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      applyReminderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(14);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      applyWorkStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(15);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      applyLocationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(16);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty> applySizeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(17);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      applyAllowanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(18);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      applyCostsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(19);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      applyMaterialCostsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(20);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty> applyTimeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(21);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      applyTimeMinutesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(22);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty> applyTipsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(23);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValueColor>?), QAfterProperty>
      maintenanceTimeFrameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(24);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      maintenanceTimeFrameAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(25);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      maintenanceWorkStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(26);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValueColor>?), QAfterProperty>
      maintenanceToolsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(27);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValueColor>?), QAfterProperty>
      maintenanceMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(28);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValueColor>?), QAfterProperty>
      maintenanceFrequencyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(29);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      maintenanceFrequencyAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(30);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      maintenanceSpecialFeatureProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(31);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      maintenanceTipsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(32);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      measureCombinationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(33);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      measureTechnicalExpertiseProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(34);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValue>?), QAfterProperty>
      measureTechnicalExpertiseServiceProviderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(35);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValue>?), QAfterProperty>
      measureTechnicalExpertiseContactPersonProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(36);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValue>?), QAfterProperty>
      fundingProgramProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(37);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<FilePart>?), QAfterProperty>
      filesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(38);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValue>?), QAfterProperty>
      referenceImplementationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(39);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValue>?), QAfterProperty>
      combinationsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(40);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      ecologicalRelevanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(41);
    });
  }

  QueryBuilder<MeasureTypes, (R, String?), QAfterProperty>
      requirementTipsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(42);
    });
  }

  QueryBuilder<MeasureTypes, (R, List<IdValue>?), QAfterProperty>
      factsheetSourcesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(43);
    });
  }

  QueryBuilder<MeasureTypes, (R, int), QAfterProperty> idProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(0);
    });
  }
}

extension MeasureTypesQueryProperty3<R1, R2>
    on QueryBuilder<MeasureTypes, (R1, R2), QAfterProperty> {
  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      measureTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(1);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValue>?), QOperations>
      measureNumberProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(2);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, IdValueColor?), QOperations>
      measureGroupProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(3);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, int?), QOperations>
      bioDivScoreCategoryProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(4);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValueColor>?), QOperations>
      measureCategoryProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      descriptionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(6);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      objectiveProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(7);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      scientificBackgroundRedundantProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(8);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations> sourcesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(9);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValueColor>?), QOperations>
      applyTimeFrameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(10);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applyTimeFrameAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(11);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValueColor>?), QOperations>
      applyToolsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(12);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValueColor>?), QOperations>
      applyMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(13);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applyReminderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(14);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applyWorkStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(15);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applyLocationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(16);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applySizeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(17);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applyAllowanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(18);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applyCostsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(19);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applyMaterialCostsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(20);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applyTimeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(21);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applyTimeMinutesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(22);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      applyTipsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(23);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValueColor>?), QOperations>
      maintenanceTimeFrameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(24);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      maintenanceTimeFrameAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(25);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      maintenanceWorkStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(26);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValueColor>?), QOperations>
      maintenanceToolsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(27);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValueColor>?), QOperations>
      maintenanceMaterialProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(28);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValueColor>?), QOperations>
      maintenanceFrequencyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(29);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      maintenanceFrequencyAdditionalProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(30);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      maintenanceSpecialFeatureProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(31);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      maintenanceTipsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(32);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      measureCombinationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(33);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      measureTechnicalExpertiseProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(34);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValue>?), QOperations>
      measureTechnicalExpertiseServiceProviderProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(35);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValue>?), QOperations>
      measureTechnicalExpertiseContactPersonProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(36);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValue>?), QOperations>
      fundingProgramProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(37);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<FilePart>?), QOperations>
      filesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(38);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValue>?), QOperations>
      referenceImplementationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(39);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValue>?), QOperations>
      combinationsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(40);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      ecologicalRelevanceProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(41);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, String?), QOperations>
      requirementTipsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(42);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, List<IdValue>?), QOperations>
      factsheetSourcesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(43);
    });
  }

  QueryBuilder<MeasureTypes, (R1, R2, int), QOperations> idProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(0);
    });
  }
}

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

MeasureTypes _$MeasureTypesFromJson(Map<String, dynamic> json) => MeasureTypes()
  ..id = (json['id'] as num).toInt()
  ..measureType = json['field_2402426'] as String?
  ..measureNumber = (json['field_2402581'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..measureGroup = json['field_2402473'] == null
      ? null
      : IdValueColor.fromJson(json['field_2402473'] as Map<String, dynamic>)
  ..bioDivScoreCategory = (json['field_3001179'] as num?)?.toInt()
  ..measureCategory = (json['field_2402427'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..description = json['field_2402431'] as String?
  ..objective = json['field_2402433'] as String?
  ..scientificBackgroundRedundant = json['field_2402435'] as String?
  ..sources = json['field_2402437'] as String?
  ..applyTimeFrame = (json['field_2402440'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..applyTimeFrameAdditional = json['field_2429782'] as String?
  ..applyTools = (json['field_2429460'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..applyMaterial = (json['field_2428593'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..applyReminder = json['field_2402442'] as String?
  ..applyWorkSteps = json['field_2402443'] as String?
  ..applyLocation = json['field_2402444'] as String?
  ..applySize = json['field_2402445'] as String?
  ..applyAllowance = json['field_2402446'] as String?
  ..applyCosts = json['field_2402447'] as String?
  ..applyMaterialCosts = json['field_2429065'] as String?
  ..applyTime = json['field_2402448'] as String?
  ..applyTimeMinutes = json['field_2429064'] as String?
  ..applyTips = json['field_2402450'] as String?
  ..maintenanceTimeFrame = (json['field_2498056'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..maintenanceTimeFrameAdditional = json['field_2463465'] as String?
  ..maintenanceWorkSteps = json['field_2402452'] as String?
  ..maintenanceTools = (json['field_2429972'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..maintenanceMaterial = (json['field_2463462'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..maintenanceFrequency = (json['field_2402454'] as List<dynamic>?)
      ?.map((e) => IdValueColor.fromJson(e as Map<String, dynamic>))
      .toList()
  ..maintenanceFrequencyAdditional = json['field_2564385'] as String?
  ..maintenanceSpecialFeature = json['field_2402455'] as String?
  ..maintenanceTips = json['field_2565115'] as String?
  ..measureCombination = json['field_2402458'] as String?
  ..measureTechnicalExpertise = json['field_2402459'] as String?
  ..measureTechnicalExpertiseServiceProvider =
      (json['field_2429451'] as List<dynamic>?)
          ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
          .toList()
  ..measureTechnicalExpertiseContactPerson =
      (json['field_2429454'] as List<dynamic>?)
          ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
          .toList()
  ..fundingProgram = (json['field_2402540'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..files = (json['field_2402548'] as List<dynamic>?)
      ?.map((e) => FilePart.fromJson(e as Map<String, dynamic>))
      .toList()
  ..referenceImplementation = (json['field_2404158'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..combinations = (json['field_2463526'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList()
  ..ecologicalRelevance = json['field_2565015'] as String?
  ..requirementTips = json['field_2565110'] as String?
  ..factsheetSources = (json['field_2565943'] as List<dynamic>?)
      ?.map((e) => IdValue.fromJson(e as Map<String, dynamic>))
      .toList();

Map<String, dynamic> _$MeasureTypesToJson(MeasureTypes instance) =>
    <String, dynamic>{
      'id': instance.id,
      'field_2402426': instance.measureType,
      'field_2402581': instance.measureNumber?.map((e) => e.toJson()).toList(),
      'field_2402473': instance.measureGroup?.toJson(),
      'field_3001179': instance.bioDivScoreCategory,
      'field_2402427':
          instance.measureCategory?.map((e) => e.toJson()).toList(),
      'field_2402431': instance.description,
      'field_2402433': instance.objective,
      'field_2402435': instance.scientificBackgroundRedundant,
      'field_2402437': instance.sources,
      'field_2402440': instance.applyTimeFrame?.map((e) => e.toJson()).toList(),
      'field_2429782': instance.applyTimeFrameAdditional,
      'field_2429460': instance.applyTools?.map((e) => e.toJson()).toList(),
      'field_2428593': instance.applyMaterial?.map((e) => e.toJson()).toList(),
      'field_2402442': instance.applyReminder,
      'field_2402443': instance.applyWorkSteps,
      'field_2402444': instance.applyLocation,
      'field_2402445': instance.applySize,
      'field_2402446': instance.applyAllowance,
      'field_2402447': instance.applyCosts,
      'field_2429065': instance.applyMaterialCosts,
      'field_2402448': instance.applyTime,
      'field_2429064': instance.applyTimeMinutes,
      'field_2402450': instance.applyTips,
      'field_2498056':
          instance.maintenanceTimeFrame?.map((e) => e.toJson()).toList(),
      'field_2463465': instance.maintenanceTimeFrameAdditional,
      'field_2402452': instance.maintenanceWorkSteps,
      'field_2429972':
          instance.maintenanceTools?.map((e) => e.toJson()).toList(),
      'field_2463462':
          instance.maintenanceMaterial?.map((e) => e.toJson()).toList(),
      'field_2402454':
          instance.maintenanceFrequency?.map((e) => e.toJson()).toList(),
      'field_2564385': instance.maintenanceFrequencyAdditional,
      'field_2402455': instance.maintenanceSpecialFeature,
      'field_2565115': instance.maintenanceTips,
      'field_2402458': instance.measureCombination,
      'field_2402459': instance.measureTechnicalExpertise,
      'field_2429451': instance.measureTechnicalExpertiseServiceProvider
          ?.map((e) => e.toJson())
          .toList(),
      'field_2429454': instance.measureTechnicalExpertiseContactPerson
          ?.map((e) => e.toJson())
          .toList(),
      'field_2402540': instance.fundingProgram?.map((e) => e.toJson()).toList(),
      'field_2402548': instance.files?.map((e) => e.toJson()).toList(),
      'field_2404158':
          instance.referenceImplementation?.map((e) => e.toJson()).toList(),
      'field_2463526': instance.combinations?.map((e) => e.toJson()).toList(),
      'field_2565015': instance.ecologicalRelevance,
      'field_2565110': instance.requirementTips,
      'field_2565943':
          instance.factsheetSources?.map((e) => e.toJson()).toList(),
    };
