mirrored_repositories/dipantau-desktop/lib/feature/presentation/bloc
part of 'tracking_bloc.dart';

abstract class TrackingEvent {
  const TrackingEvent();
}

class CreateTimeTrackingEvent extends TrackingEvent {
  final CreateTrackBody body;
  final int trackEntityId;

  CreateTimeTrackingEvent({
    required this.body,
    required this.trackEntityId,
  });

  @override
  String toString() {
    return 'CreateTimeTrackingEvent{body: $body, trackEntityId: $trackEntityId}';
  }
}

class DeleteTrackUserTrackingEvent extends TrackingEvent {
  final int trackId;

  DeleteTrackUserTrackingEvent({required this.trackId});

  @override
  String toString() {
    return 'DeleteTrackUserTrackingEvent{trackId: $trackId}';
  }
}