// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'measure_complete.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 GetMeasureCompleteCollection on Isar {
  IsarCollection<int, MeasureComplete> get measureCompletes =>
      this.collection();
}

const MeasureCompleteSchema = IsarGeneratedSchema(
  schema: IsarSchema(
    name: 'MeasureComplete',
    idName: 'id',
    embedded: false,
    properties: [
      IsarPropertySchema(
        name: 'name',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'image',
        type: IsarType.object,
        target: 'FilePart',
      ),
      IsarPropertySchema(
        name: 'description',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'target',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'fundingPrograms',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'sizeOrArea',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'growth',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'climate',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'soilWater',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'riskOfSpottedWingDrosophila',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'thermophilic',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'frostHardy',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'lateFrost',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'drought',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'soilMoisture',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'numberLight',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'numberTemperature',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'numberMoisture',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'numberReaction',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'numberNitrogen',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'region',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'location',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyCosts',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyDuration',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyMonths',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'applyTools',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'applyAdditionalInfos',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applySteps',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'applyMaterials',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'gallery',
        type: IsarType.objectList,
        target: 'FilePart',
      ),
      IsarPropertySchema(
        name: 'maintenanceMonths',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'maintenanceAdditionalInfos',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'maintenanceFrequency',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'maintenanceSteps',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'maintenanceSpecialFeatures',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'maintenanceTools',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'sources',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'costs',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'costsUnit',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureType',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureGroups',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'measureCategories',
        type: IsarType.stringList,
      ),
    ],
    indexes: [],
  ),
  converter: IsarObjectConverter<int, MeasureComplete>(
    serialize: serializeMeasureComplete,
    deserialize: deserializeMeasureComplete,
    deserializeProperty: deserializeMeasureCompleteProp,
  ),
  embeddedSchemas: [FilePartSchema, ThumbnailsSchema, ThumbnailSchema],
);

@isarProtected
int serializeMeasureComplete(IsarWriter writer, MeasureComplete object) {
  {
    final value = object.name;
    if (value == null) {
      IsarCore.writeNull(writer, 1);
    } else {
      IsarCore.writeString(writer, 1, value);
    }
  }
  {
    final value = object.image;
    if (value == null) {
      IsarCore.writeNull(writer, 2);
    } else {
      final objectWriter = IsarCore.beginObject(writer, 2);
      serializeFilePart(objectWriter, value);
      IsarCore.endObject(writer, objectWriter);
    }
  }
  {
    final value = object.description;
    if (value == null) {
      IsarCore.writeNull(writer, 3);
    } else {
      IsarCore.writeString(writer, 3, value);
    }
  }
  {
    final value = object.target;
    if (value == null) {
      IsarCore.writeNull(writer, 4);
    } else {
      IsarCore.writeString(writer, 4, value);
    }
  }
  {
    final list = object.fundingPrograms;
    if (list == null) {
      IsarCore.writeNull(writer, 5);
    } else {
      final listWriter = IsarCore.beginList(writer, 5, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.sizeOrArea;
    if (list == null) {
      IsarCore.writeNull(writer, 6);
    } else {
      final listWriter = IsarCore.beginList(writer, 6, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.growth;
    if (value == null) {
      IsarCore.writeNull(writer, 7);
    } else {
      IsarCore.writeString(writer, 7, value);
    }
  }
  {
    final value = object.climate;
    if (value == null) {
      IsarCore.writeNull(writer, 8);
    } else {
      IsarCore.writeString(writer, 8, value);
    }
  }
  {
    final value = object.soilWater;
    if (value == null) {
      IsarCore.writeNull(writer, 9);
    } else {
      IsarCore.writeString(writer, 9, value);
    }
  }
  {
    final value = object.riskOfSpottedWingDrosophila;
    if (value == null) {
      IsarCore.writeNull(writer, 10);
    } else {
      IsarCore.writeString(writer, 10, value);
    }
  }
  {
    final value = object.thermophilic;
    if (value == null) {
      IsarCore.writeNull(writer, 11);
    } else {
      IsarCore.writeString(writer, 11, value);
    }
  }
  {
    final value = object.frostHardy;
    if (value == null) {
      IsarCore.writeNull(writer, 12);
    } else {
      IsarCore.writeString(writer, 12, value);
    }
  }
  {
    final value = object.lateFrost;
    if (value == null) {
      IsarCore.writeNull(writer, 13);
    } else {
      IsarCore.writeString(writer, 13, value);
    }
  }
  {
    final value = object.drought;
    if (value == null) {
      IsarCore.writeNull(writer, 14);
    } else {
      IsarCore.writeString(writer, 14, value);
    }
  }
  {
    final list = object.soilMoisture;
    if (list == null) {
      IsarCore.writeNull(writer, 15);
    } else {
      final listWriter = IsarCore.beginList(writer, 15, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.numberLight;
    if (value == null) {
      IsarCore.writeNull(writer, 16);
    } else {
      IsarCore.writeString(writer, 16, value);
    }
  }
  {
    final value = object.numberTemperature;
    if (value == null) {
      IsarCore.writeNull(writer, 17);
    } else {
      IsarCore.writeString(writer, 17, value);
    }
  }
  {
    final value = object.numberMoisture;
    if (value == null) {
      IsarCore.writeNull(writer, 18);
    } else {
      IsarCore.writeString(writer, 18, value);
    }
  }
  {
    final value = object.numberReaction;
    if (value == null) {
      IsarCore.writeNull(writer, 19);
    } else {
      IsarCore.writeString(writer, 19, value);
    }
  }
  {
    final value = object.numberNitrogen;
    if (value == null) {
      IsarCore.writeNull(writer, 20);
    } else {
      IsarCore.writeString(writer, 20, value);
    }
  }
  {
    final list = object.region;
    if (list == null) {
      IsarCore.writeNull(writer, 21);
    } else {
      final listWriter = IsarCore.beginList(writer, 21, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.location;
    if (value == null) {
      IsarCore.writeNull(writer, 22);
    } else {
      IsarCore.writeString(writer, 22, value);
    }
  }
  {
    final value = object.applyCosts;
    if (value == null) {
      IsarCore.writeNull(writer, 23);
    } else {
      IsarCore.writeString(writer, 23, value);
    }
  }
  {
    final value = object.applyDuration;
    if (value == null) {
      IsarCore.writeNull(writer, 24);
    } else {
      IsarCore.writeString(writer, 24, value);
    }
  }
  {
    final list = object.applyMonths;
    if (list == null) {
      IsarCore.writeNull(writer, 25);
    } else {
      final listWriter = IsarCore.beginList(writer, 25, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.applyTools;
    if (list == null) {
      IsarCore.writeNull(writer, 26);
    } else {
      final listWriter = IsarCore.beginList(writer, 26, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.applyAdditionalInfos;
    if (value == null) {
      IsarCore.writeNull(writer, 27);
    } else {
      IsarCore.writeString(writer, 27, value);
    }
  }
  {
    final value = object.applySteps;
    if (value == null) {
      IsarCore.writeNull(writer, 28);
    } else {
      IsarCore.writeString(writer, 28, value);
    }
  }
  {
    final list = object.applyMaterials;
    if (list == null) {
      IsarCore.writeNull(writer, 29);
    } else {
      final listWriter = IsarCore.beginList(writer, 29, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.gallery;
    if (list == null) {
      IsarCore.writeNull(writer, 30);
    } else {
      final listWriter = IsarCore.beginList(writer, 30, list.length);
      for (var i = 0; i < list.length; i++) {
        {
          final value = list[i];
          final objectWriter = IsarCore.beginObject(listWriter, i);
          serializeFilePart(objectWriter, value);
          IsarCore.endObject(listWriter, objectWriter);
        }
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.maintenanceMonths;
    if (list == null) {
      IsarCore.writeNull(writer, 31);
    } else {
      final listWriter = IsarCore.beginList(writer, 31, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.maintenanceAdditionalInfos;
    if (value == null) {
      IsarCore.writeNull(writer, 32);
    } else {
      IsarCore.writeString(writer, 32, value);
    }
  }
  {
    final value = object.maintenanceFrequency;
    if (value == null) {
      IsarCore.writeNull(writer, 33);
    } else {
      IsarCore.writeString(writer, 33, value);
    }
  }
  {
    final value = object.maintenanceSteps;
    if (value == null) {
      IsarCore.writeNull(writer, 34);
    } else {
      IsarCore.writeString(writer, 34, value);
    }
  }
  {
    final value = object.maintenanceSpecialFeatures;
    if (value == null) {
      IsarCore.writeNull(writer, 35);
    } else {
      IsarCore.writeString(writer, 35, value);
    }
  }
  {
    final list = object.maintenanceTools;
    if (list == null) {
      IsarCore.writeNull(writer, 36);
    } else {
      final listWriter = IsarCore.beginList(writer, 36, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final value = object.sources;
    if (value == null) {
      IsarCore.writeNull(writer, 37);
    } else {
      IsarCore.writeString(writer, 37, value);
    }
  }
  {
    final value = object.costs;
    if (value == null) {
      IsarCore.writeNull(writer, 38);
    } else {
      IsarCore.writeString(writer, 38, value);
    }
  }
  {
    final value = object.costsUnit;
    if (value == null) {
      IsarCore.writeNull(writer, 39);
    } else {
      IsarCore.writeString(writer, 39, value);
    }
  }
  {
    final value = object.measureType;
    if (value == null) {
      IsarCore.writeNull(writer, 40);
    } else {
      IsarCore.writeString(writer, 40, value);
    }
  }
  {
    final list = object.measureGroups;
    if (list == null) {
      IsarCore.writeNull(writer, 41);
    } else {
      final listWriter = IsarCore.beginList(writer, 41, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  {
    final list = object.measureCategories;
    if (list == null) {
      IsarCore.writeNull(writer, 42);
    } else {
      final listWriter = IsarCore.beginList(writer, 42, list.length);
      for (var i = 0; i < list.length; i++) {
        IsarCore.writeString(listWriter, i, list[i]);
      }
      IsarCore.endList(writer, listWriter);
    }
  }
  return object.id;
}

@isarProtected
MeasureComplete deserializeMeasureComplete(IsarReader reader) {
  final object = MeasureComplete();
  object.name = IsarCore.readString(reader, 1);
  {
    final objectReader = IsarCore.readObject(reader, 2);
    if (objectReader.isNull) {
      object.image = null;
    } else {
      final embedded = deserializeFilePart(objectReader);
      IsarCore.freeReader(objectReader);
      object.image = embedded;
    }
  }
  object.description = IsarCore.readString(reader, 3);
  object.target = IsarCore.readString(reader, 4);
  {
    final length = IsarCore.readList(reader, 5, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.fundingPrograms = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.fundingPrograms = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 6, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.sizeOrArea = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.sizeOrArea = list;
      }
    }
  }
  object.growth = IsarCore.readString(reader, 7);
  object.climate = IsarCore.readString(reader, 8);
  object.soilWater = IsarCore.readString(reader, 9);
  object.riskOfSpottedWingDrosophila = IsarCore.readString(reader, 10);
  object.thermophilic = IsarCore.readString(reader, 11);
  object.frostHardy = IsarCore.readString(reader, 12);
  object.lateFrost = IsarCore.readString(reader, 13);
  object.drought = IsarCore.readString(reader, 14);
  {
    final length = IsarCore.readList(reader, 15, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.soilMoisture = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.soilMoisture = list;
      }
    }
  }
  object.numberLight = IsarCore.readString(reader, 16);
  object.numberTemperature = IsarCore.readString(reader, 17);
  object.numberMoisture = IsarCore.readString(reader, 18);
  object.numberReaction = IsarCore.readString(reader, 19);
  object.numberNitrogen = IsarCore.readString(reader, 20);
  {
    final length = IsarCore.readList(reader, 21, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.region = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.region = list;
      }
    }
  }
  object.location = IsarCore.readString(reader, 22);
  object.applyCosts = IsarCore.readString(reader, 23);
  object.applyDuration = IsarCore.readString(reader, 24);
  {
    final length = IsarCore.readList(reader, 25, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.applyMonths = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.applyMonths = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 26, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.applyTools = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.applyTools = list;
      }
    }
  }
  object.applyAdditionalInfos = IsarCore.readString(reader, 27);
  object.applySteps = IsarCore.readString(reader, 28);
  {
    final length = IsarCore.readList(reader, 29, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.applyMaterials = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.applyMaterials = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 30, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.gallery = 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.gallery = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 31, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.maintenanceMonths = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.maintenanceMonths = list;
      }
    }
  }
  object.maintenanceAdditionalInfos = IsarCore.readString(reader, 32);
  object.maintenanceFrequency = IsarCore.readString(reader, 33);
  object.maintenanceSteps = IsarCore.readString(reader, 34);
  object.maintenanceSpecialFeatures = IsarCore.readString(reader, 35);
  {
    final length = IsarCore.readList(reader, 36, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.maintenanceTools = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.maintenanceTools = list;
      }
    }
  }
  object.sources = IsarCore.readString(reader, 37);
  object.costs = IsarCore.readString(reader, 38);
  object.costsUnit = IsarCore.readString(reader, 39);
  object.measureType = IsarCore.readString(reader, 40);
  {
    final length = IsarCore.readList(reader, 41, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.measureGroups = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.measureGroups = list;
      }
    }
  }
  {
    final length = IsarCore.readList(reader, 42, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.measureCategories = null;
      } else {
        final list = List<String>.filled(length, '', growable: true);
        for (var i = 0; i < length; i++) {
          list[i] = IsarCore.readString(reader, i) ?? '';
        }
        IsarCore.freeReader(reader);
        object.measureCategories = list;
      }
    }
  }
  object.id = IsarCore.readId(reader);
  return object;
}

@isarProtected
dynamic deserializeMeasureCompleteProp(IsarReader reader, int property) {
  switch (property) {
    case 1:
      return IsarCore.readString(reader, 1);
    case 2:
      {
        final objectReader = IsarCore.readObject(reader, 2);
        if (objectReader.isNull) {
          return null;
        } else {
          final embedded = deserializeFilePart(objectReader);
          IsarCore.freeReader(objectReader);
          return embedded;
        }
      }
    case 3:
      return IsarCore.readString(reader, 3);
    case 4:
      return IsarCore.readString(reader, 4);
    case 5:
      {
        final length = IsarCore.readList(reader, 5, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 6:
      {
        final length = IsarCore.readList(reader, 6, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 7:
      return IsarCore.readString(reader, 7);
    case 8:
      return IsarCore.readString(reader, 8);
    case 9:
      return IsarCore.readString(reader, 9);
    case 10:
      return IsarCore.readString(reader, 10);
    case 11:
      return IsarCore.readString(reader, 11);
    case 12:
      return IsarCore.readString(reader, 12);
    case 13:
      return IsarCore.readString(reader, 13);
    case 14:
      return IsarCore.readString(reader, 14);
    case 15:
      {
        final length = IsarCore.readList(reader, 15, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    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:
      {
        final length = IsarCore.readList(reader, 21, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 22:
      return IsarCore.readString(reader, 22);
    case 23:
      return IsarCore.readString(reader, 23);
    case 24:
      return IsarCore.readString(reader, 24);
    case 25:
      {
        final length = IsarCore.readList(reader, 25, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 26:
      {
        final length = IsarCore.readList(reader, 26, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 27:
      return IsarCore.readString(reader, 27);
    case 28:
      return IsarCore.readString(reader, 28);
    case 29:
      {
        final length = IsarCore.readList(reader, 29, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 30:
      {
        final length = IsarCore.readList(reader, 30, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list =
                List<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 31:
      {
        final length = IsarCore.readList(reader, 31, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 32:
      return IsarCore.readString(reader, 32);
    case 33:
      return IsarCore.readString(reader, 33);
    case 34:
      return IsarCore.readString(reader, 34);
    case 35:
      return IsarCore.readString(reader, 35);
    case 36:
      {
        final length = IsarCore.readList(reader, 36, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 37:
      return IsarCore.readString(reader, 37);
    case 38:
      return IsarCore.readString(reader, 38);
    case 39:
      return IsarCore.readString(reader, 39);
    case 40:
      return IsarCore.readString(reader, 40);
    case 41:
      {
        final length = IsarCore.readList(reader, 41, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 42:
      {
        final length = IsarCore.readList(reader, 42, IsarCore.readerPtrPtr);
        {
          final reader = IsarCore.readerPtr;
          if (reader.isNull) {
            return null;
          } else {
            final list = List<String>.filled(length, '', growable: true);
            for (var i = 0; i < length; i++) {
              list[i] = IsarCore.readString(reader, i) ?? '';
            }
            IsarCore.freeReader(reader);
            return list;
          }
        }
      }
    case 0:
      return IsarCore.readId(reader);
    default:
      throw ArgumentError('Unknown property: $property');
  }
}

sealed class _MeasureCompleteUpdate {
  bool call({
    required int id,
    String? name,
    String? description,
    String? target,
    String? growth,
    String? climate,
    String? soilWater,
    String? riskOfSpottedWingDrosophila,
    String? thermophilic,
    String? frostHardy,
    String? lateFrost,
    String? drought,
    String? numberLight,
    String? numberTemperature,
    String? numberMoisture,
    String? numberReaction,
    String? numberNitrogen,
    String? location,
    String? applyCosts,
    String? applyDuration,
    String? applyAdditionalInfos,
    String? applySteps,
    String? maintenanceAdditionalInfos,
    String? maintenanceFrequency,
    String? maintenanceSteps,
    String? maintenanceSpecialFeatures,
    String? sources,
    String? costs,
    String? costsUnit,
    String? measureType,
  });
}

class _MeasureCompleteUpdateImpl implements _MeasureCompleteUpdate {
  const _MeasureCompleteUpdateImpl(this.collection);

  final IsarCollection<int, MeasureComplete> collection;

  @override
  bool call({
    required int id,
    Object? name = ignore,
    Object? description = ignore,
    Object? target = ignore,
    Object? growth = ignore,
    Object? climate = ignore,
    Object? soilWater = ignore,
    Object? riskOfSpottedWingDrosophila = ignore,
    Object? thermophilic = ignore,
    Object? frostHardy = ignore,
    Object? lateFrost = ignore,
    Object? drought = ignore,
    Object? numberLight = ignore,
    Object? numberTemperature = ignore,
    Object? numberMoisture = ignore,
    Object? numberReaction = ignore,
    Object? numberNitrogen = ignore,
    Object? location = ignore,
    Object? applyCosts = ignore,
    Object? applyDuration = ignore,
    Object? applyAdditionalInfos = ignore,
    Object? applySteps = ignore,
    Object? maintenanceAdditionalInfos = ignore,
    Object? maintenanceFrequency = ignore,
    Object? maintenanceSteps = ignore,
    Object? maintenanceSpecialFeatures = ignore,
    Object? sources = ignore,
    Object? costs = ignore,
    Object? costsUnit = ignore,
    Object? measureType = ignore,
  }) {
    return collection.updateProperties([
          id
        ], {
          if (name != ignore) 1: name as String?,
          if (description != ignore) 3: description as String?,
          if (target != ignore) 4: target as String?,
          if (growth != ignore) 7: growth as String?,
          if (climate != ignore) 8: climate as String?,
          if (soilWater != ignore) 9: soilWater as String?,
          if (riskOfSpottedWingDrosophila != ignore)
            10: riskOfSpottedWingDrosophila as String?,
          if (thermophilic != ignore) 11: thermophilic as String?,
          if (frostHardy != ignore) 12: frostHardy as String?,
          if (lateFrost != ignore) 13: lateFrost as String?,
          if (drought != ignore) 14: drought as String?,
          if (numberLight != ignore) 16: numberLight as String?,
          if (numberTemperature != ignore) 17: numberTemperature as String?,
          if (numberMoisture != ignore) 18: numberMoisture as String?,
          if (numberReaction != ignore) 19: numberReaction as String?,
          if (numberNitrogen != ignore) 20: numberNitrogen as String?,
          if (location != ignore) 22: location as String?,
          if (applyCosts != ignore) 23: applyCosts as String?,
          if (applyDuration != ignore) 24: applyDuration as String?,
          if (applyAdditionalInfos != ignore)
            27: applyAdditionalInfos as String?,
          if (applySteps != ignore) 28: applySteps as String?,
          if (maintenanceAdditionalInfos != ignore)
            32: maintenanceAdditionalInfos as String?,
          if (maintenanceFrequency != ignore)
            33: maintenanceFrequency as String?,
          if (maintenanceSteps != ignore) 34: maintenanceSteps as String?,
          if (maintenanceSpecialFeatures != ignore)
            35: maintenanceSpecialFeatures as String?,
          if (sources != ignore) 37: sources as String?,
          if (costs != ignore) 38: costs as String?,
          if (costsUnit != ignore) 39: costsUnit as String?,
          if (measureType != ignore) 40: measureType as String?,
        }) >
        0;
  }
}

sealed class _MeasureCompleteUpdateAll {
  int call({
    required List<int> id,
    String? name,
    String? description,
    String? target,
    String? growth,
    String? climate,
    String? soilWater,
    String? riskOfSpottedWingDrosophila,
    String? thermophilic,
    String? frostHardy,
    String? lateFrost,
    String? drought,
    String? numberLight,
    String? numberTemperature,
    String? numberMoisture,
    String? numberReaction,
    String? numberNitrogen,
    String? location,
    String? applyCosts,
    String? applyDuration,
    String? applyAdditionalInfos,
    String? applySteps,
    String? maintenanceAdditionalInfos,
    String? maintenanceFrequency,
    String? maintenanceSteps,
    String? maintenanceSpecialFeatures,
    String? sources,
    String? costs,
    String? costsUnit,
    String? measureType,
  });
}

class _MeasureCompleteUpdateAllImpl implements _MeasureCompleteUpdateAll {
  const _MeasureCompleteUpdateAllImpl(this.collection);

  final IsarCollection<int, MeasureComplete> collection;

  @override
  int call({
    required List<int> id,
    Object? name = ignore,
    Object? description = ignore,
    Object? target = ignore,
    Object? growth = ignore,
    Object? climate = ignore,
    Object? soilWater = ignore,
    Object? riskOfSpottedWingDrosophila = ignore,
    Object? thermophilic = ignore,
    Object? frostHardy = ignore,
    Object? lateFrost = ignore,
    Object? drought = ignore,
    Object? numberLight = ignore,
    Object? numberTemperature = ignore,
    Object? numberMoisture = ignore,
    Object? numberReaction = ignore,
    Object? numberNitrogen = ignore,
    Object? location = ignore,
    Object? applyCosts = ignore,
    Object? applyDuration = ignore,
    Object? applyAdditionalInfos = ignore,
    Object? applySteps = ignore,
    Object? maintenanceAdditionalInfos = ignore,
    Object? maintenanceFrequency = ignore,
    Object? maintenanceSteps = ignore,
    Object? maintenanceSpecialFeatures = ignore,
    Object? sources = ignore,
    Object? costs = ignore,
    Object? costsUnit = ignore,
    Object? measureType = ignore,
  }) {
    return collection.updateProperties(id, {
      if (name != ignore) 1: name as String?,
      if (description != ignore) 3: description as String?,
      if (target != ignore) 4: target as String?,
      if (growth != ignore) 7: growth as String?,
      if (climate != ignore) 8: climate as String?,
      if (soilWater != ignore) 9: soilWater as String?,
      if (riskOfSpottedWingDrosophila != ignore)
        10: riskOfSpottedWingDrosophila as String?,
      if (thermophilic != ignore) 11: thermophilic as String?,
      if (frostHardy != ignore) 12: frostHardy as String?,
      if (lateFrost != ignore) 13: lateFrost as String?,
      if (drought != ignore) 14: drought as String?,
      if (numberLight != ignore) 16: numberLight as String?,
      if (numberTemperature != ignore) 17: numberTemperature as String?,
      if (numberMoisture != ignore) 18: numberMoisture as String?,
      if (numberReaction != ignore) 19: numberReaction as String?,
      if (numberNitrogen != ignore) 20: numberNitrogen as String?,
      if (location != ignore) 22: location as String?,
      if (applyCosts != ignore) 23: applyCosts as String?,
      if (applyDuration != ignore) 24: applyDuration as String?,
      if (applyAdditionalInfos != ignore) 27: applyAdditionalInfos as String?,
      if (applySteps != ignore) 28: applySteps as String?,
      if (maintenanceAdditionalInfos != ignore)
        32: maintenanceAdditionalInfos as String?,
      if (maintenanceFrequency != ignore) 33: maintenanceFrequency as String?,
      if (maintenanceSteps != ignore) 34: maintenanceSteps as String?,
      if (maintenanceSpecialFeatures != ignore)
        35: maintenanceSpecialFeatures as String?,
      if (sources != ignore) 37: sources as String?,
      if (costs != ignore) 38: costs as String?,
      if (costsUnit != ignore) 39: costsUnit as String?,
      if (measureType != ignore) 40: measureType as String?,
    });
  }
}

extension MeasureCompleteUpdate on IsarCollection<int, MeasureComplete> {
  _MeasureCompleteUpdate get update => _MeasureCompleteUpdateImpl(this);

  _MeasureCompleteUpdateAll get updateAll =>
      _MeasureCompleteUpdateAllImpl(this);
}

sealed class _MeasureCompleteQueryUpdate {
  int call({
    String? name,
    String? description,
    String? target,
    String? growth,
    String? climate,
    String? soilWater,
    String? riskOfSpottedWingDrosophila,
    String? thermophilic,
    String? frostHardy,
    String? lateFrost,
    String? drought,
    String? numberLight,
    String? numberTemperature,
    String? numberMoisture,
    String? numberReaction,
    String? numberNitrogen,
    String? location,
    String? applyCosts,
    String? applyDuration,
    String? applyAdditionalInfos,
    String? applySteps,
    String? maintenanceAdditionalInfos,
    String? maintenanceFrequency,
    String? maintenanceSteps,
    String? maintenanceSpecialFeatures,
    String? sources,
    String? costs,
    String? costsUnit,
    String? measureType,
  });
}

class _MeasureCompleteQueryUpdateImpl implements _MeasureCompleteQueryUpdate {
  const _MeasureCompleteQueryUpdateImpl(this.query, {this.limit});

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

  @override
  int call({
    Object? name = ignore,
    Object? description = ignore,
    Object? target = ignore,
    Object? growth = ignore,
    Object? climate = ignore,
    Object? soilWater = ignore,
    Object? riskOfSpottedWingDrosophila = ignore,
    Object? thermophilic = ignore,
    Object? frostHardy = ignore,
    Object? lateFrost = ignore,
    Object? drought = ignore,
    Object? numberLight = ignore,
    Object? numberTemperature = ignore,
    Object? numberMoisture = ignore,
    Object? numberReaction = ignore,
    Object? numberNitrogen = ignore,
    Object? location = ignore,
    Object? applyCosts = ignore,
    Object? applyDuration = ignore,
    Object? applyAdditionalInfos = ignore,
    Object? applySteps = ignore,
    Object? maintenanceAdditionalInfos = ignore,
    Object? maintenanceFrequency = ignore,
    Object? maintenanceSteps = ignore,
    Object? maintenanceSpecialFeatures = ignore,
    Object? sources = ignore,
    Object? costs = ignore,
    Object? costsUnit = ignore,
    Object? measureType = ignore,
  }) {
    return query.updateProperties(limit: limit, {
      if (name != ignore) 1: name as String?,
      if (description != ignore) 3: description as String?,
      if (target != ignore) 4: target as String?,
      if (growth != ignore) 7: growth as String?,
      if (climate != ignore) 8: climate as String?,
      if (soilWater != ignore) 9: soilWater as String?,
      if (riskOfSpottedWingDrosophila != ignore)
        10: riskOfSpottedWingDrosophila as String?,
      if (thermophilic != ignore) 11: thermophilic as String?,
      if (frostHardy != ignore) 12: frostHardy as String?,
      if (lateFrost != ignore) 13: lateFrost as String?,
      if (drought != ignore) 14: drought as String?,
      if (numberLight != ignore) 16: numberLight as String?,
      if (numberTemperature != ignore) 17: numberTemperature as String?,
      if (numberMoisture != ignore) 18: numberMoisture as String?,
      if (numberReaction != ignore) 19: numberReaction as String?,
      if (numberNitrogen != ignore) 20: numberNitrogen as String?,
      if (location != ignore) 22: location as String?,
      if (applyCosts != ignore) 23: applyCosts as String?,
      if (applyDuration != ignore) 24: applyDuration as String?,
      if (applyAdditionalInfos != ignore) 27: applyAdditionalInfos as String?,
      if (applySteps != ignore) 28: applySteps as String?,
      if (maintenanceAdditionalInfos != ignore)
        32: maintenanceAdditionalInfos as String?,
      if (maintenanceFrequency != ignore) 33: maintenanceFrequency as String?,
      if (maintenanceSteps != ignore) 34: maintenanceSteps as String?,
      if (maintenanceSpecialFeatures != ignore)
        35: maintenanceSpecialFeatures as String?,
      if (sources != ignore) 37: sources as String?,
      if (costs != ignore) 38: costs as String?,
      if (costsUnit != ignore) 39: costsUnit as String?,
      if (measureType != ignore) 40: measureType as String?,
    });
  }
}

extension MeasureCompleteQueryUpdate on IsarQuery<MeasureComplete> {
  _MeasureCompleteQueryUpdate get updateFirst =>
      _MeasureCompleteQueryUpdateImpl(this, limit: 1);

  _MeasureCompleteQueryUpdate get updateAll =>
      _MeasureCompleteQueryUpdateImpl(this);
}

class _MeasureCompleteQueryBuilderUpdateImpl
    implements _MeasureCompleteQueryUpdate {
  const _MeasureCompleteQueryBuilderUpdateImpl(this.query, {this.limit});

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

  @override
  int call({
    Object? name = ignore,
    Object? description = ignore,
    Object? target = ignore,
    Object? growth = ignore,
    Object? climate = ignore,
    Object? soilWater = ignore,
    Object? riskOfSpottedWingDrosophila = ignore,
    Object? thermophilic = ignore,
    Object? frostHardy = ignore,
    Object? lateFrost = ignore,
    Object? drought = ignore,
    Object? numberLight = ignore,
    Object? numberTemperature = ignore,
    Object? numberMoisture = ignore,
    Object? numberReaction = ignore,
    Object? numberNitrogen = ignore,
    Object? location = ignore,
    Object? applyCosts = ignore,
    Object? applyDuration = ignore,
    Object? applyAdditionalInfos = ignore,
    Object? applySteps = ignore,
    Object? maintenanceAdditionalInfos = ignore,
    Object? maintenanceFrequency = ignore,
    Object? maintenanceSteps = ignore,
    Object? maintenanceSpecialFeatures = ignore,
    Object? sources = ignore,
    Object? costs = ignore,
    Object? costsUnit = ignore,
    Object? measureType = ignore,
  }) {
    final q = query.build();
    try {
      return q.updateProperties(limit: limit, {
        if (name != ignore) 1: name as String?,
        if (description != ignore) 3: description as String?,
        if (target != ignore) 4: target as String?,
        if (growth != ignore) 7: growth as String?,
        if (climate != ignore) 8: climate as String?,
        if (soilWater != ignore) 9: soilWater as String?,
        if (riskOfSpottedWingDrosophila != ignore)
          10: riskOfSpottedWingDrosophila as String?,
        if (thermophilic != ignore) 11: thermophilic as String?,
        if (frostHardy != ignore) 12: frostHardy as String?,
        if (lateFrost != ignore) 13: lateFrost as String?,
        if (drought != ignore) 14: drought as String?,
        if (numberLight != ignore) 16: numberLight as String?,
        if (numberTemperature != ignore) 17: numberTemperature as String?,
        if (numberMoisture != ignore) 18: numberMoisture as String?,
        if (numberReaction != ignore) 19: numberReaction as String?,
        if (numberNitrogen != ignore) 20: numberNitrogen as String?,
        if (location != ignore) 22: location as String?,
        if (applyCosts != ignore) 23: applyCosts as String?,
        if (applyDuration != ignore) 24: applyDuration as String?,
        if (applyAdditionalInfos != ignore) 27: applyAdditionalInfos as String?,
        if (applySteps != ignore) 28: applySteps as String?,
        if (maintenanceAdditionalInfos != ignore)
          32: maintenanceAdditionalInfos as String?,
        if (maintenanceFrequency != ignore) 33: maintenanceFrequency as String?,
        if (maintenanceSteps != ignore) 34: maintenanceSteps as String?,
        if (maintenanceSpecialFeatures != ignore)
          35: maintenanceSpecialFeatures as String?,
        if (sources != ignore) 37: sources as String?,
        if (costs != ignore) 38: costs as String?,
        if (costsUnit != ignore) 39: costsUnit as String?,
        if (measureType != ignore) 40: measureType as String?,
      });
    } finally {
      q.close();
    }
  }
}

extension MeasureCompleteQueryBuilderUpdate
    on QueryBuilder<MeasureComplete, MeasureComplete, QOperations> {
  _MeasureCompleteQueryUpdate get updateFirst =>
      _MeasureCompleteQueryBuilderUpdateImpl(this, limit: 1);

  _MeasureCompleteQueryUpdate get updateAll =>
      _MeasureCompleteQueryBuilderUpdateImpl(this);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      sizeOrAreaIsEmpty() {
    return not().group(
      (q) => q.sizeOrAreaIsNull().or().sizeOrAreaIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      sizeOrAreaIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 6, value: null),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      riskOfSpottedWingDrosophilaIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 10,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      riskOfSpottedWingDrosophilaIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 10,
          value: '',
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      soilMoistureIsEmpty() {
    return not().group(
      (q) => q.soilMoistureIsNull().or().soilMoistureIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      soilMoistureIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 15, value: null),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      regionIsEmpty() {
    return not().group(
      (q) => q.regionIsNull().or().regionIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      regionIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 21, value: null),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMonthsIsEmpty() {
    return not().group(
      (q) => q.applyMonthsIsNull().or().applyMonthsIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMonthsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 25, value: null),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyAdditionalInfosIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 27,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyAdditionalInfosIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 27,
          value: '',
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyStepsIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 28,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyStepsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 28,
          value: '',
        ),
      );
    });
  }

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMaterialsElementEqualTo(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 29,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMaterialsElementGreaterThan(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 29,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMaterialsElementGreaterThanOrEqualTo(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 29,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMaterialsElementLessThan(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 29,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMaterialsElementLessThanOrEqualTo(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 29,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMaterialsElementBetween(
    String lower,
    String upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 29,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMaterialsElementIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 29,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMaterialsElementIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 29,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      applyMaterialsIsEmpty() {
    return not().group(
      (q) => q.applyMaterialsIsNull().or().applyMaterialsIsNotEmpty(),
    );
  }

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      galleryIsEmpty() {
    return not().group(
      (q) => q.galleryIsNull().or().galleryIsNotEmpty(),
    );
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceMonthsIsEmpty() {
    return not().group(
      (q) => q.maintenanceMonthsIsNull().or().maintenanceMonthsIsNotEmpty(),
    );
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceSpecialFeaturesIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 35,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceSpecialFeaturesIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 35,
          value: '',
        ),
      );
    });
  }

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceToolsElementEqualTo(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        EqualCondition(
          property: 36,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceToolsElementGreaterThan(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterCondition(
          property: 36,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceToolsElementGreaterThanOrEqualTo(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        GreaterOrEqualCondition(
          property: 36,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceToolsElementLessThan(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessCondition(
          property: 36,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceToolsElementLessThanOrEqualTo(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        LessOrEqualCondition(
          property: 36,
          value: value,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceToolsElementBetween(
    String lower,
    String upper, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        BetweenCondition(
          property: 36,
          lower: lower,
          upper: upper,
          caseSensitive: caseSensitive,
        ),
      );
    });
  }

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceToolsElementIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 36,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      maintenanceToolsElementIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 36,
          value: '',
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      costsUnitIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const EqualCondition(
          property: 39,
          value: '',
        ),
      );
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      costsUnitIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterCondition(
          property: 39,
          value: '',
        ),
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      measureGroupsIsEmpty() {
    return not().group(
      (q) => q.measureGroupsIsNull().or().measureGroupsIsNotEmpty(),
    );
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      measureCategoriesIsEmpty() {
    return not().group(
      (q) => q.measureCategoriesIsNull().or().measureCategoriesIsNotEmpty(),
    );
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition>
      measureCategoriesIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(
        const GreaterOrEqualCondition(property: 42, value: null),
      );
    });
  }

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

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

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

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

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

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

extension MeasureCompleteQueryObject
    on QueryBuilder<MeasureComplete, MeasureComplete, QFilterCondition> {
  QueryBuilder<MeasureComplete, MeasureComplete, QAfterFilterCondition> image(
      FilterQuery<FilePart> q) {
    return QueryBuilder.apply(this, (query) {
      return query.object(q, 2);
    });
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy>
      sortByRiskOfSpottedWingDrosophila({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        10,
        caseSensitive: caseSensitive,
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy>
      sortByApplyAdditionalInfos({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        27,
        caseSensitive: caseSensitive,
      );
    });
  }

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy> sortByApplySteps(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        28,
        caseSensitive: caseSensitive,
      );
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy>
      sortByMaintenanceSpecialFeatures({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        35,
        caseSensitive: caseSensitive,
      );
    });
  }

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy> sortByCostsUnit(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        39,
        caseSensitive: caseSensitive,
      );
    });
  }

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy>
      sortByMeasureType({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(
        40,
        caseSensitive: caseSensitive,
      );
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy>
      thenByRiskOfSpottedWingDrosophila({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(10, caseSensitive: caseSensitive);
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy>
      thenByApplyAdditionalInfos({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(27, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy> thenByApplySteps(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(28, caseSensitive: caseSensitive);
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy>
      thenByMaintenanceSpecialFeatures({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(35, caseSensitive: caseSensitive);
    });
  }

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy> thenByCostsUnit(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(39, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterSortBy>
      thenByMeasureType({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(40, caseSensitive: caseSensitive);
    });
  }

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByTarget({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(4, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByFundingPrograms() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(5);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctBySizeOrArea() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(6);
    });
  }

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByRiskOfSpottedWingDrosophila({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(10, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByFrostHardy({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(12, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByLateFrost({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(13, caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctBySoilMoisture() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(15);
    });
  }

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

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

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByRegion() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(21);
    });
  }

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByApplyDuration({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(24, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByApplyMonths() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(25);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByApplyTools() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(26);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByApplyAdditionalInfos({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(27, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByApplySteps({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(28, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByApplyMaterials() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(29);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByMaintenanceMonths() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(31);
    });
  }

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

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

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByMaintenanceSpecialFeatures({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(35, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByMaintenanceTools() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(36);
    });
  }

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

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByCosts({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(38, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByCostsUnit({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(39, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByMeasureType({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(40, caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByMeasureGroups() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(41);
    });
  }

  QueryBuilder<MeasureComplete, MeasureComplete, QAfterDistinct>
      distinctByMeasureCategories() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(42);
    });
  }
}

extension MeasureCompleteQueryProperty1
    on QueryBuilder<MeasureComplete, MeasureComplete, QProperty> {
  QueryBuilder<MeasureComplete, String?, QAfterProperty> nameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(1);
    });
  }

  QueryBuilder<MeasureComplete, FilePart?, QAfterProperty> imageProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(2);
    });
  }

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

  QueryBuilder<MeasureComplete, String?, QAfterProperty> targetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(4);
    });
  }

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      fundingProgramsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      sizeOrAreaProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(6);
    });
  }

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

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

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

  QueryBuilder<MeasureComplete, String?, QAfterProperty>
      riskOfSpottedWingDrosophilaProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(10);
    });
  }

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

  QueryBuilder<MeasureComplete, String?, QAfterProperty> frostHardyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(12);
    });
  }

  QueryBuilder<MeasureComplete, String?, QAfterProperty> lateFrostProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(13);
    });
  }

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

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      soilMoistureProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(15);
    });
  }

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

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

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

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

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

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      regionProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(21);
    });
  }

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

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

  QueryBuilder<MeasureComplete, String?, QAfterProperty>
      applyDurationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(24);
    });
  }

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      applyMonthsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(25);
    });
  }

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      applyToolsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(26);
    });
  }

  QueryBuilder<MeasureComplete, String?, QAfterProperty>
      applyAdditionalInfosProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(27);
    });
  }

  QueryBuilder<MeasureComplete, String?, QAfterProperty> applyStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(28);
    });
  }

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      applyMaterialsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(29);
    });
  }

  QueryBuilder<MeasureComplete, List<FilePart>?, QAfterProperty>
      galleryProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(30);
    });
  }

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      maintenanceMonthsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(31);
    });
  }

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

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

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

  QueryBuilder<MeasureComplete, String?, QAfterProperty>
      maintenanceSpecialFeaturesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(35);
    });
  }

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      maintenanceToolsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(36);
    });
  }

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

  QueryBuilder<MeasureComplete, String?, QAfterProperty> costsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(38);
    });
  }

  QueryBuilder<MeasureComplete, String?, QAfterProperty> costsUnitProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(39);
    });
  }

  QueryBuilder<MeasureComplete, String?, QAfterProperty> measureTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(40);
    });
  }

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      measureGroupsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(41);
    });
  }

  QueryBuilder<MeasureComplete, List<String>?, QAfterProperty>
      measureCategoriesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(42);
    });
  }

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

extension MeasureCompleteQueryProperty2<R>
    on QueryBuilder<MeasureComplete, R, QAfterProperty> {
  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty> nameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(1);
    });
  }

  QueryBuilder<MeasureComplete, (R, FilePart?), QAfterProperty>
      imageProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(2);
    });
  }

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

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty> targetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(4);
    });
  }

  QueryBuilder<MeasureComplete, (R, List<String>?), QAfterProperty>
      fundingProgramsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

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

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

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

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

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty>
      riskOfSpottedWingDrosophilaProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(10);
    });
  }

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

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty>
      frostHardyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(12);
    });
  }

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty>
      lateFrostProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(13);
    });
  }

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty>
      applyDurationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(24);
    });
  }

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

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

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty>
      applyAdditionalInfosProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(27);
    });
  }

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty>
      applyStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(28);
    });
  }

  QueryBuilder<MeasureComplete, (R, List<String>?), QAfterProperty>
      applyMaterialsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(29);
    });
  }

  QueryBuilder<MeasureComplete, (R, List<FilePart>?), QAfterProperty>
      galleryProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(30);
    });
  }

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

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

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

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

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty>
      maintenanceSpecialFeaturesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(35);
    });
  }

  QueryBuilder<MeasureComplete, (R, List<String>?), QAfterProperty>
      maintenanceToolsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(36);
    });
  }

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

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty> costsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(38);
    });
  }

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty>
      costsUnitProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(39);
    });
  }

  QueryBuilder<MeasureComplete, (R, String?), QAfterProperty>
      measureTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(40);
    });
  }

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

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

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

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

  QueryBuilder<MeasureComplete, (R1, R2, FilePart?), QOperations>
      imageProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(2);
    });
  }

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

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      targetProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(4);
    });
  }

  QueryBuilder<MeasureComplete, (R1, R2, List<String>?), QOperations>
      fundingProgramsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

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

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

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

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

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      riskOfSpottedWingDrosophilaProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(10);
    });
  }

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

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      frostHardyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(12);
    });
  }

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      lateFrostProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(13);
    });
  }

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      applyDurationProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(24);
    });
  }

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

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

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      applyAdditionalInfosProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(27);
    });
  }

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      applyStepsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(28);
    });
  }

  QueryBuilder<MeasureComplete, (R1, R2, List<String>?), QOperations>
      applyMaterialsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(29);
    });
  }

  QueryBuilder<MeasureComplete, (R1, R2, List<FilePart>?), QOperations>
      galleryProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(30);
    });
  }

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

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

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

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

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      maintenanceSpecialFeaturesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(35);
    });
  }

  QueryBuilder<MeasureComplete, (R1, R2, List<String>?), QOperations>
      maintenanceToolsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(36);
    });
  }

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

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      costsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(38);
    });
  }

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      costsUnitProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(39);
    });
  }

  QueryBuilder<MeasureComplete, (R1, R2, String?), QOperations>
      measureTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(40);
    });
  }

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

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

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

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

MeasureComplete _$MeasureCompleteFromJson(Map<String, dynamic> json) =>
    MeasureComplete()
      ..id = (json['id'] as num).toInt()
      ..name = json['name'] as String?
      ..image = json['image'] == null
          ? null
          : FilePart.fromJson(json['image'] as Map<String, dynamic>)
      ..description = json['description'] as String?
      ..target = json['target'] as String?
      ..fundingPrograms = (json['fundingPrograms'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList()
      ..sizeOrArea = (json['sizeOrArea'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList()
      ..growth = json['growth'] as String?
      ..climate = json['climate'] as String?
      ..soilWater = json['soilWater'] as String?
      ..riskOfSpottedWingDrosophila =
          json['riskOfSpottedWingDrosophila'] as String?
      ..thermophilic = json['thermophilic'] as String?
      ..frostHardy = json['frostHardy'] as String?
      ..lateFrost = json['lateFrost'] as String?
      ..drought = json['drought'] as String?
      ..soilMoisture = (json['soilMoisture'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList()
      ..numberLight = json['numberLight'] as String?
      ..numberTemperature = json['numberTemperature'] as String?
      ..numberMoisture = json['numberMoisture'] as String?
      ..numberReaction = json['numberReaction'] as String?
      ..numberNitrogen = json['numberNitrogen'] as String?
      ..region =
          (json['region'] as List<dynamic>?)?.map((e) => e as String).toList()
      ..location = json['location'] as String?
      ..applyCosts = json['applyCosts'] as String?
      ..applyDuration = json['applyDuration'] as String?
      ..applyMonths = (json['applyMonths'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList()
      ..applyTools = (json['applyTools'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList()
      ..applyAdditionalInfos = json['applyAdditionalInfos'] as String?
      ..applySteps = json['applySteps'] as String?
      ..applyMaterials = (json['applyMaterials'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList()
      ..gallery = (json['gallery'] as List<dynamic>?)
          ?.map((e) => FilePart.fromJson(e as Map<String, dynamic>))
          .toList()
      ..maintenanceMonths = (json['maintenanceMonths'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList()
      ..maintenanceAdditionalInfos =
          json['maintenanceAdditionalInfos'] as String?
      ..maintenanceFrequency = json['maintenanceFrequency'] as String?
      ..maintenanceSteps = json['maintenanceSteps'] as String?
      ..maintenanceSpecialFeatures =
          json['maintenanceSpecialFeatures'] as String?
      ..maintenanceTools = (json['maintenanceTools'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList()
      ..sources = json['sources'] as String?
      ..costs = json['costs'] as String?
      ..costsUnit = json['costsUnit'] as String?
      ..measureType = json['measureType'] as String?
      ..measureGroups = (json['measureGroups'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList()
      ..measureCategories = (json['measureCategories'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList();

Map<String, dynamic> _$MeasureCompleteToJson(MeasureComplete instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'image': instance.image,
      'description': instance.description,
      'target': instance.target,
      'fundingPrograms': instance.fundingPrograms,
      'sizeOrArea': instance.sizeOrArea,
      'growth': instance.growth,
      'climate': instance.climate,
      'soilWater': instance.soilWater,
      'riskOfSpottedWingDrosophila': instance.riskOfSpottedWingDrosophila,
      'thermophilic': instance.thermophilic,
      'frostHardy': instance.frostHardy,
      'lateFrost': instance.lateFrost,
      'drought': instance.drought,
      'soilMoisture': instance.soilMoisture,
      'numberLight': instance.numberLight,
      'numberTemperature': instance.numberTemperature,
      'numberMoisture': instance.numberMoisture,
      'numberReaction': instance.numberReaction,
      'numberNitrogen': instance.numberNitrogen,
      'region': instance.region,
      'location': instance.location,
      'applyCosts': instance.applyCosts,
      'applyDuration': instance.applyDuration,
      'applyMonths': instance.applyMonths,
      'applyTools': instance.applyTools,
      'applyAdditionalInfos': instance.applyAdditionalInfos,
      'applySteps': instance.applySteps,
      'applyMaterials': instance.applyMaterials,
      'gallery': instance.gallery,
      'maintenanceMonths': instance.maintenanceMonths,
      'maintenanceAdditionalInfos': instance.maintenanceAdditionalInfos,
      'maintenanceFrequency': instance.maintenanceFrequency,
      'maintenanceSteps': instance.maintenanceSteps,
      'maintenanceSpecialFeatures': instance.maintenanceSpecialFeatures,
      'maintenanceTools': instance.maintenanceTools,
      'sources': instance.sources,
      'costs': instance.costs,
      'costsUnit': instance.costsUnit,
      'measureType': instance.measureType,
      'measureGroups': instance.measureGroups,
      'measureCategories': instance.measureCategories,
    };
