// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'cattle_resume_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 GetCattleResumeEntityCollection on Isar {
  IsarCollection<CattleResumeEntity> get cattleResumeEntitys =>
      this.collection();
}

const CattleResumeEntitySchema = CollectionSchema(
  name: r'CattleResumeEntity',
  id: 7978110591170307240,
  properties: {
    r'age': PropertySchema(
      id: 0,
      name: r'age',
      type: IsarType.long,
    ),
    r'birthDifficulty': PropertySchema(
      id: 1,
      name: r'birthDifficulty',
      type: IsarType.string,
    ),
    r'birthHeavy': PropertySchema(
      id: 2,
      name: r'birthHeavy',
      type: IsarType.double,
    ),
    r'birthdate': PropertySchema(
      id: 3,
      name: r'birthdate',
      type: IsarType.string,
    ),
    r'childTime': PropertySchema(
      id: 4,
      name: r'childTime',
      type: IsarType.string,
    ),
    r'circleNo': PropertySchema(
      id: 5,
      name: r'circleNo',
      type: IsarType.string,
    ),
    r'colour': PropertySchema(
      id: 6,
      name: r'colour',
      type: IsarType.string,
    ),
    r'createBy': PropertySchema(
      id: 7,
      name: r'createBy',
      type: IsarType.string,
    ),
    r'createTime': PropertySchema(
      id: 8,
      name: r'createTime',
      type: IsarType.string,
    ),
    r'decAppScore': PropertySchema(
      id: 9,
      name: r'decAppScore',
      type: IsarType.string,
    ),
    r'deptId': PropertySchema(
      id: 10,
      name: r'deptId',
      type: IsarType.string,
    ),
    r'fatherReg': PropertySchema(
      id: 11,
      name: r'fatherReg',
      type: IsarType.string,
    ),
    r'fromMilkHeavy': PropertySchema(
      id: 12,
      name: r'fromMilkHeavy',
      type: IsarType.double,
    ),
    r'grade': PropertySchema(
      id: 13,
      name: r'grade',
      type: IsarType.string,
    ),
    r'health': PropertySchema(
      id: 14,
      name: r'health',
      type: IsarType.string,
    ),
    r'individualNo': PropertySchema(
      id: 15,
      name: r'individualNo',
      type: IsarType.string,
    ),
    r'inputTime': PropertySchema(
      id: 16,
      name: r'inputTime',
      type: IsarType.string,
    ),
    r'isOut': PropertySchema(
      id: 17,
      name: r'isOut',
      type: IsarType.long,
    ),
    r'isTwins': PropertySchema(
      id: 18,
      name: r'isTwins',
      type: IsarType.string,
    ),
    r'junHeavy': PropertySchema(
      id: 19,
      name: r'junHeavy',
      type: IsarType.string,
    ),
    r'motherReg': PropertySchema(
      id: 20,
      name: r'motherReg',
      type: IsarType.string,
    ),
    r'photo': PropertySchema(
      id: 21,
      name: r'photo',
      type: IsarType.string,
    ),
    r'photoPath': PropertySchema(
      id: 22,
      name: r'photoPath',
      type: IsarType.string,
    ),
    r'raiseType': PropertySchema(
      id: 23,
      name: r'raiseType',
      type: IsarType.string,
    ),
    r'raiseVarieties': PropertySchema(
      id: 24,
      name: r'raiseVarieties',
      type: IsarType.string,
    ),
    r'registrationNo': PropertySchema(
      id: 25,
      name: r'registrationNo',
      type: IsarType.string,
    ),
    r'remark': PropertySchema(
      id: 26,
      name: r'remark',
      type: IsarType.string,
    ),
    r'sex': PropertySchema(
      id: 27,
      name: r'sex',
      type: IsarType.string,
    ),
    r'status': PropertySchema(
      id: 28,
      name: r'status',
      type: IsarType.string,
    ),
    r'unid': PropertySchema(
      id: 29,
      name: r'unid',
      type: IsarType.string,
    ),
    r'updateBy': PropertySchema(
      id: 30,
      name: r'updateBy',
      type: IsarType.string,
    ),
    r'updateTime': PropertySchema(
      id: 31,
      name: r'updateTime',
      type: IsarType.string,
    ),
    r'uploadStatus': PropertySchema(
      id: 32,
      name: r'uploadStatus',
      type: IsarType.string,
    ),
    r'uploadTime': PropertySchema(
      id: 33,
      name: r'uploadTime',
      type: IsarType.string,
    )
  },
  estimateSize: _cattleResumeEntityEstimateSize,
  serialize: _cattleResumeEntitySerialize,
  deserialize: _cattleResumeEntityDeserialize,
  deserializeProp: _cattleResumeEntityDeserializeProp,
  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: _cattleResumeEntityGetId,
  getLinks: _cattleResumeEntityGetLinks,
  attach: _cattleResumeEntityAttach,
  version: '3.0.5',
);

int _cattleResumeEntityEstimateSize(
  CattleResumeEntity object,
  List<int> offsets,
  Map<Type, List<int>> allOffsets,
) {
  var bytesCount = offsets.last;
  {
    final value = object.birthDifficulty;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.birthdate;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.childTime;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.circleNo;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.colour;
    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.decAppScore;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.deptId;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.fatherReg;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.grade;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.health;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.individualNo;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.inputTime;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.isTwins;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.junHeavy;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.motherReg;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.photo;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.photoPath;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.raiseType;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.raiseVarieties;
    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.sex;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.status;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.unid;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.updateBy;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.updateTime;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.uploadStatus;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  {
    final value = object.uploadTime;
    if (value != null) {
      bytesCount += 3 + value.length * 3;
    }
  }
  return bytesCount;
}

void _cattleResumeEntitySerialize(
  CattleResumeEntity object,
  IsarWriter writer,
  List<int> offsets,
  Map<Type, List<int>> allOffsets,
) {
  writer.writeLong(offsets[0], object.age);
  writer.writeString(offsets[1], object.birthDifficulty);
  writer.writeDouble(offsets[2], object.birthHeavy);
  writer.writeString(offsets[3], object.birthdate);
  writer.writeString(offsets[4], object.childTime);
  writer.writeString(offsets[5], object.circleNo);
  writer.writeString(offsets[6], object.colour);
  writer.writeString(offsets[7], object.createBy);
  writer.writeString(offsets[8], object.createTime);
  writer.writeString(offsets[9], object.decAppScore);
  writer.writeString(offsets[10], object.deptId);
  writer.writeString(offsets[11], object.fatherReg);
  writer.writeDouble(offsets[12], object.fromMilkHeavy);
  writer.writeString(offsets[13], object.grade);
  writer.writeString(offsets[14], object.health);
  writer.writeString(offsets[15], object.individualNo);
  writer.writeString(offsets[16], object.inputTime);
  writer.writeLong(offsets[17], object.isOut);
  writer.writeString(offsets[18], object.isTwins);
  writer.writeString(offsets[19], object.junHeavy);
  writer.writeString(offsets[20], object.motherReg);
  writer.writeString(offsets[21], object.photo);
  writer.writeString(offsets[22], object.photoPath);
  writer.writeString(offsets[23], object.raiseType);
  writer.writeString(offsets[24], object.raiseVarieties);
  writer.writeString(offsets[25], object.registrationNo);
  writer.writeString(offsets[26], object.remark);
  writer.writeString(offsets[27], object.sex);
  writer.writeString(offsets[28], object.status);
  writer.writeString(offsets[29], object.unid);
  writer.writeString(offsets[30], object.updateBy);
  writer.writeString(offsets[31], object.updateTime);
  writer.writeString(offsets[32], object.uploadStatus);
  writer.writeString(offsets[33], object.uploadTime);
}

CattleResumeEntity _cattleResumeEntityDeserialize(
  Id id,
  IsarReader reader,
  List<int> offsets,
  Map<Type, List<int>> allOffsets,
) {
  final object = CattleResumeEntity();
  object.age = reader.readLongOrNull(offsets[0]);
  object.birthDifficulty = reader.readStringOrNull(offsets[1]);
  object.birthHeavy = reader.readDoubleOrNull(offsets[2]);
  object.birthdate = reader.readStringOrNull(offsets[3]);
  object.childTime = reader.readStringOrNull(offsets[4]);
  object.circleNo = reader.readStringOrNull(offsets[5]);
  object.colour = reader.readStringOrNull(offsets[6]);
  object.createBy = reader.readStringOrNull(offsets[7]);
  object.createTime = reader.readStringOrNull(offsets[8]);
  object.decAppScore = reader.readStringOrNull(offsets[9]);
  object.deptId = reader.readStringOrNull(offsets[10]);
  object.fatherReg = reader.readStringOrNull(offsets[11]);
  object.fromMilkHeavy = reader.readDoubleOrNull(offsets[12]);
  object.grade = reader.readStringOrNull(offsets[13]);
  object.health = reader.readStringOrNull(offsets[14]);
  object.id = id;
  object.individualNo = reader.readStringOrNull(offsets[15]);
  object.inputTime = reader.readStringOrNull(offsets[16]);
  object.isOut = reader.readLongOrNull(offsets[17]);
  object.isTwins = reader.readStringOrNull(offsets[18]);
  object.junHeavy = reader.readStringOrNull(offsets[19]);
  object.motherReg = reader.readStringOrNull(offsets[20]);
  object.photo = reader.readStringOrNull(offsets[21]);
  object.photoPath = reader.readStringOrNull(offsets[22]);
  object.raiseType = reader.readStringOrNull(offsets[23]);
  object.raiseVarieties = reader.readStringOrNull(offsets[24]);
  object.registrationNo = reader.readStringOrNull(offsets[25]);
  object.remark = reader.readStringOrNull(offsets[26]);
  object.sex = reader.readStringOrNull(offsets[27]);
  object.status = reader.readStringOrNull(offsets[28]);
  object.unid = reader.readStringOrNull(offsets[29]);
  object.updateBy = reader.readStringOrNull(offsets[30]);
  object.updateTime = reader.readStringOrNull(offsets[31]);
  object.uploadStatus = reader.readStringOrNull(offsets[32]);
  object.uploadTime = reader.readStringOrNull(offsets[33]);
  return object;
}

P _cattleResumeEntityDeserializeProp<P>(
  IsarReader reader,
  int propertyId,
  int offset,
  Map<Type, List<int>> allOffsets,
) {
  switch (propertyId) {
    case 0:
      return (reader.readLongOrNull(offset)) as P;
    case 1:
      return (reader.readStringOrNull(offset)) as P;
    case 2:
      return (reader.readDoubleOrNull(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.readDoubleOrNull(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.readLongOrNull(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;
    case 21:
      return (reader.readStringOrNull(offset)) as P;
    case 22:
      return (reader.readStringOrNull(offset)) as P;
    case 23:
      return (reader.readStringOrNull(offset)) as P;
    case 24:
      return (reader.readStringOrNull(offset)) as P;
    case 25:
      return (reader.readStringOrNull(offset)) as P;
    case 26:
      return (reader.readStringOrNull(offset)) as P;
    case 27:
      return (reader.readStringOrNull(offset)) as P;
    case 28:
      return (reader.readStringOrNull(offset)) as P;
    case 29:
      return (reader.readStringOrNull(offset)) as P;
    case 30:
      return (reader.readStringOrNull(offset)) as P;
    case 31:
      return (reader.readStringOrNull(offset)) as P;
    case 32:
      return (reader.readStringOrNull(offset)) as P;
    case 33:
      return (reader.readStringOrNull(offset)) as P;
    default:
      throw IsarError('Unknown property with id $propertyId');
  }
}

Id _cattleResumeEntityGetId(CattleResumeEntity object) {
  return object.id;
}

List<IsarLinkBase<dynamic>> _cattleResumeEntityGetLinks(
    CattleResumeEntity object) {
  return [];
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, 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 CattleResumeEntityQueryFilter
    on QueryBuilder<CattleResumeEntity, CattleResumeEntity, QFilterCondition> {
  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      ageIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'age',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      ageIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'age',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      ageEqualTo(int? value) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'age',
        value: value,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      ageGreaterThan(
    int? value, {
    bool include = false,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'age',
        value: value,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      ageLessThan(
    int? value, {
    bool include = false,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'age',
        value: value,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      ageBetween(
    int? lower,
    int? upper, {
    bool includeLower = true,
    bool includeUpper = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'age',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthDifficultyIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'birthDifficulty',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthDifficultyIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'birthDifficulty',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthDifficultyBetween(
    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'birthDifficulty',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthDifficultyIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'birthDifficulty',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthDifficultyIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'birthDifficulty',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthHeavyIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'birthHeavy',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthHeavyIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'birthHeavy',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthHeavyEqualTo(
    double? value, {
    double epsilon = Query.epsilon,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'birthHeavy',
        value: value,
        epsilon: epsilon,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthHeavyGreaterThan(
    double? value, {
    bool include = false,
    double epsilon = Query.epsilon,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'birthHeavy',
        value: value,
        epsilon: epsilon,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthHeavyLessThan(
    double? value, {
    bool include = false,
    double epsilon = Query.epsilon,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'birthHeavy',
        value: value,
        epsilon: epsilon,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthHeavyBetween(
    double? lower,
    double? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    double epsilon = Query.epsilon,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'birthHeavy',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        epsilon: epsilon,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthdateIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'birthdate',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthdateIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'birthdate',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthdateBetween(
    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'birthdate',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthdateIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'birthdate',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      birthdateIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'birthdate',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      childTimeIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'childTime',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      childTimeIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'childTime',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      childTimeBetween(
    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'childTime',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      childTimeIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'childTime',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      childTimeIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'childTime',
        value: '',
      ));
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      colourIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'colour',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      colourIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'colour',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      colourBetween(
    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'colour',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      colourIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'colour',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      colourIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'colour',
        value: '',
      ));
    });
  }

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

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

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

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

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      decAppScoreIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'decAppScore',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      decAppScoreIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'decAppScore',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      decAppScoreBetween(
    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'decAppScore',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      decAppScoreIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'decAppScore',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      decAppScoreIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'decAppScore',
        value: '',
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fatherRegIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'fatherReg',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fatherRegIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'fatherReg',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fatherRegBetween(
    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'fatherReg',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fatherRegIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'fatherReg',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fatherRegIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'fatherReg',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fromMilkHeavyIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'fromMilkHeavy',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fromMilkHeavyIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'fromMilkHeavy',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fromMilkHeavyEqualTo(
    double? value, {
    double epsilon = Query.epsilon,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'fromMilkHeavy',
        value: value,
        epsilon: epsilon,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fromMilkHeavyGreaterThan(
    double? value, {
    bool include = false,
    double epsilon = Query.epsilon,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'fromMilkHeavy',
        value: value,
        epsilon: epsilon,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fromMilkHeavyLessThan(
    double? value, {
    bool include = false,
    double epsilon = Query.epsilon,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'fromMilkHeavy',
        value: value,
        epsilon: epsilon,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      fromMilkHeavyBetween(
    double? lower,
    double? upper, {
    bool includeLower = true,
    bool includeUpper = true,
    double epsilon = Query.epsilon,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'fromMilkHeavy',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        epsilon: epsilon,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      gradeIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'grade',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      gradeIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'grade',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      gradeBetween(
    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'grade',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      gradeIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'grade',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      gradeIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'grade',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      healthIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'health',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      healthIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'health',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      healthBetween(
    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'health',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      healthIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'health',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      healthIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'health',
        value: '',
      ));
    });
  }

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

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      inputTimeIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'inputTime',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      inputTimeIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'inputTime',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      inputTimeBetween(
    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'inputTime',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      inputTimeIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'inputTime',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      inputTimeIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'inputTime',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isOutIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'isOut',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isOutIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'isOut',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isOutEqualTo(int? value) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'isOut',
        value: value,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isOutGreaterThan(
    int? value, {
    bool include = false,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        include: include,
        property: r'isOut',
        value: value,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isOutLessThan(
    int? value, {
    bool include = false,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.lessThan(
        include: include,
        property: r'isOut',
        value: value,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isOutBetween(
    int? lower,
    int? upper, {
    bool includeLower = true,
    bool includeUpper = true,
  }) {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.between(
        property: r'isOut',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isTwinsIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'isTwins',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isTwinsIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'isTwins',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isTwinsBetween(
    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'isTwins',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isTwinsIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'isTwins',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      isTwinsIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'isTwins',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      junHeavyIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'junHeavy',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      junHeavyIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'junHeavy',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      junHeavyBetween(
    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'junHeavy',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      junHeavyIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'junHeavy',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      junHeavyIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'junHeavy',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      motherRegIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'motherReg',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      motherRegIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'motherReg',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      motherRegBetween(
    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'motherReg',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      motherRegIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'motherReg',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      motherRegIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'motherReg',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      photoIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'photo',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      photoIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'photo',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      photoBetween(
    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'photo',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      photoIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'photo',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      photoIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'photo',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      photoPathIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'photoPath',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      photoPathIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'photoPath',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      photoPathBetween(
    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'photoPath',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      photoPathIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'photoPath',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      photoPathIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'photoPath',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      raiseTypeIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'raiseType',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      raiseTypeIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'raiseType',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      raiseTypeBetween(
    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'raiseType',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      raiseTypeIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'raiseType',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      raiseTypeIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'raiseType',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      raiseVarietiesIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'raiseVarieties',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      raiseVarietiesIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'raiseVarieties',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      raiseVarietiesBetween(
    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'raiseVarieties',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      raiseVarietiesIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'raiseVarieties',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      raiseVarietiesIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'raiseVarieties',
        value: '',
      ));
    });
  }

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

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

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

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

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      sexIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'sex',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      sexIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'sex',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      sexBetween(
    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'sex',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      sexIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'sex',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      sexIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'sex',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      statusIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'status',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      statusIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'status',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      statusBetween(
    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'status',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      statusIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'status',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      statusIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'status',
        value: '',
      ));
    });
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      uploadTimeIsNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNull(
        property: r'uploadTime',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      uploadTimeIsNotNull() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(const FilterCondition.isNotNull(
        property: r'uploadTime',
      ));
    });
  }

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      uploadTimeBetween(
    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'uploadTime',
        lower: lower,
        includeLower: includeLower,
        upper: upper,
        includeUpper: includeUpper,
        caseSensitive: caseSensitive,
      ));
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      uploadTimeIsEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.equalTo(
        property: r'uploadTime',
        value: '',
      ));
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterFilterCondition>
      uploadTimeIsNotEmpty() {
    return QueryBuilder.apply(this, (query) {
      return query.addFilterCondition(FilterCondition.greaterThan(
        property: r'uploadTime',
        value: '',
      ));
    });
  }
}

extension CattleResumeEntityQueryObject
    on QueryBuilder<CattleResumeEntity, CattleResumeEntity, QFilterCondition> {}

extension CattleResumeEntityQueryLinks
    on QueryBuilder<CattleResumeEntity, CattleResumeEntity, QFilterCondition> {}

extension CattleResumeEntityQuerySortBy
    on QueryBuilder<CattleResumeEntity, CattleResumeEntity, QSortBy> {
  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByAge() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'age', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByAgeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'age', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByBirthDifficulty() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthDifficulty', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByBirthDifficultyDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthDifficulty', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByBirthHeavy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthHeavy', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByBirthHeavyDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthHeavy', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByBirthdate() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthdate', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByBirthdateDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthdate', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByChildTime() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'childTime', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByChildTimeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'childTime', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByCircleNo() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'circleNo', Sort.asc);
    });
  }

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByColour() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'colour', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByColourDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'colour', Sort.desc);
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByDecAppScore() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'decAppScore', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByDecAppScoreDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'decAppScore', Sort.desc);
    });
  }

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByFatherReg() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fatherReg', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByFatherRegDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fatherReg', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByFromMilkHeavy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fromMilkHeavy', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByFromMilkHeavyDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fromMilkHeavy', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByGrade() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'grade', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByGradeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'grade', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByHealth() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'health', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByHealthDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'health', Sort.desc);
    });
  }

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByInputTime() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'inputTime', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByInputTimeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'inputTime', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByIsOut() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isOut', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByIsOutDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isOut', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByIsTwins() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isTwins', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByIsTwinsDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isTwins', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByJunHeavy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'junHeavy', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByJunHeavyDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'junHeavy', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByMotherReg() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'motherReg', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByMotherRegDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'motherReg', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByPhoto() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'photo', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByPhotoDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'photo', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByPhotoPath() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'photoPath', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByPhotoPathDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'photoPath', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByRaiseType() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'raiseType', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByRaiseTypeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'raiseType', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByRaiseVarieties() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'raiseVarieties', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByRaiseVarietiesDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'raiseVarieties', Sort.desc);
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortBySex() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'sex', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortBySexDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'sex', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByStatus() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'status', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByStatusDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'status', Sort.desc);
    });
  }

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

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

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

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

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByUploadTime() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'uploadTime', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      sortByUploadTimeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'uploadTime', Sort.desc);
    });
  }
}

extension CattleResumeEntityQuerySortThenBy
    on QueryBuilder<CattleResumeEntity, CattleResumeEntity, QSortThenBy> {
  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByAge() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'age', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByAgeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'age', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByBirthDifficulty() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthDifficulty', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByBirthDifficultyDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthDifficulty', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByBirthHeavy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthHeavy', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByBirthHeavyDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthHeavy', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByBirthdate() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthdate', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByBirthdateDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'birthdate', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByChildTime() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'childTime', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByChildTimeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'childTime', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByCircleNo() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'circleNo', Sort.asc);
    });
  }

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByColour() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'colour', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByColourDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'colour', Sort.desc);
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByDecAppScore() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'decAppScore', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByDecAppScoreDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'decAppScore', Sort.desc);
    });
  }

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByFatherReg() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fatherReg', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByFatherRegDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fatherReg', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByFromMilkHeavy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fromMilkHeavy', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByFromMilkHeavyDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'fromMilkHeavy', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByGrade() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'grade', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByGradeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'grade', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByHealth() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'health', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByHealthDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'health', Sort.desc);
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByInputTime() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'inputTime', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByInputTimeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'inputTime', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByIsOut() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isOut', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByIsOutDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isOut', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByIsTwins() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isTwins', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByIsTwinsDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'isTwins', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByJunHeavy() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'junHeavy', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByJunHeavyDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'junHeavy', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByMotherReg() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'motherReg', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByMotherRegDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'motherReg', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByPhoto() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'photo', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByPhotoDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'photo', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByPhotoPath() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'photoPath', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByPhotoPathDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'photoPath', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByRaiseType() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'raiseType', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByRaiseTypeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'raiseType', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByRaiseVarieties() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'raiseVarieties', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByRaiseVarietiesDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'raiseVarieties', Sort.desc);
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenBySex() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'sex', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenBySexDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'sex', Sort.desc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByStatus() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'status', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByStatusDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'status', Sort.desc);
    });
  }

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

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

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

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

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByUploadTime() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'uploadTime', Sort.asc);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QAfterSortBy>
      thenByUploadTimeDesc() {
    return QueryBuilder.apply(this, (query) {
      return query.addSortBy(r'uploadTime', Sort.desc);
    });
  }
}

extension CattleResumeEntityQueryWhereDistinct
    on QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct> {
  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByAge() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'age');
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByBirthDifficulty({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'birthDifficulty',
          caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByBirthHeavy() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'birthHeavy');
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByBirthdate({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'birthdate', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByChildTime({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'childTime', caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByColour({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'colour', caseSensitive: caseSensitive);
    });
  }

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByDecAppScore({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'decAppScore', caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByFatherReg({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'fatherReg', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByFromMilkHeavy() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'fromMilkHeavy');
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByGrade({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'grade', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByHealth({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'health', caseSensitive: caseSensitive);
    });
  }

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByInputTime({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'inputTime', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByIsOut() {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'isOut');
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByIsTwins({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'isTwins', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByJunHeavy({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'junHeavy', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByMotherReg({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'motherReg', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByPhoto({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'photo', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByPhotoPath({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'photoPath', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByRaiseType({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'raiseType', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByRaiseVarieties({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'raiseVarieties',
          caseSensitive: caseSensitive);
    });
  }

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct> distinctBySex(
      {bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'sex', caseSensitive: caseSensitive);
    });
  }

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByStatus({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'status', caseSensitive: caseSensitive);
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, CattleResumeEntity, QDistinct>
      distinctByUploadTime({bool caseSensitive = true}) {
    return QueryBuilder.apply(this, (query) {
      return query.addDistinctBy(r'uploadTime', caseSensitive: caseSensitive);
    });
  }
}

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

  QueryBuilder<CattleResumeEntity, int?, QQueryOperations> ageProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'age');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      birthDifficultyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'birthDifficulty');
    });
  }

  QueryBuilder<CattleResumeEntity, double?, QQueryOperations>
      birthHeavyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'birthHeavy');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      birthdateProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'birthdate');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      childTimeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'childTime');
    });
  }

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

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations> colourProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'colour');
    });
  }

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

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

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      decAppScoreProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'decAppScore');
    });
  }

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

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      fatherRegProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'fatherReg');
    });
  }

  QueryBuilder<CattleResumeEntity, double?, QQueryOperations>
      fromMilkHeavyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'fromMilkHeavy');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations> gradeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'grade');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations> healthProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'health');
    });
  }

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

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      inputTimeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'inputTime');
    });
  }

  QueryBuilder<CattleResumeEntity, int?, QQueryOperations> isOutProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'isOut');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      isTwinsProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'isTwins');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      junHeavyProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'junHeavy');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      motherRegProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'motherReg');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations> photoProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'photo');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      photoPathProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'photoPath');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      raiseTypeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'raiseType');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      raiseVarietiesProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'raiseVarieties');
    });
  }

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

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

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations> sexProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'sex');
    });
  }

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations> statusProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'status');
    });
  }

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

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

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

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

  QueryBuilder<CattleResumeEntity, String?, QQueryOperations>
      uploadTimeProperty() {
    return QueryBuilder.apply(this, (query) {
      return query.addPropertyName(r'uploadTime');
    });
  }
}
