part of 'table_form_bloc.dart';

@freezed
class TableFormEvent with _$TableFormEvent {
  const factory TableFormEvent.nameChanged(String name) = _NameChanged;
  const factory TableFormEvent.capacityChanged(String capacity) =
      _CapacityChanged;
  const factory TableFormEvent.created() = _Created;
  const factory TableFormEvent.updated({
    required String id,
    required Offset position,
  }) = _Updated;
  const factory TableFormEvent.transfer({
    required String fromTableId,
    required String toTableId,
  }) = _Transfer;
}
