/* * 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.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.core.tenant.mp.TenantEntity; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** * 实体类 * * @author Chill */ @Data @TableName("blade_user") @EqualsAndHashCode(callSuper = true) public class User extends TenantEntity { private static final long serialVersionUID = 1L; /** * 用户编号 */ private String code; /** * 用户平台 */ private Integer userType; /** * 账号 */ private String account; /** * 密码 */ private String password; /** * 昵称 */ private String name; /** * 真名 */ private String realName; /** * 头像 */ private String avatar; /** * 邮箱 */ private String email; /** * 手机 */ private String phone; /** * 生日 */ @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date birthday; /** * 性别 */ private Integer sex; /** * 角色id */ private String roleId; /** * 部门id */ private String deptId; /** * 岗位id */ private String postId; /** * 身份证 */ private String cardid; /** * 籍贯 */ @ApiModelProperty(value = "籍贯") @TableField("nativePlace") private String nativeplace; /** * 民族 */ @ApiModelProperty(value = "民族") private String nation; /** * 学历 */ @ApiModelProperty(value = "学历") private String education; /** * 政治面貌 */ @ApiModelProperty(value = "政治面貌") private String politicaloutlook; /** * 身高 */ @ApiModelProperty(value = "身高") private String height; /** * 联系电话 */ @ApiModelProperty(value = "联系电话") private String cell; /** * 邮箱 */ @ApiModelProperty(value = "邮箱") private String emails; private String hold; private Integer status; /** * 行政区域id */ private String jurisdiction; /** * 保安员证编码 */ private String securitynumber; /** * 审查状态 */ @TableField("examination_type") private String examinationType; /** * 审查明细 */ @TableField("examination_mx") private String examinationMx; /** * 指纹url */ private String fingerprint; /** * 是否采集照片 */ private String photo; /** * 是否派遣 */ private String dispatch; /** * 指纹特征 */ @TableField("my_picture") private String myPicture; /** * 是否报名考试 1:是 2:否 */ @TableField("is_apply") private Integer isApply; @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date birthtime; /** * 是否报名培训 1:是 2:否 */ @TableField("is_train") private Integer isTrain; /** * 健康状态 0:健康 1:良好 2:一般 3:较差 */ private String healstats; private String soil; /** * 发证日期(保安证) */ @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") @TableField("paper_time") private Date paperTime; /** * 离职原因 */ @TableField("reason_for_leav") private String reasonForLeav; /** * 离职图片 */ @TableField("img_for_leav") private String imgForLeav; private String holdv; @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date holdvtime; /** * 是否缴纳保险 0:是 1:否 */ private Integer insurance; /** * 审查时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("audit_time") private Date auditTime; /** * 持枪编码 */ private String guncode; /** * 押运人员设备编号 */ @TableField("equipment_code") private String equipmentCode; /** * 是否冻结 0:否 1:是 */ private Integer isFreeze; /** * 审核状态:1、审核通过;2、审核不通过 10、待审核 */ private Integer auditStatus; }