Employee constructor
Employee({
- int? id,
- int? projectId,
- required String employeeId,
- required String name,
- String? phone,
- String? email,
- String? gender,
- String? position,
- String? department,
- bool stopUse = false,
- String? image,
- String? bu,
- String? project,
- String? nationalId,
- DateTime? dob,
- String? pob,
- String? address,
- String? reference,
- String? status,
- String? spouse,
- String? children,
- String? contact,
- String? nameKh,
- ProjectAccessRight? accessRight,
- String? positionName,
- String? systemRoleId,
- String? secondarySchool,
- String? highSchool,
- String? university,
- String? masterDegree,
- String? doctorDegree,
- String? shift,
- String? nationality,
- String? cardUrl,
- String? cardNumber,
- String? bankAccount,
- String? projectName,
- String? systemRolesName,
- 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,
});