Employee constructor

Employee({
  1. int? id,
  2. int? projectId,
  3. required String employeeId,
  4. required String name,
  5. String? phone,
  6. String? email,
  7. String? gender,
  8. String? position,
  9. String? department,
  10. bool stopUse = false,
  11. String? image,
  12. String? bu,
  13. String? project,
  14. String? nationalId,
  15. DateTime? dob,
  16. String? pob,
  17. String? address,
  18. String? reference,
  19. String? status,
  20. String? spouse,
  21. String? children,
  22. String? contact,
  23. String? nameKh,
  24. ProjectAccessRight? accessRight,
  25. String? positionName,
  26. String? systemRoleId,
  27. String? secondarySchool,
  28. String? highSchool,
  29. String? university,
  30. String? masterDegree,
  31. String? doctorDegree,
  32. String? shift,
  33. String? nationality,
  34. String? cardUrl,
  35. String? cardNumber,
  36. String? bankAccount,
  37. String? projectName,
  38. String? systemRolesName,
  39. String? nssf,
})

Implementation

Employee({
  this.id,
  this.projectId,
  required this.employeeId,
  required this.name,
  this.phone,
  this.email,
  this.gender,
  this.position,
  this.department,
  this.stopUse = false,
  this.image,
  this.bu,
  this.project,
  this.nationalId,
  this.dob,
  this.pob,
  this.address,
  this.reference,
  this.status,
  this.spouse,
  this.children,
  this.contact,
  this.nameKh,
  this.accessRight,
  this.positionName,
  this.systemRoleId,
  this.secondarySchool,
  this.highSchool,
  this.university,
  this.masterDegree,
  this.doctorDegree,
  this.shift,
  this.nationality,
  this.cardUrl,
  this.cardNumber,
  this.bankAccount,
  this.projectName,
  this.systemRolesName,
  this.nssf,
});