User constructor
User({
- String? id,
- String? userId,
- String? username,
- String? password,
- String? superiorName,
- String? workNo,
- String? realName,
- String? mainDeptName,
- String? headshipName,
- String? pinYin,
- String? highestEducationSchool,
- String? positionCategory,
- num? birthType,
- num? sexCategory,
- String? phone,
- String? idCard,
- String? avatar,
- String? remark,
- num? enableFlag,
- String? lastLoginTime,
- num? loginTimes,
- num? isManager,
- num? mainPeople,
- String? tenantId,
- String? tenantName,
- String? token,
- num? tenantCount,
- Department? mainDept,
- Department? company,
- String? mainDeptId,
- String? deptStructure,
- List<
Department> ? selfDeptTree, - List<
Department> ? depts, - List<
Department> ? allDeptList, - List<
RoleEntity> ? roles, - String? address,
- List<
ExpandedField> ? fields, - List<
ExpandedField> ? fieldValueList, - String? roleId,
- bool? officeReceiverFlag,
- 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,
});