part of 'void_form_bloc.dart';

@freezed
class VoidFormEvent with _$VoidFormEvent {
  const factory VoidFormEvent.setOrder(Order order) = _SetOrder;
  const factory VoidFormEvent.voidTypeChanged(VoidType voidType) =
      _VoidTypeChanged;
  const factory VoidFormEvent.voidReasonChanged(String voidReason) =
      _VoidReasonChanged;
  const factory VoidFormEvent.itemQuantityChanged({
    required String itemId,
    required int quantity,
  }) = _ItemQuantityChanged;
  const factory VoidFormEvent.clearSelectedItem() = _ClearSelectedItem;
  const factory VoidFormEvent.submitted() = _Submitted;
  const factory VoidFormEvent.clearState() = _ClearState;
}
