import 'package:freezed_annotation/freezed_annotation.dart';

part 'steward_allocation_request.freezed.dart';
part 'steward_allocation_request.g.dart';

@freezed
abstract class StewardAllocationRequest with _$StewardAllocationRequest {
  const factory StewardAllocationRequest({
    bool? checkAllocation,
    String? allocationKey,
    String? state,
    int? registrationCode,
    int? receiverRealNumberOfCarcasses,
    int? receiverRealWeightOfCarcasses,
    int? weightLossOfCarcasses,
  }) = _StewardAllocationRequest;

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