part of 'printer_form_bloc.dart';

@freezed
class PrinterFormEvent with _$PrinterFormEvent {
  const factory PrinterFormEvent.codeChanged(String code) = _CodeChanged;
  const factory PrinterFormEvent.nameChanged(String name) = _NameChanged;
  const factory PrinterFormEvent.addressChanged(String address) =
      _AddressChanged;
  const factory PrinterFormEvent.typeChanged(String type) = _TypeChanged;
  const factory PrinterFormEvent.paperChanged(String paper) = _PaperChanged;
  const factory PrinterFormEvent.created() = _Created;
  const factory PrinterFormEvent.updated(int id) = _Updated;
  const factory PrinterFormEvent.deleted(int id) = _Deleted;
  const factory PrinterFormEvent.printTest({
    required String code,
    required String macAccdress,
  }) = _PrintTest;
}
