// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'breeding_record_detail_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 GetBreedingRecordDetailEntityCollection on Isar {
  IsarCollection<BreedingRecordDetailEntity> get breedingRecordDetailEntitys =>
      this.collection();
}

const BreedingRecordDetailEntitySchema = CollectionSchema(
  name: r'BreedingRecordDetailEntity',
  id: 5409489667581271623,
  properties: {
    r'backLoveDate': PropertySchema(
      id: 0,
      name: r'backLoveDate',
      type: IsarType.string,
    ),
    r'caId': PropertySchema(
      id: 1,
      name: r'caId',
      type: IsarType.string,
    ),
    r'cattleresumeId': PropertySchema(
      id: 2,
      name: r'cattleresumeId',
      type: IsarType.string,
    ),
    r'createBy': PropertySchema(
      id: 3,
      name: r'createBy',
      type: IsarType.string,
    ),
    r'createTime': PropertySchema(
      id: 4,
      name: r'createTime',
      type: IsarType.string,
    ),
    r'deptId': PropertySchema(
      id: 5,
      name: r'deptId',
      type: IsarType.string,
    ),
    r'dueDate': PropertySchema(
      id: 6,
      name: r'dueDate',
      type: IsarType.string,
    ),
    r'fUnid': PropertySchema(
      id: 7,
      name: r'fUnid',
      type: IsarType.string,
    ),
    r'frozenSemenBatch': PropertySchema(
      id: 8,
      name: r'frozenSemenBatch',
      type: IsarType.string,
    ),
    r'individualNo': PropertySchema(
      id: 9,
      name: r'individualNo',
      type: IsarType.string,
    ),
    r'isReturn': PropertySchema(
      id: 10,
      name: r'isReturn',
      type: IsarType.string,
    ),
    r'matingDate': PropertySchema(
      id: 11,
      name: r'matingDate',
      type: IsarType.string,
    ),
    r'matingStyle': PropertySchema(
      id: 12,
      name: r'matingStyle',
      type: IsarType.string,
    ),
    r'pregnancy': PropertySchema(
      id: 13,
      name: r'pregnancy',
      type: IsarType.string,
    ),
    r'registrationNo': PropertySchema(
      id: 14,
      name: r'registrationNo',
      type: IsarType.string,
    ),
    r'remark': PropertySchema(
      id: 15,
      name: r'remark',
      type: IsarType.string,
    ),
    r'searchValue': PropertySchema(
      id: 16,
      name: r'searchValue',
      type: IsarType.string,
    ),
    r'unid': PropertySchema(
      id: 17,
      name: r'unid',
      type: IsarType.string,
    ),
    r'updateBy': PropertySchema(
      id: 18,
      name: r'updateBy',
      type: IsarType.string,
    ),
    r'updateTime': PropertySchema(
      id: 19,
      name: r'updateTime',
      type: IsarType.string,
    ),
    r'uploadStatus': PropertySchema(
      id: 20,
      name: r'uploadStatus',
      type: IsarType.string,
    )
  },
  estimateSize: _breedingRecordDetailEntityEstimateSize,
  serialize: _breedingRecordDetailEntitySerialize,
  deserialize: _breedingRecordDetailEntityDeserialize,
  deserializeProp: _breedingRecordDetailEntityDeserializeProp,
  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: _breedingRecordDetailEntityGetId,
  getLinks: _breedingRecordDetailEntityGetLinks,
  attach: _breedingRecordDetailEntityAttach,
  version: '3.0.5',
);

int _breedingRecordDetailEntityEstimateSize(
  BreedingRecordDetailEntity object,
  List<int> offsets,
  Map<Type, List<int>> allOffsets,
) {
  var bytesCount = offsets.last;
  {
    final value = object.backLoveDate;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.caId;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.cattleresumeId;
    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.dueDate;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.fUnid;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.frozenSemenBatch;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.individualNo;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.isReturn;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.matingDate;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.matingStyle;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.pregnancy;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.registrationNo;
    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.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;
    }
  }
  return bytesCount;
}

void _breedingRecordDetailEntitySerialize(
  BreedingRecordDetailEntity object,
  IsarWriter writer,
  List<int> offsets,
  Map<Type, List<int>> allOffsets,
) {
  writer.writeString(offsets[0], object.backLoveDate);
  writer.writeString(offsets[1], object.caId);
  writer.writeString(offsets[2], object.cattleresumeId);
  writer.writeString(offsets[3], object.createBy);
  writer.writeString(offsets[4], object.createTime);
  writer.writeString(offsets[5], object.deptId);
  writer.writeString(offsets[6], object.dueDate);
  writer.writeString(offsets[7], object.fUnid);
  writer.writeString(offsets[8], object.frozenSemenBatch);
  writer.writeString(offsets[9], object.individualNo);
  writer.writeString(offsets[10], object.isReturn);
  writer.writeString(offsets[11], object.matingDate);
  writer.writeString(offsets[12], object.matingStyle);
  writer.writeString(offsets[13], object.pregnancy);
  writer.writeString(offsets[14], object.registrationNo);
  writer.writeString(offsets[15], object.remark);
  writer.writeString(offsets[16], object.searchValue);
  writer.writeString(offsets[17], object.unid);
  writer.writeString(offsets[18], object.updateBy);
  writer.writeString(offsets[19], object.updateTime);
  writer.writeString(offsets[20], object.uploadStatus);
}

BreedingRecordDetailEntity _breedingRecordDetailEntityDeserialize(
  Id id,
  IsarReader reader,
  List<int> offsets,
  Map<Type, List<int>> allOffsets,
) {
  final object = BreedingRecordDetailEntity();
  object.backLoveDate = reader.readStringOrNull(offsets[0]);
  object.caId = reader.readStringOrNull(offsets[1]);
  object.cattleresumeId = reader.readStringOrNull(offsets[2]);
  object.createBy = reader.readStringOrNull(offsets[3]);
  object.createTime = reader.readStringOrNull(offsets[4]);
  object.deptId = reader.readStringOrNull(offsets[5]);
  object.dueDate = reader.readStringOrNull(offsets[6]);
  object.fUnid = reader.readStringOrNull(offsets[7]);
  object.frozenSemenBatch = reader.readStringOrNull(offsets[8]);
  object.id = id;
  object.individualNo = reader.readStringOrNull(offsets[9]);
  object.isReturn = reader.readStringOrNull(offsets[10]);
  object.matingDate = reader.readStringOrNull(offsets[11]);
  object.matingStyle = reader.readStringOrNull(offsets[12]);
  object.pregnancy = reader.readStringOrNull(offsets[13]);
  object.registrationNo = reader.readStringOrNull(offsets[14]);
  object.remark = reader.readStringOrNull(offsets[15]);
  object.searchValue = reader.readStringOrNull(offsets[16]);
  object.unid = reader.readStringOrNull(offsets[17]);
  object.updateBy = reader.readStringOrNull(offsets[18]);
  object.updateTime = reader.readStringOrNull(offsets[19]);
  object.uploadStatus = reader.readStringOrNull(offsets[20]);
  return object;
}

P _breedingRecordDetailEntityDeserializeProp<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;
    case 20:
      return (reader.readStringOrNull(offset)) as P;
    default:
      throw IsarError('Unknown property with id $propertyId');
  }
}

Id _breedingRecordDetailEntityGetId(BreedingRecordDetailEntity object) {
  return object.id;
}

List<IsarLinkBase<dynamic>> _breedingRecordDetailEntityGetLinks(
    BreedingRecordDetailEntity object) {
  return [];
}

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

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

  BreedingRecordDetailEntity? 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<BreedingRecordDetailEntity?>> getAllByUnid(
      List<String?> unidValues) {
    final values = unidValues.map((e) => [e]).toList();
    return getAllByIndex(r'unid', values);
  }

  List<BreedingRecordDetailEntity?> 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(BreedingRecordDetailEntity object) {
    return putByIndex(r'unid', object);
  }

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

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterWhereClause> idGreaterThan(Id id, {bool include = false}) {
    return QueryBuilder.apply(this, (query) {
      return query.addWhereClause(
        IdWhereClause.greaterThan(lower: id, includeLower: include),
      );
    });
  }

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterWhereClause> unidIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addWhereClause(IndexWhereClause.equalTo(
        indexName: r'unid',
        value: [null],
      ));
    });
  }

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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 BreedingRecordDetailEntityQueryFilter on QueryBuilder<
    BreedingRecordDetailEntity, BreedingRecordDetailEntity, QFilterCondition> {
  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> backLoveDateIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'backLoveDate',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> backLoveDateIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'backLoveDate',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> backLoveDateBetween(
    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'backLoveDate',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> backLoveDateIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'backLoveDate',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> backLoveDateIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'backLoveDate',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> caIdIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'caId',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> caIdIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'caId',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> caIdBetween(
    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'caId',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> caIdIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'caId',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> caIdIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'caId',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> cattleresumeIdIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'cattleresumeId',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> cattleresumeIdIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'cattleresumeId',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> cattleresumeIdBetween(
    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'cattleresumeId',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> cattleresumeIdIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'cattleresumeId',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> cattleresumeIdIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'cattleresumeId',
        value: '',
      ));
    });
  }

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> createByIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'createBy',
        value: '',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> createTimeIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'createTime',
        value: '',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> deptIdIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'deptId',
        value: '',
      ));
    });
  }

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> dueDateIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'dueDate',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> dueDateIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'dueDate',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> dueDateBetween(
    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'dueDate',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> dueDateIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'dueDate',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> dueDateIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'dueDate',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> fUnidIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'fUnid',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> fUnidIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'fUnid',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> fUnidBetween(
    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'fUnid',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> fUnidIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'fUnid',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> fUnidIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'fUnid',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> frozenSemenBatchIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'frozenSemenBatch',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> frozenSemenBatchIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'frozenSemenBatch',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> frozenSemenBatchBetween(
    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'frozenSemenBatch',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> frozenSemenBatchIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'frozenSemenBatch',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> frozenSemenBatchIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'frozenSemenBatch',
        value: '',
      ));
    });
  }

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> individualNoIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'individualNo',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> individualNoIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'individualNo',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> individualNoBetween(
    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'individualNo',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> individualNoIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'individualNo',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> individualNoIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'individualNo',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> isReturnIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'isReturn',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> isReturnIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'isReturn',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> isReturnBetween(
    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'isReturn',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> isReturnIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'isReturn',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> isReturnIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'isReturn',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> matingDateIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'matingDate',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> matingDateIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'matingDate',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> matingDateBetween(
    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'matingDate',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> matingDateIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'matingDate',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> matingDateIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'matingDate',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> matingStyleIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'matingStyle',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> matingStyleIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'matingStyle',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> matingStyleBetween(
    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'matingStyle',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> matingStyleIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'matingStyle',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> matingStyleIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'matingStyle',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> pregnancyIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'pregnancy',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> pregnancyIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'pregnancy',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> pregnancyBetween(
    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'pregnancy',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> pregnancyIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'pregnancy',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> pregnancyIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'pregnancy',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> registrationNoIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'registrationNo',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> registrationNoIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'registrationNo',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> registrationNoBetween(
    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'registrationNo',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> registrationNoIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'registrationNo',
        value: '',
      ));
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> registrationNoIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'registrationNo',
        value: '',
      ));
    });
  }

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> remarkIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'remark',
        value: '',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> searchValueIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'searchValue',
        value: '',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> unidIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'unid',
        value: '',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> updateByIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'updateBy',
        value: '',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> updateTimeIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'updateTime',
        value: '',
      ));
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
          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<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterFilterCondition> uploadStatusIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'uploadStatus',
        value: '',
      ));
    });
  }

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

extension BreedingRecordDetailEntityQueryObject on QueryBuilder<
    BreedingRecordDetailEntity, BreedingRecordDetailEntity, QFilterCondition> {}

extension BreedingRecordDetailEntityQueryLinks on QueryBuilder<
    BreedingRecordDetailEntity, BreedingRecordDetailEntity, QFilterCondition> {}

extension BreedingRecordDetailEntityQuerySortBy on QueryBuilder<
    BreedingRecordDetailEntity, BreedingRecordDetailEntity, QSortBy> {
  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByBackLoveDate() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'backLoveDate', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByBackLoveDateDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'backLoveDate', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByCaId() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'caId', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByCaIdDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'caId', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByCattleresumeId() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'cattleresumeId', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByCattleresumeIdDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'cattleresumeId', Sort.desc);
    });
  }

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

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

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByDueDate() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'dueDate', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByDueDateDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'dueDate', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByFUnid() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fUnid', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByFUnidDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fUnid', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByFrozenSemenBatch() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'frozenSemenBatch', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByFrozenSemenBatchDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'frozenSemenBatch', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByIndividualNo() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'individualNo', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByIndividualNoDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'individualNo', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByIsReturn() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isReturn', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByIsReturnDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isReturn', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByMatingDate() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'matingDate', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByMatingDateDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'matingDate', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByMatingStyle() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'matingStyle', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByMatingStyleDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'matingStyle', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByPregnancy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'pregnancy', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByPregnancyDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'pregnancy', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByRegistrationNo() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'registrationNo', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> sortByRegistrationNoDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'registrationNo', Sort.desc);
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

extension BreedingRecordDetailEntityQuerySortThenBy on QueryBuilder<
    BreedingRecordDetailEntity, BreedingRecordDetailEntity, QSortThenBy> {
  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByBackLoveDate() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'backLoveDate', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByBackLoveDateDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'backLoveDate', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByCaId() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'caId', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByCaIdDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'caId', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByCattleresumeId() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'cattleresumeId', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByCattleresumeIdDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'cattleresumeId', Sort.desc);
    });
  }

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

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

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByDueDate() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'dueDate', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByDueDateDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'dueDate', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByFUnid() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fUnid', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByFUnidDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fUnid', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByFrozenSemenBatch() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'frozenSemenBatch', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByFrozenSemenBatchDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'frozenSemenBatch', Sort.desc);
    });
  }

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByIndividualNo() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'individualNo', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByIndividualNoDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'individualNo', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByIsReturn() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isReturn', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByIsReturnDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isReturn', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByMatingDate() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'matingDate', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByMatingDateDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'matingDate', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByMatingStyle() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'matingStyle', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByMatingStyleDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'matingStyle', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByPregnancy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'pregnancy', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByPregnancyDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'pregnancy', Sort.desc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByRegistrationNo() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'registrationNo', Sort.asc);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QAfterSortBy> thenByRegistrationNoDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'registrationNo', Sort.desc);
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

extension BreedingRecordDetailEntityQueryWhereDistinct on QueryBuilder<
    BreedingRecordDetailEntity, BreedingRecordDetailEntity, QDistinct> {
  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByBackLoveDate({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'backLoveDate', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByCaId({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'caId', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByCattleresumeId({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'cattleresumeId',
          caseSensitive: caseSensitive);
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByDueDate({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'dueDate', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByFUnid({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'fUnid', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByFrozenSemenBatch({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'frozenSemenBatch',
          caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByIndividualNo({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'individualNo', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByIsReturn({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'isReturn', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByMatingDate({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'matingDate', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByMatingStyle({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'matingStyle', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByPregnancy({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'pregnancy', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, BreedingRecordDetailEntity,
      QDistinct> distinctByRegistrationNo({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'registrationNo',
          caseSensitive: caseSensitive);
    });
  }

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

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

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

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

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      backLoveDateProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'backLoveDate');
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      caIdProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'caId');
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      cattleresumeIdProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'cattleresumeId');
    });
  }

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

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

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

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      dueDateProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'dueDate');
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      fUnidProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'fUnid');
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      frozenSemenBatchProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'frozenSemenBatch');
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      individualNoProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'individualNo');
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      isReturnProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'isReturn');
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      matingDateProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'matingDate');
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      matingStyleProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'matingStyle');
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      pregnancyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'pregnancy');
    });
  }

  QueryBuilder<BreedingRecordDetailEntity, String?, QQueryOperations>
      registrationNoProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'registrationNo');
    });
  }

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

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

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

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

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

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