import 'package:freezed_annotation/freezed_annotation.dart';

part 'kill_house_free_bar.freezed.dart';
part 'kill_house_free_bar.g.dart';

@freezed
abstract class KillHouseFreeBar with _$KillHouseFreeBar {
  const factory KillHouseFreeBar({
    int? id,
    dynamic killHouse,
    dynamic exclusiveKiller,
    String? key,
    String? createDate,
    String? modifyDate,
    bool? trash,
    String? poultryName,
    String? poultryMobile,
    String? sellerName,
    String? sellerMobile,
    String? province,
    String? city,
    String? vetFarmName,
    String? vetFarmMobile,
    String? driverName,
    String? driverMobile,
    String? car,
    String? clearanceCode,
    String? barClearanceCode,
    int? quantity,
    int? numberOfCarcasses,
    int? weightOfCarcasses,
    int? killHouseVetQuantity,
    int? killHouseVetWeight,
    String? killHouseVetState,
    String? dateOfAcceptReject,
    dynamic acceptorRejector,
    int? liveWeight,
    String? barImage,
    String? buyType,
    bool? wareHouse,
    String? date,
    int? wage,
    int? totalWageAmount,
    int? unionShare,
    int? unionSharePercent,
    int? companyShare,
    int? companySharePercent,
    int? guildsShare,
    int? guildsSharePercent,
    int? cityShare,
    int? citySharePercent,
    int? walletShare,
    int? walletSharePercent,
    int? otherShare,
    int? otherSharePercent,
    bool? archiveWage,
    int? weightLoss,
    bool? calculateStatus,
    bool? temporaryTrash,
    bool? temporaryDeleted,
    String? enteredMessage,
    int? barCode,
    String? registerType,
    dynamic createdBy,
    dynamic modifiedBy,
    int? product,
  }) = _KillHouseFreeBar;

  factory KillHouseFreeBar.fromJson(Map<String, dynamic> json) =>
      _$KillHouseFreeBarFromJson(json);
}
