import 'package:freezed_annotation/freezed_annotation.dart';

part 'steward_free_sale_bar_request.freezed.dart';
part 'steward_free_sale_bar_request.g.dart';

@freezed
abstract class StewardFreeSaleBarRequest with _$StewardFreeSaleBarRequest {
  const factory StewardFreeSaleBarRequest({
    String? buyerKey,
    int? numberOfCarcasses,
    int? weightOfCarcasses,
    String? date,
    String? clearanceCode,
    String? productKey,
    String? key,
  }) = _StewardFreeSaleBarRequest;

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