import 'package:equatable/equatable.dart';

/// Simple entity to hold attendance state
class AttendanceStatus extends Equatable {
  final bool isCheckedIn;
  final DateTime? checkInTime;
  final DateTime? checkOutTime;
  final String? activeShiftId;
  final String? activeApplicationId;

  const AttendanceStatus({
    this.isCheckedIn = false,
    this.checkInTime,
    this.checkOutTime,
    this.activeShiftId,
    this.activeApplicationId,
  });

  @override
  List<Object?> get props => [
        isCheckedIn,
        checkInTime,
        checkOutTime,
        activeShiftId,
        activeApplicationId,
      ];
}
