ProjectStaffModel constructor
ProjectStaffModel({
- ProjectStaffAdditionalFields? additionalFields,
- required String id,
- String? staffId,
- String? userId,
- String? projectId,
- String? channel,
- bool? nonRecoverableError = false,
- String? tenantId,
- int? rowVersion,
- int? startDate,
- int? endDate,
- AuditDetails? auditDetails,
- ClientAuditDetails? clientAuditDetails,
- bool? isDeleted = false,
Implementation
ProjectStaffModel({
this.additionalFields,
required this.id,
this.staffId,
this.userId,
this.projectId,
this.channel,
this.nonRecoverableError = false,
this.tenantId,
this.rowVersion,
int? startDate,
int? endDate,
super.auditDetails,super.clientAuditDetails,
super.isDeleted = false,
}): startDateTime = startDate == null
? null
: DateTime.fromMillisecondsSinceEpoch(startDate),
endDateTime = endDate == null
? null
: DateTime.fromMillisecondsSinceEpoch(endDate),
super();