User constructor

User({
  1. String? id,
  2. String? userId,
  3. String? username,
  4. String? password,
  5. String? superiorName,
  6. String? workNo,
  7. String? realName,
  8. String? mainDeptName,
  9. String? headshipName,
  10. String? pinYin,
  11. String? highestEducationSchool,
  12. String? positionCategory,
  13. num? birthType,
  14. num? sexCategory,
  15. String? phone,
  16. String? idCard,
  17. String? avatar,
  18. String? remark,
  19. num? enableFlag,
  20. String? lastLoginTime,
  21. num? loginTimes,
  22. num? isManager,
  23. num? mainPeople,
  24. String? tenantId,
  25. String? tenantName,
  26. String? token,
  27. num? tenantCount,
  28. Department? mainDept,
  29. Department? company,
  30. String? mainDeptId,
  31. String? deptStructure,
  32. List<Department>? selfDeptTree,
  33. List<Department>? depts,
  34. List<Department>? allDeptList,
  35. List<RoleEntity>? roles,
  36. String? address,
  37. List<ExpandedField>? fields,
  38. List<ExpandedField>? fieldValueList,
  39. String? roleId,
  40. bool? officeReceiverFlag,
  41. dynamic sortNum,
})

Implementation

User({
  this.id,
  this.userId,
  this.username,
  this.password,
  this.superiorName,
  this.workNo,
  this.realName,
  this.mainDeptName,
  this.headshipName,
  // this.currentDeptId,
  // this.currentDeptName,
  this.pinYin,
  this.highestEducationSchool,
  this.positionCategory,
  this.birthType,
  this.sexCategory,
  this.phone,
  this.idCard,
  this.avatar,
  this.remark,
  this.enableFlag,
  this.lastLoginTime,
  this.loginTimes,
  this.isManager,
  this.mainPeople,
  this.tenantId,
  this.tenantName,
  this.token,
  this.tenantCount,
  this.mainDept,
  this.company,
  this.mainDeptId,
  this.deptStructure,
  this.selfDeptTree,
  this.depts,
  this.allDeptList,
  this.roles,
  this.address,
  this.fields,
  this.fieldValueList,
  this.roleId,
  this.officeReceiverFlag,
  this.sortNum,
});