feat: integrate Clock In functionality with Firebase support and refactor attendance management
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
|
||||
const AttendanceStatus({
|
||||
this.isCheckedIn = false,
|
||||
this.checkInTime,
|
||||
this.checkOutTime,
|
||||
this.activeShiftId,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object?> get props => [isCheckedIn, checkInTime, checkOutTime, activeShiftId];
|
||||
}
|
||||
Reference in New Issue
Block a user