ProjectBeneficiaryModel constructor

ProjectBeneficiaryModel({
  1. ProjectBeneficiaryAdditionalFields? additionalFields,
  2. String? id,
  3. String? projectId,
  4. String? beneficiaryId,
  5. String? tag,
  6. String? beneficiaryClientReferenceId,
  7. bool? nonRecoverableError = false,
  8. required String clientReferenceId,
  9. String? tenantId,
  10. int? rowVersion,
  11. required int dateOfRegistration,
  12. AuditDetails? auditDetails,
  13. ClientAuditDetails? clientAuditDetails,
  14. bool? isDeleted = false,
})

Implementation

ProjectBeneficiaryModel({
  this.additionalFields,
  this.id,
  this.projectId,
  this.beneficiaryId,
  this.tag,
  this.beneficiaryClientReferenceId,
  this.nonRecoverableError = false,
  required this.clientReferenceId,
  this.tenantId,
  this.rowVersion,
  required int dateOfRegistration,
  super.auditDetails,
  super.clientAuditDetails,
  super.isDeleted = false,
})  : dateOfRegistrationTime =
          DateTime.fromMillisecondsSinceEpoch(dateOfRegistration),
      super();