import 'package:freezed_annotation/freezed_annotation.dart';

part 'dashboard_kill_house_free_bar.freezed.dart';
part 'dashboard_kill_house_free_bar.g.dart';

@freezed
abstract class DashboardKillHouseFreeBar with _$DashboardKillHouseFreeBar {
  const factory DashboardKillHouseFreeBar({
    int? totalBars,
    int? totalBarsQuantity,
    int? totalBarsLiveWeight,
    int? totalBarsNumberOfCarcasses,
    int? totalBarsWeightOfCarcasses,
  }) = _DashboardKillHouseFreeBar;

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