// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'immune_batch_entity.dart';

// **************************************************************************
// IsarCollectionGenerator
// **************************************************************************

// coverage:ignore-file
// ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters

extension GetImmuneBatchEntityCollection on Isar {
  IsarCollection<ImmuneBatchEntity> get immuneBatchEntitys => this.collection();
}

const ImmuneBatchEntitySchema = CollectionSchema(
  name: r'ImmuneBatchEntity',
  id: -6587754986104357640,
  properties: {
    r'circleNo': PropertySchema(
      id: 0,
      name: r'circleNo',
      type: IsarType.string,
    ),
    r'createBy': PropertySchema(
      id: 1,
      name: r'createBy',
      type: IsarType.string,
    ),
    r'createTime': PropertySchema(
      id: 2,
      name: r'createTime',
      type: IsarType.string,
    ),
    r'deptId': PropertySchema(
      id: 3,
      name: r'deptId',
      type: IsarType.string,
    ),
    r'immuneDate': PropertySchema(
      id: 4,
      name: r'immuneDate',
      type: IsarType.string,
    ),
    r'immuneDosage': PropertySchema(
      id: 5,
      name: r'immuneDosage',
      type: IsarType.string,
    ),
    r'immuneExp': PropertySchema(
      id: 6,
      name: r'immuneExp',
      type: IsarType.string,
    ),
    r'immuneMethod': PropertySchema(
      id: 7,
      name: r'immuneMethod',
      type: IsarType.string,
    ),
    r'immunePerson': PropertySchema(
      id: 8,
      name: r'immunePerson',
      type: IsarType.string,
    ),
    r'lotnumber': PropertySchema(
      id: 9,
      name: r'lotnumber',
      type: IsarType.string,
    ),
    r'manufacturer': PropertySchema(
      id: 10,
      name: r'manufacturer',
      type: IsarType.string,
    ),
    r'perinatalPeriod': PropertySchema(
      id: 11,
      name: r'perinatalPeriod',
      type: IsarType.string,
    ),
    r'remark': PropertySchema(
      id: 12,
      name: r'remark',
      type: IsarType.string,
    ),
    r'searchValue': PropertySchema(
      id: 13,
      name: r'searchValue',
      type: IsarType.string,
    ),
    r'specifications': PropertySchema(
      id: 14,
      name: r'specifications',
      type: IsarType.string,
    ),
    r'unid': PropertySchema(
      id: 15,
      name: r'unid',
      type: IsarType.string,
    ),
    r'updateBy': PropertySchema(
      id: 16,
      name: r'updateBy',
      type: IsarType.string,
    ),
    r'updateTime': PropertySchema(
      id: 17,
      name: r'updateTime',
      type: IsarType.string,
    ),
    r'uploadStatus': PropertySchema(
      id: 18,
      name: r'uploadStatus',
      type: IsarType.string,
    ),
    r'vaccineName': PropertySchema(
      id: 19,
      name: r'vaccineName',
      type: IsarType.string,
    )
  },
  estimateSize: _immuneBatchEntityEstimateSize,
  serialize: _immuneBatchEntitySerialize,
  deserialize: _immuneBatchEntityDeserialize,
  deserializeProp: _immuneBatchEntityDeserializeProp,
  idName: r'id',
  indexes: {
    r'unid': IndexSchema(
      id: 4581564109674551298,
      name: r'unid',
      unique: true,
      replace: true,
      properties: [
        IndexPropertySchema(
          name: r'unid',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    )
  },
  links: {},
  embeddedSchemas: {},
  getId: _immuneBatchEntityGetId,
  getLinks: _immuneBatchEntityGetLinks,
  attach: _immuneBatchEntityAttach,
  version: '3.0.5',
);

int _immuneBatchEntityEstimateSize(
  ImmuneBatchEntity object,
  List<int> offsets,
  Map<Type, List<int>> allOffsets,
) {
  var bytesCount = offsets.last;
  {
    final value = object.circleNo;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.createBy;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.createTime;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.deptId;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.immuneDate;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.immuneDosage;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.immuneExp;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.immuneMethod;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.immunePerson;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.lotnumber;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.manufacturer;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.perinatalPeriod;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.remark;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.searchValue;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.specifications;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.unid;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.updateBy;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.updateTime;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.uploadStatus;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.vaccineName;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  return bytesCount;
}

void _immuneBatchEntitySerialize(
  ImmuneBatchEntity object,
  IsarWriter writer,
  List<int> offsets,
  Map<Type, List<int>> allOffsets,
) {
  writer.writeString(offsets[0], object.circleNo);
  writer.writeString(offsets[1], object.createBy);
  writer.writeString(offsets[2], object.createTime);
  writer.writeString(offsets[3], object.deptId);
  writer.writeString(offsets[4], object.immuneDate);
  writer.writeString(offsets[5], object.immuneDosage);
  writer.writeString(offsets[6], object.immuneExp);
  writer.writeString(offsets[7], object.immuneMethod);
  writer.writeString(offsets[8], object.immunePerson);
  writer.writeString(offsets[9], object.lotnumber);
  writer.writeString(offsets[10], object.manufacturer);
  writer.writeString(offsets[11], object.perinatalPeriod);
  writer.writeString(offsets[12], object.remark);
  writer.writeString(offsets[13], object.searchValue);
  writer.writeString(offsets[14], object.specifications);
  writer.writeString(offsets[15], object.unid);
  writer.writeString(offsets[16], object.updateBy);
  writer.writeString(offsets[17], object.updateTime);
  writer.writeString(offsets[18], object.uploadStatus);
  writer.writeString(offsets[19], object.vaccineName);
}

ImmuneBatchEntity _immuneBatchEntityDeserialize(
  Id id,
  IsarReader reader,
  List<int> offsets,
  Map<Type, List<int>> allOffsets,
) {
  final object = ImmuneBatchEntity();
  object.circleNo = reader.readStringOrNull(offsets[0]);
  object.createBy = reader.readStringOrNull(offsets[1]);
  object.createTime = reader.readStringOrNull(offsets[2]);
  object.deptId = reader.readStringOrNull(offsets[3]);
  object.id = id;
  object.immuneDate = reader.readStringOrNull(offsets[4]);
  object.immuneDosage = reader.readStringOrNull(offsets[5]);
  object.immuneExp = reader.readStringOrNull(offsets[6]);
  object.immuneMethod = reader.readStringOrNull(offsets[7]);
  object.immunePerson = reader.readStringOrNull(offsets[8]);
  object.lotnumber = reader.readStringOrNull(offsets[9]);
  object.manufacturer = reader.readStringOrNull(offsets[10]);
  object.perinatalPeriod = reader.readStringOrNull(offsets[11]);
  object.remark = reader.readStringOrNull(offsets[12]);
  object.searchValue = reader.readStringOrNull(offsets[13]);
  object.specifications = reader.readStringOrNull(offsets[14]);
  object.unid = reader.readStringOrNull(offsets[15]);
  object.updateBy = reader.readStringOrNull(offsets[16]);
  object.updateTime = reader.readStringOrNull(offsets[17]);
  object.uploadStatus = reader.readStringOrNull(offsets[18]);
  object.vaccineName = reader.readStringOrNull(offsets[19]);
  return object;
}

P _immuneBatchEntityDeserializeProp<P>(
  IsarReader reader,
  int propertyId,
  int offset,
  Map<Type, List<int>> allOffsets,
) {
  switch (propertyId) {
    case 0:
      return (reader.readStringOrNull(offset)) as P;
    case 1:
      return (reader.readStringOrNull(offset)) as P;
    case 2:
      return (reader.readStringOrNull(offset)) as P;
    case 3:
      return (reader.readStringOrNull(offset)) as P;
    case 4:
      return (reader.readStringOrNull(offset)) as P;
    case 5:
      return (reader.readStringOrNull(offset)) as P;
    case 6:
      return (reader.readStringOrNull(offset)) as P;
    case 7:
      return (reader.readStringOrNull(offset)) as P;
    case 8:
      return (reader.readStringOrNull(offset)) as P;
    case 9:
      return (reader.readStringOrNull(offset)) as P;
    case 10:
      return (reader.readStringOrNull(offset)) as P;
    case 11:
      return (reader.readStringOrNull(offset)) as P;
    case 12:
      return (reader.readStringOrNull(offset)) as P;
    case 13:
      return (reader.readStringOrNull(offset)) as P;
    case 14:
      return (reader.readStringOrNull(offset)) as P;
    case 15:
      return (reader.readStringOrNull(offset)) as P;
    case 16:
      return (reader.readStringOrNull(offset)) as P;
    case 17:
      return (reader.readStringOrNull(offset)) as P;
    case 18:
      return (reader.readStringOrNull(offset)) as P;
    case 19:
      return (reader.readStringOrNull(offset)) as P;
    default:
      throw IsarError('Unknown property with id $propertyId');
  }
}

Id _immuneBatchEntityGetId(ImmuneBatchEntity object) {
  return object.id;
}

List<IsarLinkBase<dynamic>> _immuneBatchEntityGetLinks(
    ImmuneBatchEntity object) {
  return [];
}

void _immuneBatchEntityAttach(
    IsarCollection<dynamic> col, Id id, ImmuneBatchEntity object) {
  object.id = id;
}

extension ImmuneBatchEntityByIndex on IsarCollection<ImmuneBatchEntity> {
  Future<ImmuneBatchEntity?> getByUnid(String? unid) {
    return getByIndex(r'unid', [unid]);
  }

  ImmuneBatchEntity? getByUnidSync(String? unid) {
    return getByIndexSync(r'unid', [unid]);
  }

  Future<bool> deleteByUnid(String? unid) {
    return deleteByIndex(r'unid', [unid]);
  }

  bool deleteByUnidSync(String? unid) {
    return deleteByIndexSync(r'unid', [unid]);
  }

  Future<List<ImmuneBatchEntity?>> getAllByUnid(List<String?> unidValues) {
    final values = unidValues.map((e) => [e]).toList();
    return getAllByIndex(r'unid', values);
  }

  List<ImmuneBatchEntity?> getAllByUnidSync(List<String?> unidValues) {
    final values = unidValues.map((e) => [e]).toList();
    return getAllByIndexSync(r'unid', values);
  }

  Future<int> deleteAllByUnid(List<String?> unidValues) {
    final values = unidValues.map((e) => [e]).toList();
    return deleteAllByIndex(r'unid', values);
  }

  int deleteAllByUnidSync(List<String?> unidValues) {
    final values = unidValues.map((e) => [e]).toList();
    return deleteAllByIndexSync(r'unid', values);
  }

  Future<Id> putByUnid(ImmuneBatchEntity object) {
    return putByIndex(r'unid', object);
  }

  Id putByUnidSync(ImmuneBatchEntity object, {bool saveLinks = true}) {
    return putByIndexSync(r'unid', object, saveLinks: saveLinks);
  }

  Future<List<Id>> putAllByUnid(List<ImmuneBatchEntity> objects) {
    return putAllByIndex(r'unid', objects);
  }

  List<Id> putAllByUnidSync(List<ImmuneBatchEntity> objects,
      {bool saveLinks = true}) {
    return putAllByIndexSync(r'unid', objects, saveLinks: saveLinks);
  }
}

extension ImmuneBatchEntityQueryWhereSort
    on QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QWhere> {
  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterWhere> anyId() {
    return QueryBuilder.apply(this, (query) {
      return query.addWhereClause(const IdWhereClause.any());
    });
  }
}

extension ImmuneBatchEntityQueryWhere
    on QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QWhereClause> {
  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterWhereClause>
      idEqualTo(Id id) {
    return QueryBuilder.apply(this, (query) {
      return query.addWhereClause(IdWhereClause.between(
        lower: id,
        upper: id,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterWhereClause>
      idNotEqualTo(Id id) {
    return QueryBuilder.apply(this, (query) {
      if (query.whereSort == Sort.asc) {
        return query
            .addWhereClause(
              IdWhereClause.lessThan(upper: id, includeUpper: false),
            )
            .addWhereClause(
              IdWhereClause.greaterThan(lower: id, includeLower: false),
            );
      } else {
        return query
            .addWhereClause(
              IdWhereClause.greaterThan(lower: id, includeLower: false),
            )
            .addWhereClause(
              IdWhereClause.lessThan(upper: id, includeUpper: false),
            );
      }
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterWhereClause>
      idGreaterThan(Id id, {bool include = false}) {
    return QueryBuilder.apply(this, (query) {
      return query.addWhereClause(
        IdWhereClause.greaterThan(lower: id, includeLower: include),
      );
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterWhereClause>
      idLessThan(Id id, {bool include = false}) {
    return QueryBuilder.apply(this, (query) {
      return query.addWhereClause(
        IdWhereClause.lessThan(upper: id, includeUpper: include),
      );
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterWhereClause>
      idBetween(
    Id lowerId,
    Id upperId, {
    bool includeLower = true,
    bool includeUpper = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addWhereClause(IdWhereClause.between(
        lower: lowerId,
        includeLower: includeLower,
        upper: upperId,
        includeUpper: includeUpper,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterWhereClause>
      unidIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addWhereClause(IndexWhereClause.equalTo(
        indexName: r'unid',
        value: [null],
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterWhereClause>
      unidIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addWhereClause(IndexWhereClause.between(
        indexName: r'unid',
        lower: [null],
        includeLower: false,
        upper: [],
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterWhereClause>
      unidEqualTo(String? unid) {
    return QueryBuilder.apply(this, (query) {
      return query.addWhereClause(IndexWhereClause.equalTo(
        indexName: r'unid',
        value: [unid],
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterWhereClause>
      unidNotEqualTo(String? unid) {
    return QueryBuilder.apply(this, (query) {
      if (query.whereSort == Sort.asc) {
        return query
            .addWhereClause(IndexWhereClause.between(
              indexName: r'unid',
              lower: [],
              upper: [unid],
              includeUpper: false,
            ))
            .addWhereClause(IndexWhereClause.between(
              indexName: r'unid',
              lower: [unid],
              includeLower: false,
              upper: [],
            ));
      } else {
        return query
            .addWhereClause(IndexWhereClause.between(
              indexName: r'unid',
              lower: [unid],
              includeLower: false,
              upper: [],
            ))
            .addWhereClause(IndexWhereClause.between(
              indexName: r'unid',
              lower: [],
              upper: [unid],
              includeUpper: false,
            ));
      }
    });
  }
}

extension ImmuneBatchEntityQueryFilter
    on QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QFilterCondition> {
  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'circleNo',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'circleNo',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'circleNo',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'circleNo',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'circleNo',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'circleNo',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'circleNo',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'circleNo',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'circleNo',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'circleNo',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'circleNo',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      circleNoIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'circleNo',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'createBy',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'createBy',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'createBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'createBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'createBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'createBy',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'createBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'createBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'createBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'createBy',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'createBy',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createByIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'createBy',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'createTime',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'createTime',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'createTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'createTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'createTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'createTime',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'createTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'createTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'createTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'createTime',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'createTime',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      createTimeIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'createTime',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'deptId',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'deptId',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'deptId',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'deptId',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'deptId',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'deptId',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'deptId',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'deptId',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'deptId',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'deptId',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'deptId',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      deptIdIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'deptId',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      idEqualTo(Id value) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'id',
        value: value,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      idGreaterThan(
    Id value, {
    bool include = false,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'id',
        value: value,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      idLessThan(
    Id value, {
    bool include = false,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'id',
        value: value,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      idBetween(
    Id lower,
    Id upper, {
    bool includeLower = true,
    bool includeUpper = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'id',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'immuneDate',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'immuneDate',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'immuneDate',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'immuneDate',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'immuneDate',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'immuneDate',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'immuneDate',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'immuneDate',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'immuneDate',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'immuneDate',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'immuneDate',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDateIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'immuneDate',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'immuneDosage',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'immuneDosage',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'immuneDosage',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'immuneDosage',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'immuneDosage',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'immuneDosage',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'immuneDosage',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'immuneDosage',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'immuneDosage',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'immuneDosage',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'immuneDosage',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneDosageIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'immuneDosage',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'immuneExp',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'immuneExp',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'immuneExp',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'immuneExp',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'immuneExp',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'immuneExp',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'immuneExp',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'immuneExp',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'immuneExp',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'immuneExp',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'immuneExp',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneExpIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'immuneExp',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'immuneMethod',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'immuneMethod',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'immuneMethod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'immuneMethod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'immuneMethod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'immuneMethod',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'immuneMethod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'immuneMethod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'immuneMethod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'immuneMethod',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'immuneMethod',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immuneMethodIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'immuneMethod',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'immunePerson',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'immunePerson',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'immunePerson',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'immunePerson',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'immunePerson',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'immunePerson',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'immunePerson',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'immunePerson',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'immunePerson',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'immunePerson',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'immunePerson',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      immunePersonIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'immunePerson',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'lotnumber',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'lotnumber',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'lotnumber',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'lotnumber',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'lotnumber',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'lotnumber',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'lotnumber',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'lotnumber',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'lotnumber',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'lotnumber',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'lotnumber',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      lotnumberIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'lotnumber',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'manufacturer',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'manufacturer',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'manufacturer',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'manufacturer',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'manufacturer',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'manufacturer',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'manufacturer',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'manufacturer',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'manufacturer',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'manufacturer',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'manufacturer',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      manufacturerIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'manufacturer',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'perinatalPeriod',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'perinatalPeriod',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'perinatalPeriod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'perinatalPeriod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'perinatalPeriod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'perinatalPeriod',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'perinatalPeriod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'perinatalPeriod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'perinatalPeriod',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'perinatalPeriod',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'perinatalPeriod',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      perinatalPeriodIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'perinatalPeriod',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'remark',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'remark',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'remark',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'remark',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'remark',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'remark',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'remark',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'remark',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'remark',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'remark',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'remark',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      remarkIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'remark',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'searchValue',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'searchValue',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'searchValue',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'searchValue',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'searchValue',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'searchValue',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'searchValue',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'searchValue',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'searchValue',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'searchValue',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'searchValue',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      searchValueIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'searchValue',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'specifications',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'specifications',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'specifications',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'specifications',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'specifications',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'specifications',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'specifications',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'specifications',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'specifications',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'specifications',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'specifications',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      specificationsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'specifications',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'unid',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'unid',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'unid',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'unid',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'unid',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'unid',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'unid',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'unid',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'unid',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'unid',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'unid',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      unidIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'unid',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'updateBy',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'updateBy',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'updateBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'updateBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'updateBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'updateBy',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'updateBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'updateBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'updateBy',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'updateBy',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'updateBy',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateByIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'updateBy',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'updateTime',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'updateTime',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'updateTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'updateTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'updateTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'updateTime',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'updateTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'updateTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'updateTime',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'updateTime',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'updateTime',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      updateTimeIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'updateTime',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'uploadStatus',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'uploadStatus',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'uploadStatus',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'uploadStatus',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'uploadStatus',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'uploadStatus',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'uploadStatus',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'uploadStatus',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'uploadStatus',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'uploadStatus',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'uploadStatus',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      uploadStatusIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'uploadStatus',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'vaccineName',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'vaccineName',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameEqualTo(
    String? value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'vaccineName',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameGreaterThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'vaccineName',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameLessThan(
    String? value, {
    bool include = false,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'vaccineName',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameBetween(
    String? lower,
    String? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'vaccineName',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameStartsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.startsWith(
        property: r'vaccineName',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameEndsWith(
    String value, {
    bool caseSensitive = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.endsWith(
        property: r'vaccineName',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameContains(String value, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.contains(
        property: r'vaccineName',
        value: value,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameMatches(String pattern, {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.matches(
        property: r'vaccineName',
        wildcard: pattern,
        caseSensitive: caseSensitive,
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'vaccineName',
        value: '',
      ));
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterFilterCondition>
      vaccineNameIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'vaccineName',
        value: '',
      ));
    });
  }
}

extension ImmuneBatchEntityQueryObject
    on QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QFilterCondition> {}

extension ImmuneBatchEntityQueryLinks
    on QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QFilterCondition> {}

extension ImmuneBatchEntityQuerySortBy
    on QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QSortBy> {
  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByCircleNo() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'circleNo', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByCircleNoDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'circleNo', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByCreateBy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'createBy', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByCreateByDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'createBy', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByCreateTime() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'createTime', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByCreateTimeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'createTime', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByDeptId() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'deptId', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByDeptIdDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'deptId', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByImmuneDate() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneDate', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByImmuneDateDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneDate', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByImmuneDosage() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneDosage', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByImmuneDosageDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneDosage', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByImmuneExp() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneExp', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByImmuneExpDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneExp', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByImmuneMethod() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneMethod', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByImmuneMethodDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneMethod', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByImmunePerson() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immunePerson', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByImmunePersonDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immunePerson', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByLotnumber() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'lotnumber', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByLotnumberDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'lotnumber', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByManufacturer() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'manufacturer', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByManufacturerDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'manufacturer', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByPerinatalPeriod() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'perinatalPeriod', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByPerinatalPeriodDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'perinatalPeriod', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByRemark() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'remark', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByRemarkDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'remark', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortBySearchValue() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'searchValue', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortBySearchValueDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'searchValue', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortBySpecifications() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'specifications', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortBySpecificationsDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'specifications', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByUnid() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'unid', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByUnidDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'unid', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByUpdateBy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'updateBy', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByUpdateByDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'updateBy', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByUpdateTime() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'updateTime', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByUpdateTimeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'updateTime', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByUploadStatus() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'uploadStatus', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByUploadStatusDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'uploadStatus', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByVaccineName() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'vaccineName', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      sortByVaccineNameDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'vaccineName', Sort.desc);
    });
  }
}

extension ImmuneBatchEntityQuerySortThenBy
    on QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QSortThenBy> {
  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByCircleNo() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'circleNo', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByCircleNoDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'circleNo', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByCreateBy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'createBy', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByCreateByDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'createBy', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByCreateTime() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'createTime', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByCreateTimeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'createTime', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByDeptId() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'deptId', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByDeptIdDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'deptId', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy> thenById() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'id', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByIdDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'id', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByImmuneDate() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneDate', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByImmuneDateDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneDate', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByImmuneDosage() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneDosage', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByImmuneDosageDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneDosage', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByImmuneExp() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneExp', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByImmuneExpDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneExp', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByImmuneMethod() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneMethod', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByImmuneMethodDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immuneMethod', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByImmunePerson() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immunePerson', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByImmunePersonDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'immunePerson', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByLotnumber() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'lotnumber', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByLotnumberDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'lotnumber', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByManufacturer() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'manufacturer', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByManufacturerDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'manufacturer', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByPerinatalPeriod() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'perinatalPeriod', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByPerinatalPeriodDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'perinatalPeriod', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByRemark() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'remark', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByRemarkDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'remark', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenBySearchValue() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'searchValue', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenBySearchValueDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'searchValue', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenBySpecifications() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'specifications', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenBySpecificationsDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'specifications', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByUnid() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'unid', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByUnidDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'unid', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByUpdateBy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'updateBy', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByUpdateByDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'updateBy', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByUpdateTime() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'updateTime', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByUpdateTimeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'updateTime', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByUploadStatus() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'uploadStatus', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByUploadStatusDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'uploadStatus', Sort.desc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByVaccineName() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'vaccineName', Sort.asc);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QAfterSortBy>
      thenByVaccineNameDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'vaccineName', Sort.desc);
    });
  }
}

extension ImmuneBatchEntityQueryWhereDistinct
    on QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct> {
  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByCircleNo({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'circleNo', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByCreateBy({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'createBy', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByCreateTime({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'createTime', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByDeptId({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'deptId', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByImmuneDate({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'immuneDate', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByImmuneDosage({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'immuneDosage', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByImmuneExp({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'immuneExp', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByImmuneMethod({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'immuneMethod', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByImmunePerson({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'immunePerson', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByLotnumber({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'lotnumber', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByManufacturer({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'manufacturer', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByPerinatalPeriod({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'perinatalPeriod',
          caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByRemark({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'remark', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctBySearchValue({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'searchValue', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctBySpecifications({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'specifications',
          caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct> distinctByUnid(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'unid', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByUpdateBy({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'updateBy', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByUpdateTime({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'updateTime', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByUploadStatus({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'uploadStatus', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QDistinct>
      distinctByVaccineName({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'vaccineName', caseSensitive: caseSensitive);
    });
  }
}

extension ImmuneBatchEntityQueryProperty
    on QueryBuilder<ImmuneBatchEntity, ImmuneBatchEntity, QQueryProperty> {
  QueryBuilder<ImmuneBatchEntity, int, QQueryOperations> idProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'id');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      circleNoProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'circleNo');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      createByProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'createBy');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      createTimeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'createTime');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations> deptIdProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'deptId');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      immuneDateProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'immuneDate');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      immuneDosageProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'immuneDosage');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      immuneExpProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'immuneExp');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      immuneMethodProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'immuneMethod');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      immunePersonProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'immunePerson');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      lotnumberProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'lotnumber');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      manufacturerProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'manufacturer');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      perinatalPeriodProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'perinatalPeriod');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations> remarkProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'remark');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      searchValueProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'searchValue');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      specificationsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'specifications');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations> unidProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'unid');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      updateByProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'updateBy');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      updateTimeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'updateTime');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      uploadStatusProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'uploadStatus');
    });
  }

  QueryBuilder<ImmuneBatchEntity, String?, QQueryOperations>
      vaccineNameProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'vaccineName');
    });
  }
}
