part of 'coordinator_save_bloc.dart';

abstract class CoordinatorSaveEvent extends Equatable {
  const CoordinatorSaveEvent();
  @override
  List<Object> get props => [];
}

class CoordinatorSaveGetData extends CoordinatorSaveEvent {
  final CoordinatorModel coordinator;

  CoordinatorSaveGetData({this.coordinator});

  @override
  List<Object> get props => [coordinator];
}

class CoordinatorSaveOnSubmit extends CoordinatorSaveEvent {
  final String id;
  final String fullname;
  final String position;
  final String phone;
  final String idCard;
  final String otherContact;
  final bool isCreate;

  CoordinatorSaveOnSubmit({
    this.id,
    this.fullname,
    this.position,
    this.phone,
    this.idCard,
    this.otherContact,
    this.isCreate,
  });

  @override
  List<Object> get props => [
        id,
        fullname,
        position,
        phone,
        idCard,
        otherContact,
      ];
}
