import 'package:freezed_annotation/freezed_annotation.dart';

part 'bar_information.freezed.dart';
part 'bar_information.g.dart';

@freezed
abstract class BarInformation with _$BarInformation {
  const factory BarInformation({
    int? totalBars,
    int? totalBarsQuantity,
    double? totalBarsWeight,
    int? totalEnteredBars,
    int? totalEnteredBarsQuantity,
    double? totalEnteredBarsWeight,
    int? totalNotEnteredBars,
    int? totalNotEnteredBarsQuantity,
    double? totalNotEnteredKillHouseRequestsWeight,
    int? totalRejectedBars,
    int? totalRejectedBarsQuantity,
    double? totalRejectedBarsWeight,
  }) = _BarInformation;

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