import 'package:freezed_annotation/freezed_annotation.dart';

part 'submit_steward_allocation.freezed.dart';
part 'submit_steward_allocation.g.dart';

@freezed
abstract class SubmitStewardAllocation with _$SubmitStewardAllocation {
  const factory SubmitStewardAllocation({
    String? sellerType,
    String? buyerType,
    String? guildKey,
    String? productKey,
    String? type,
    String? allocationType,
    int? numberOfCarcasses,
    int? weightOfCarcasses,
    String? sellType,
    int? amount,
    int? totalAmount,
    bool? approvedPriceStatus,
    String? date,
  }) = _SubmitStewardAllocation;

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