attendence records, extra hours , rewards and punishment funnctionality have been added
This commit is contained in:
21
lib/domain/models/attendance_model.dart
Normal file
21
lib/domain/models/attendance_model.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
import 'finance_record.dart';
|
||||
|
||||
class AttendanceModel extends FinanceRecord {
|
||||
final DateTime? loginTime;
|
||||
final DateTime? logoutTime;
|
||||
final int? workHours;
|
||||
final DateTime? createdAt;
|
||||
final bool isDeleted;
|
||||
|
||||
AttendanceModel({
|
||||
required super.id,
|
||||
required super.employeeId,
|
||||
super.date,
|
||||
super.reason,
|
||||
this.loginTime,
|
||||
this.logoutTime,
|
||||
this.workHours,
|
||||
this.createdAt,
|
||||
required this.isDeleted,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user