// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'list_measure_single.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 GetListMeasureSingleCollection on Isar {
  IsarCollection<int, ListMeasureSingle> get listMeasureSingles =>
      this.collection();
}

const ListMeasureSingleSchema = IsarGeneratedSchema(
  schema: IsarSchema(
    name: 'ListMeasureSingle',
    idName: 'id',
    embedded: false,
    properties: [
      IsarPropertySchema(
        name: 'name',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'description',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureType',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureTypeUrl',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureGroup',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureGroupUrl',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureCategory',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'measureCategoryUrl',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'files',
        type: IsarType.objectList,
        target: 'FilePart',
      ),
    ],
    indexes: [
      IsarIndexSchema(
        name: 'name',
        properties: [
          "name",
        ],
        unique: false,
        hash: false,
      ),
      IsarIndexSchema(
        name: 'measureType',
        properties: [
          "measureType",
        ],
        unique: false,
        hash: false,
      ),
      IsarIndexSchema(
        name: 'measureTypeUrl',
        properties: [
          "measureTypeUrl",
        ],
        unique: false,
        hash: false,
      ),
      IsarIndexSchema(
        name: 'measureGroup',
        properties: [
          "measureGroup",
        ],
        unique: false,
        hash: false,
      ),
      IsarIndexSchema(
        name: 'measureGroupUrl',
        properties: [
          "measureGroupUrl",
        ],
        unique: false,
        hash: false,
      ),
      IsarIndexSchema(
        name: 'measureCategory',
        properties: [
          "measureCategory",
        ],
        unique: false,
        hash: false,
      ),
      IsarIndexSchema(
        name: 'measureCategoryUrl',
        properties: [
          "measureCategoryUrl",
        ],
        unique: false,
        hash: false,
      ),
    ],
  ),
  converter: IsarObjectConverter<int, ListMeasureSingle>(
    serialize: serializeListMeasureSingle,
    deserialize: deserializeListMeasureSingle,
    deserializeProperty: deserializeListMeasureSingleProp,
  ),
  embeddedSchemas: [FilePartSchema, ThumbnailsSchema, ThumbnailSchema],
);

@isarProtected
int serializeListMeasureSingle(IsarWriter writer, ListMeasureSingle object) {
  {
    final value = object.name;
    if (value == null) {
      IsarCore.writeNull(writer, 1);
    } else {
      IsarCore.writeString(writer, 1, value);
    }
  }
  {
    final value = object.description;
    if (value == null) {
      IsarCore.writeNull(writer, 2);
    } else {
      IsarCore.writeString(writer, 2, value);
    }
  }
  {
    final value = object.measureType;
    if (value == null) {
      IsarCore.writeNull(writer, 3);
    } else {
      IsarCore.writeString(writer, 3, value);
    }
  }
  {
    final value = object.measureTypeUrl;
    if (value == null) {
      IsarCore.writeNull(writer, 4);
    } else {
      IsarCore.writeString(writer, 4, value);
    }
  }
  {
    final value = object.measureGroup;
    if (value == null) {
      IsarCore.writeNull(writer, 5);
    } else {
      IsarCore.writeString(writer, 5, value);
    }
  }
  {
    final value = object.measureGroupUrl;
    if (value == null) {
      IsarCore.writeNull(writer, 6);
    } else {
      IsarCore.writeString(writer, 6, value);
    }
  }
  {
    final value = object.measureCategory;
    if (value == null) {
      IsarCore.writeNull(writer, 7);
    } else {
      IsarCore.writeString(writer, 7, value);
    }
  }
  {
    final value = object.measureCategoryUrl;
    if (value == null) {
      IsarCore.writeNull(writer, 8);
    } else {
      IsarCore.writeString(writer, 8, value);
    }
  }
  {
    final list = object.files;
    if (list == null) {
      IsarCore.writeNull(writer, 9);
    } else {
      final listWriter = IsarCore.beginList(writer, 9, 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);
    }
  }
  return object.id;
}

@isarProtected
ListMeasureSingle deserializeListMeasureSingle(IsarReader reader) {
  final object = ListMeasureSingle();
  object.name = IsarCore.readString(reader, 1);
  object.description = IsarCore.readString(reader, 2);
  object.measureType = IsarCore.readString(reader, 3);
  object.measureTypeUrl = IsarCore.readString(reader, 4);
  object.measureGroup = IsarCore.readString(reader, 5);
  object.measureGroupUrl = IsarCore.readString(reader, 6);
  object.measureCategory = IsarCore.readString(reader, 7);
  object.measureCategoryUrl = IsarCore.readString(reader, 8);
  {
    final length = IsarCore.readList(reader, 9, IsarCore.readerPtrPtr);
    {
      final reader = IsarCore.readerPtr;
      if (reader.isNull) {
        object.files = null;
      } else {
        final list = List<FilePart>.filled(length, FilePart(), growable: true);
        for (var i = 0; i < length; i++) {
          {
            final objectReader = IsarCore.readObject(reader, i);
            if (objectReader.isNull) {
              list[i] = FilePart();
            } else {
              final embedded = deserializeFilePart(objectReader);
              IsarCore.freeReader(objectReader);
              list[i] = embedded;
            }
          }
        }
        IsarCore.freeReader(reader);
        object.files = list;
      }
    }
  }
  object.id = IsarCore.readId(reader);
  return object;
}

@isarProtected
dynamic deserializeListMeasureSingleProp(IsarReader reader, int property) {
  switch (property) {
    case 1:
      return IsarCore.readString(reader, 1);
    case 2:
      return IsarCore.readString(reader, 2);
    case 3:
      return IsarCore.readString(reader, 3);
    case 4:
      return IsarCore.readString(reader, 4);
    case 5:
      return IsarCore.readString(reader, 5);
    case 6:
      return IsarCore.readString(reader, 6);
    case 7:
      return IsarCore.readString(reader, 7);
    case 8:
      return IsarCore.readString(reader, 8);
    case 9:
      {
        final length = IsarCore.readList(reader, 9, 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 0:
      return IsarCore.readId(reader);
    default:
      throw ArgumentError('Unknown property: $property');
  }
}

sealed class _ListMeasureSingleUpdate {
  bool call({
    required int id,
    String? name,
    String? description,
    String? measureType,
    String? measureTypeUrl,
    String? measureGroup,
    String? measureGroupUrl,
    String? measureCategory,
    String? measureCategoryUrl,
  });
}

class _ListMeasureSingleUpdateImpl implements _ListMeasureSingleUpdate {
  const _ListMeasureSingleUpdateImpl(this.collection);

  final IsarCollection<int, ListMeasureSingle> collection;

  @override
  bool call({
    required int id,
    Object? name = ignore,
    Object? description = ignore,
    Object? measureType = ignore,
    Object? measureTypeUrl = ignore,
    Object? measureGroup = ignore,
    Object? measureGroupUrl = ignore,
    Object? measureCategory = ignore,
    Object? measureCategoryUrl = ignore,
  }) {
    return collection.updateProperties([
          id
        ], {
          if (name != ignore) 1: name as String?,
          if (description != ignore) 2: description as String?,
          if (measureType != ignore) 3: measureType as String?,
          if (measureTypeUrl != ignore) 4: measureTypeUrl as String?,
          if (measureGroup != ignore) 5: measureGroup as String?,
          if (measureGroupUrl != ignore) 6: measureGroupUrl as String?,
          if (measureCategory != ignore) 7: measureCategory as String?,
          if (measureCategoryUrl != ignore) 8: measureCategoryUrl as String?,
        }) >
        0;
  }
}

sealed class _ListMeasureSingleUpdateAll {
  int call({
    required List<int> id,
    String? name,
    String? description,
    String? measureType,
    String? measureTypeUrl,
    String? measureGroup,
    String? measureGroupUrl,
    String? measureCategory,
    String? measureCategoryUrl,
  });
}

class _ListMeasureSingleUpdateAllImpl implements _ListMeasureSingleUpdateAll {
  const _ListMeasureSingleUpdateAllImpl(this.collection);

  final IsarCollection<int, ListMeasureSingle> collection;

  @override
  int call({
    required List<int> id,
    Object? name = ignore,
    Object? description = ignore,
    Object? measureType = ignore,
    Object? measureTypeUrl = ignore,
    Object? measureGroup = ignore,
    Object? measureGroupUrl = ignore,
    Object? measureCategory = ignore,
    Object? measureCategoryUrl = ignore,
  }) {
    return collection.updateProperties(id, {
      if (name != ignore) 1: name as String?,
      if (description != ignore) 2: description as String?,
      if (measureType != ignore) 3: measureType as String?,
      if (measureTypeUrl != ignore) 4: measureTypeUrl as String?,
      if (measureGroup != ignore) 5: measureGroup as String?,
      if (measureGroupUrl != ignore) 6: measureGroupUrl as String?,
      if (measureCategory != ignore) 7: measureCategory as String?,
      if (measureCategoryUrl != ignore) 8: measureCategoryUrl as String?,
    });
  }
}

extension ListMeasureSingleUpdate on IsarCollection<int, ListMeasureSingle> {
  _ListMeasureSingleUpdate get update => _ListMeasureSingleUpdateImpl(this);

  _ListMeasureSingleUpdateAll get updateAll =>
      _ListMeasureSingleUpdateAllImpl(this);
}

sealed class _ListMeasureSingleQueryUpdate {
  int call({
    String? name,
    String? description,
    String? measureType,
    String? measureTypeUrl,
    String? measureGroup,
    String? measureGroupUrl,
    String? measureCategory,
    String? measureCategoryUrl,
  });
}

class _ListMeasureSingleQueryUpdateImpl
    implements _ListMeasureSingleQueryUpdate {
  const _ListMeasureSingleQueryUpdateImpl(this.query, {this.limit});

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

  @override
  int call({
    Object? name = ignore,
    Object? description = ignore,
    Object? measureType = ignore,
    Object? measureTypeUrl = ignore,
    Object? measureGroup = ignore,
    Object? measureGroupUrl = ignore,
    Object? measureCategory = ignore,
    Object? measureCategoryUrl = ignore,
  }) {
    return query.updateProperties(limit: limit, {
      if (name != ignore) 1: name as String?,
      if (description != ignore) 2: description as String?,
      if (measureType != ignore) 3: measureType as String?,
      if (measureTypeUrl != ignore) 4: measureTypeUrl as String?,
      if (measureGroup != ignore) 5: measureGroup as String?,
      if (measureGroupUrl != ignore) 6: measureGroupUrl as String?,
      if (measureCategory != ignore) 7: measureCategory as String?,
      if (measureCategoryUrl != ignore) 8: measureCategoryUrl as String?,
    });
  }
}

extension ListMeasureSingleQueryUpdate on IsarQuery<ListMeasureSingle> {
  _ListMeasureSingleQueryUpdate get updateFirst =>
      _ListMeasureSingleQueryUpdateImpl(this, limit: 1);

  _ListMeasureSingleQueryUpdate get updateAll =>
      _ListMeasureSingleQueryUpdateImpl(this);
}

class _ListMeasureSingleQueryBuilderUpdateImpl
    implements _ListMeasureSingleQueryUpdate {
  const _ListMeasureSingleQueryBuilderUpdateImpl(this.query, {this.limit});

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

  @override
  int call({
    Object? name = ignore,
    Object? description = ignore,
    Object? measureType = ignore,
    Object? measureTypeUrl = ignore,
    Object? measureGroup = ignore,
    Object? measureGroupUrl = ignore,
    Object? measureCategory = ignore,
    Object? measureCategoryUrl = ignore,
  }) {
    final q = query.build();
    try {
      return q.updateProperties(limit: limit, {
        if (name != ignore) 1: name as String?,
        if (description != ignore) 2: description as String?,
        if (measureType != ignore) 3: measureType as String?,
        if (measureTypeUrl != ignore) 4: measureTypeUrl as String?,
        if (measureGroup != ignore) 5: measureGroup as String?,
        if (measureGroupUrl != ignore) 6: measureGroupUrl as String?,
        if (measureCategory != ignore) 7: measureCategory as String?,
        if (measureCategoryUrl != ignore) 8: measureCategoryUrl as String?,
      });
    } finally {
      q.close();
    }
  }
}

extension ListMeasureSingleQueryBuilderUpdate
    on QueryBuilder<ListMeasureSingle, ListMeasureSingle, QOperations> {
  _ListMeasureSingleQueryUpdate get updateFirst =>
      _ListMeasureSingleQueryBuilderUpdateImpl(this, limit: 1);

  _ListMeasureSingleQueryUpdate get updateAll =>
      _ListMeasureSingleQueryBuilderUpdateImpl(this);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

extension ListMeasureSingleQueryObject
    on QueryBuilder<ListMeasureSingle, ListMeasureSingle, QFilterCondition> {}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<ListMeasureSingle, ListMeasureSingle, QAfterDistinct>
      distinctByMeasureGroup({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(5, caseSensitive: caseSensitive);
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<ListMeasureSingle, String?, QAfterProperty>
      measureGroupProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<ListMeasureSingle, (R1, R2, String?), QOperations>
      measureTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(3);
    });
  }

  QueryBuilder<ListMeasureSingle, (R1, R2, String?), QOperations>
      measureTypeUrlProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(4);
    });
  }

  QueryBuilder<ListMeasureSingle, (R1, R2, String?), QOperations>
      measureGroupProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addProperty(5);
    });
  }

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

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

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

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

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

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

ListMeasureSingle _$ListMeasureSingleFromJson(Map<String, dynamic> json) =>
    ListMeasureSingle()
      ..id = (json['id'] as num).toInt()
      ..name = json['name'] as String?
      ..description = json['description'] as String?
      ..measureType = json['measureType'] as String?
      ..measureTypeUrl = json['measureTypeUrl'] as String?
      ..measureGroup = json['measureGroup'] as String?
      ..measureGroupUrl = json['measureGroupUrl'] as String?
      ..measureCategory = json['measureCategory'] as String?
      ..measureCategoryUrl = json['measureCategoryUrl'] as String?
      ..files = (json['files'] as List<dynamic>?)
          ?.map((e) => FilePart.fromJson(e as Map<String, dynamic>))
          .toList();

Map<String, dynamic> _$ListMeasureSingleToJson(ListMeasureSingle instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'description': instance.description,
      'measureType': instance.measureType,
      'measureTypeUrl': instance.measureTypeUrl,
      'measureGroup': instance.measureGroup,
      'measureGroupUrl': instance.measureGroupUrl,
      'measureCategory': instance.measureCategory,
      'measureCategoryUrl': instance.measureCategoryUrl,
      'files': instance.files,
    };
