/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.system.vo; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.modules.system.entity.User; import org.springblade.modules.system.entity.UserDetailEntity; /** * 视图实体类 * * @author Chill */ @Data @EqualsAndHashCode(callSuper = true) @ApiModel(value = "UserVO对象", description = "UserVO对象") public class UserVO extends User { private static final long serialVersionUID = 1L; /** * 主键ID */ @JsonSerialize(using = ToStringSerializer.class) private Long id; /** * 密码 */ @JsonIgnore private String password; /** * 租户名 */ private String tenantName; /** * 用户平台名 */ private String userTypeName; /** * 角色名 */ private String roleName; /** * 部门名 */ private String deptName; /** * 岗位名 */ private String postName; /** * 性别 */ private String sexName; /** * 拓展信息 */ private String userExt; /** * 经度 */ private String longitude; /** * 纬度 */ private String latitude; /** * 报名状态 */ private Integer applyStatus; /** * 报名id */ private Long applyId; /** * 角色别名 */ private String roleAlias; /** * 年齡 */ private Integer age; /** * 考试类型 1:正式考试 2:模拟考试 */ private Integer examType; /** * 培训公司id */ private String trainingUnitId; /** * 根据身份证计算性别 */ private Integer sexs; /** * 准考证号 */ private String candidateNo; /** * 派遣单位名称 */ private String dispatchUnitName; /** * 派遣开始时间 */ private String dispatchStartTime; /** * 派遣结束时间 */ private String dispatchEndTime; /** * 是否有头像 1:有 2:没有上传 */ private Integer isAvatar; /** * 是否有指纹 1:有 2:没有上传 */ private Integer isFingerprint; /** * 排序字段名称 */ private String sortName; /** * 排序 */ private String sort; /** * 年龄段类型 1:18-30周岁 2:30-45周岁 3:45-60周岁 4:全部 */ private Integer ageType; /** * 用户详情 */ private UserDetailEntity userDetail = new UserDetailEntity(); /** * 工作单位 */ private String unitName; private String registered; //证书申请状态 private String accreditationStatus; //机构父级 private String ancestors; //完整的机构 private String fullDeptName; }