AttendanceRegisterModel constructor

AttendanceRegisterModel({
  1. required String id,
  2. String? tenantId,
  3. String? registerNumber,
  4. String? name,
  5. String? referenceId,
  6. String? serviceCode,
  7. String? status,
  8. bool? nonRecoverableError = false,
  9. int? rowVersion,
  10. int? startDate,
  11. int? endDate,
  12. List<IndividualModel>? individualList,
  13. List<AttendeeModel>? attendees,
  14. List<StaffModel>? staff,
  15. int? completedDays = 0,
  16. List<Map<DateTime, bool>>? attendanceLog = const [],
  17. Map<String, dynamic>? additionalDetails,
  18. AuditDetails? auditDetails,
  19. ClientAuditDetails? clientAuditDetails,
  20. bool? isDeleted = false,
})

Implementation

AttendanceRegisterModel({
  required this.id,
  this.tenantId,
  this.registerNumber,
  this.name,
  this.referenceId,
  this.serviceCode,
  this.status,
  this.nonRecoverableError = false,
  this.rowVersion,
  this.startDate,
  this.endDate,
  this.individualList,
  this.attendees,
  this.staff,
  this.completedDays = 0,
  this.attendanceLog = const [],
  this.additionalDetails,
  super.auditDetails,
  super.clientAuditDetails,
  super.isDeleted = false,
}) : super();