feat: integrate Clock In functionality with Firebase support and refactor attendance management

This commit is contained in:
Achintha Isuru
2026-01-30 17:22:51 -05:00
parent 9038d6533e
commit 1268da45b0
16 changed files with 267 additions and 295 deletions

View File

@@ -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];
}