// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'submit_steward_allocation.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

_SubmitStewardAllocation _$SubmitStewardAllocationFromJson(
  Map<String, dynamic> json,
) => _SubmitStewardAllocation(
  sellerType: json['seller_type'] as String?,
  buyerType: json['buyer_type'] as String?,
  guildKey: json['guild_key'] as String?,
  productKey: json['product_key'] as String?,
  type: json['type'] as String?,
  allocationType: json['allocation_type'] as String?,
  numberOfCarcasses: (json['number_of_carcasses'] as num?)?.toInt(),
  weightOfCarcasses: (json['weight_of_carcasses'] as num?)?.toInt(),
  sellType: json['sell_type'] as String?,
  amount: (json['amount'] as num?)?.toInt(),
  quota: json['quota'] as String?,
  totalAmount: (json['total_amount'] as num?)?.toInt(),
  approvedPriceStatus: json['approved_price_status'] as bool?,
  date: json['date'] as String?,
);

Map<String, dynamic> _$SubmitStewardAllocationToJson(
  _SubmitStewardAllocation instance,
) => <String, dynamic>{
  'seller_type': instance.sellerType,
  'buyer_type': instance.buyerType,
  'guild_key': instance.guildKey,
  'product_key': instance.productKey,
  'type': instance.type,
  'allocation_type': instance.allocationType,
  'number_of_carcasses': instance.numberOfCarcasses,
  'weight_of_carcasses': instance.weightOfCarcasses,
  'sell_type': instance.sellType,
  'amount': instance.amount,
  'quota': instance.quota,
  'total_amount': instance.totalAmount,
  'approved_price_status': instance.approvedPriceStatus,
  'date': instance.date,
};
