|
@@ -1,201 +1,211 @@
|
|
|
package com.jzg.commons.entity.po;
|
|
package com.jzg.commons.entity.po;
|
|
|
|
|
|
|
|
-import java.io.Serializable;
|
|
|
|
|
-import java.math.BigDecimal;
|
|
|
|
|
-import java.time.LocalDate;
|
|
|
|
|
-import java.util.Date;
|
|
|
|
|
-
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import com.jzg.commons.core.base.BaseModel;
|
|
import com.jzg.commons.core.base.BaseModel;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
-import lombok.AllArgsConstructor;
|
|
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
-import lombok.NoArgsConstructor;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 用户信息表实体 sys_user
|
|
|
|
|
- *
|
|
|
|
|
- * @author dongxin
|
|
|
|
|
|
|
+ * @author quchen
|
|
|
|
|
+ * @date 2025/1/16 9:05
|
|
|
*/
|
|
*/
|
|
|
-@Schema(description = "用户信息表实体")
|
|
|
|
|
|
|
+
|
|
|
@Data
|
|
@Data
|
|
|
-@NoArgsConstructor
|
|
|
|
|
-@AllArgsConstructor
|
|
|
|
|
|
|
+@TableName("sys_user_jzg_info")
|
|
|
|
|
+@Schema(description = "业务员信息表")
|
|
|
public class SysUserJzgInfo extends BaseModel {
|
|
public class SysUserJzgInfo extends BaseModel {
|
|
|
-
|
|
|
|
|
- /** 工号 */
|
|
|
|
|
- @Schema(description = "工号")
|
|
|
|
|
|
|
+ @TableId(value = "id")
|
|
|
|
|
+ @Schema(description = "主键")
|
|
|
private String id;
|
|
private String id;
|
|
|
|
|
|
|
|
- /** 用户id */
|
|
|
|
|
- @Schema(description = "用户id")
|
|
|
|
|
|
|
+ @TableField(value = "user_id")
|
|
|
|
|
+ @Schema(description = "用户")
|
|
|
private String userId;
|
|
private String userId;
|
|
|
|
|
|
|
|
- /** 系统code */
|
|
|
|
|
- @Schema(description = "系统code")
|
|
|
|
|
- private String systemCode;
|
|
|
|
|
|
|
+ @TableField(value = "name")
|
|
|
|
|
+ @Schema(description = "姓名")
|
|
|
|
|
+ private String name;
|
|
|
|
|
|
|
|
- /** 状态 1:正常 0:删除 2:审批中 3:审批不通过 */
|
|
|
|
|
- @Schema(description = "状态 1:正常 0:删除 2:审批中 3:审批不通过")
|
|
|
|
|
|
|
+ @TableField(value = "status")
|
|
|
|
|
+ @Schema(description = "状态 0:未认证 1:实名认证失败 2:待入职 3:入职待审核 4:审核不通过 5:已入职")
|
|
|
private Integer status;
|
|
private Integer status;
|
|
|
|
|
|
|
|
- /** 机构ID */
|
|
|
|
|
- @Schema(description = "机构ID")
|
|
|
|
|
|
|
+ @TableField(value = "is_enable")
|
|
|
|
|
+ @Schema(description = "是否启用 1:启用 0:禁用")
|
|
|
|
|
+ private Integer isEnable;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(value = "system_code")
|
|
|
|
|
+ @Schema(description = "系统code")
|
|
|
|
|
+ private String systemCode;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(value = "dept_id")
|
|
|
|
|
+ @Schema(description = "机构id")
|
|
|
private String deptId;
|
|
private String deptId;
|
|
|
|
|
|
|
|
- /** 微信id */
|
|
|
|
|
|
|
+ @TableField(value = "open_id")
|
|
|
@Schema(description = "微信id")
|
|
@Schema(description = "微信id")
|
|
|
private String openId;
|
|
private String openId;
|
|
|
|
|
|
|
|
- /** 支付宝id */
|
|
|
|
|
|
|
+ @TableField(value = "alipay")
|
|
|
@Schema(description = "支付宝id")
|
|
@Schema(description = "支付宝id")
|
|
|
private String alipay;
|
|
private String alipay;
|
|
|
|
|
|
|
|
- /** 审批意见 */
|
|
|
|
|
|
|
+ @TableField(value = "approval_opinion")
|
|
|
@Schema(description = "审批意见")
|
|
@Schema(description = "审批意见")
|
|
|
private String approvalOpinion;
|
|
private String approvalOpinion;
|
|
|
|
|
|
|
|
- /** 身份证号 */
|
|
|
|
|
|
|
+ @TableField(value = "identity")
|
|
|
@Schema(description = "身份证号")
|
|
@Schema(description = "身份证号")
|
|
|
private String identity;
|
|
private String identity;
|
|
|
|
|
|
|
|
- /** 身份证有效期起期 */
|
|
|
|
|
|
|
+ @TableField(value = "identity_time_start")
|
|
|
@Schema(description = "身份证有效期起期")
|
|
@Schema(description = "身份证有效期起期")
|
|
|
private String identityTimeStart;
|
|
private String identityTimeStart;
|
|
|
|
|
|
|
|
- /** 身份证有效期止期 */
|
|
|
|
|
|
|
+ @TableField(value = "identity_time_end")
|
|
|
@Schema(description = "身份证有效期止期")
|
|
@Schema(description = "身份证有效期止期")
|
|
|
private String identityTimeEnd;
|
|
private String identityTimeEnd;
|
|
|
|
|
|
|
|
- /** 离司时间 */
|
|
|
|
|
- @Schema(description = "离司时间")
|
|
|
|
|
- private LocalDate logoutTime;
|
|
|
|
|
|
|
+ @TableField(value = "logout_time")
|
|
|
|
|
+ @Schema(description = "离职时间")
|
|
|
|
|
+ private String logoutTime;
|
|
|
|
|
|
|
|
- /** 头像 */
|
|
|
|
|
|
|
+ @TableField(value = "head_sculpture")
|
|
|
@Schema(description = "头像")
|
|
@Schema(description = "头像")
|
|
|
private String headSculpture;
|
|
private String headSculpture;
|
|
|
|
|
|
|
|
- /** 0 未验证 1 已验证 */
|
|
|
|
|
- @Schema(description = "0 未验证 1 已验证")
|
|
|
|
|
- private Integer factorVerify;
|
|
|
|
|
|
|
+ @TableField(value = "leader_id")
|
|
|
|
|
+ @Schema(description = "领导人id")
|
|
|
|
|
+ private String leaderId;
|
|
|
|
|
|
|
|
- /** 居住地址 */
|
|
|
|
|
- @Schema(description = "居住地址")
|
|
|
|
|
|
|
+ @TableField(value = "referrer_id")
|
|
|
|
|
+ @Schema(description = "推荐人id")
|
|
|
|
|
+ private String referrerId;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(value = "manager_id")
|
|
|
|
|
+ @Schema(description = "电销管理人id")
|
|
|
|
|
+ private String managerId;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(value = "position_id")
|
|
|
|
|
+ @Schema(description = "职位id")
|
|
|
|
|
+ private String positionId;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(value = "operator_code")
|
|
|
|
|
+ @Schema(description = "关联的业务员工号(该字段仅针对出单员)")
|
|
|
|
|
+ private String operatorCode;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(value = "partner_level")
|
|
|
|
|
+ @Schema(description = "合伙人等级")
|
|
|
|
|
+ private String partnerLevel;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(value = "type_attr")
|
|
|
|
|
+ @Schema(description = "用户类型:1.前线人员 2:后线人员 3:合伙人 4:工作室管理员 5:团队长")
|
|
|
|
|
+ private String typeAttr;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(value = "factor_verify")
|
|
|
|
|
+ @Schema(description = "是否实名认证 0 未验证 1 已验证")
|
|
|
|
|
+ private String factorVerify;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(value = "address")
|
|
|
|
|
+ @Schema(description = "地址")
|
|
|
private String address;
|
|
private String address;
|
|
|
|
|
|
|
|
- /** 民族 */
|
|
|
|
|
|
|
+ @TableField(value = "nations")
|
|
|
@Schema(description = "民族")
|
|
@Schema(description = "民族")
|
|
|
private String nations;
|
|
private String nations;
|
|
|
|
|
|
|
|
- /** 开户行 */
|
|
|
|
|
- @Schema(description = "开户行")
|
|
|
|
|
- private String bankName;
|
|
|
|
|
-
|
|
|
|
|
- /** 开户账号 */
|
|
|
|
|
- @Schema(description = "开户账号")
|
|
|
|
|
- private String bankCardId;
|
|
|
|
|
-
|
|
|
|
|
- /** 户籍 */
|
|
|
|
|
|
|
+ @TableField(value = "koseki")
|
|
|
@Schema(description = "户籍")
|
|
@Schema(description = "户籍")
|
|
|
private String koseki;
|
|
private String koseki;
|
|
|
|
|
|
|
|
- /** 出生日期 */
|
|
|
|
|
- @Schema(description = "出生日期")
|
|
|
|
|
- private LocalDate birthday;
|
|
|
|
|
|
|
+ @TableField(value = "birthday")
|
|
|
|
|
+ @Schema(description = "生日")
|
|
|
|
|
+ private String birthday;
|
|
|
|
|
|
|
|
- /** 婚姻状况 */
|
|
|
|
|
|
|
+ @TableField(value = "marital_status")
|
|
|
@Schema(description = "婚姻状况")
|
|
@Schema(description = "婚姻状况")
|
|
|
private String maritalStatus;
|
|
private String maritalStatus;
|
|
|
|
|
|
|
|
- /** 政治面貌 */
|
|
|
|
|
|
|
+ @TableField(value = "politics_status")
|
|
|
@Schema(description = "政治面貌")
|
|
@Schema(description = "政治面貌")
|
|
|
private String politicsStatus;
|
|
private String politicsStatus;
|
|
|
|
|
|
|
|
- /** 健康状况 */
|
|
|
|
|
|
|
+ @TableField(value = "health")
|
|
|
@Schema(description = "健康状况")
|
|
@Schema(description = "健康状况")
|
|
|
private String health;
|
|
private String health;
|
|
|
|
|
|
|
|
- /** 邮政编码 */
|
|
|
|
|
|
|
+ @TableField(value = "postal_code")
|
|
|
@Schema(description = "邮政编码")
|
|
@Schema(description = "邮政编码")
|
|
|
private String postalCode;
|
|
private String postalCode;
|
|
|
|
|
|
|
|
- /** 血型 */
|
|
|
|
|
|
|
+ @TableField(value = "blood_type")
|
|
|
@Schema(description = "血型")
|
|
@Schema(description = "血型")
|
|
|
private String bloodType;
|
|
private String bloodType;
|
|
|
|
|
|
|
|
- /** 学历 */
|
|
|
|
|
|
|
+ @TableField(value = "education")
|
|
|
@Schema(description = "学历")
|
|
@Schema(description = "学历")
|
|
|
private String education;
|
|
private String education;
|
|
|
|
|
|
|
|
- /** 毕业院校 */
|
|
|
|
|
|
|
+ @TableField(value = "school")
|
|
|
@Schema(description = "毕业院校")
|
|
@Schema(description = "毕业院校")
|
|
|
private String school;
|
|
private String school;
|
|
|
|
|
|
|
|
- /** 毕业时间 */
|
|
|
|
|
|
|
+ @TableField(value = "graduation_time")
|
|
|
@Schema(description = "毕业时间")
|
|
@Schema(description = "毕业时间")
|
|
|
- private LocalDate graduationTime;
|
|
|
|
|
-
|
|
|
|
|
- /** 是否是计算机专业 */
|
|
|
|
|
- @Schema(description = "是否是计算机专业")
|
|
|
|
|
- private Integer isComputer;
|
|
|
|
|
|
|
+ private String graduationTime;
|
|
|
|
|
|
|
|
- /** 原工作单位 */
|
|
|
|
|
|
|
+ @TableField(value = "former_employer")
|
|
|
@Schema(description = "原工作单位")
|
|
@Schema(description = "原工作单位")
|
|
|
private String formerEmployer;
|
|
private String formerEmployer;
|
|
|
|
|
|
|
|
- /** 入司时间 */
|
|
|
|
|
- @Schema(description = "入司时间")
|
|
|
|
|
- private LocalDate entryTime;
|
|
|
|
|
|
|
+ @TableField(value = "entry_time")
|
|
|
|
|
+ @Schema(description = "入职时间")
|
|
|
|
|
+ private String entryTime;
|
|
|
|
|
|
|
|
- /** 代理人资格证号 */
|
|
|
|
|
|
|
+ @TableField(value = "agent_qualification_code")
|
|
|
@Schema(description = "代理人资格证号")
|
|
@Schema(description = "代理人资格证号")
|
|
|
private String agentQualificationCode;
|
|
private String agentQualificationCode;
|
|
|
|
|
|
|
|
- /** 紧急联系人电话 */
|
|
|
|
|
|
|
+ @TableField(value = "emergency_contact_tel")
|
|
|
@Schema(description = "紧急联系人电话")
|
|
@Schema(description = "紧急联系人电话")
|
|
|
private String emergencyContactTel;
|
|
private String emergencyContactTel;
|
|
|
|
|
|
|
|
- /** 紧急联系人姓名 */
|
|
|
|
|
|
|
+ @TableField(value = "emergency_contact_name")
|
|
|
@Schema(description = "紧急联系人姓名")
|
|
@Schema(description = "紧急联系人姓名")
|
|
|
private String emergencyContactName;
|
|
private String emergencyContactName;
|
|
|
|
|
|
|
|
- /** 备注 */
|
|
|
|
|
|
|
+ @TableField(value = "remark")
|
|
|
@Schema(description = "备注")
|
|
@Schema(description = "备注")
|
|
|
private String remark;
|
|
private String remark;
|
|
|
|
|
|
|
|
- /** 邮箱 */
|
|
|
|
|
- @Schema(description = "邮箱")
|
|
|
|
|
- private String email;
|
|
|
|
|
-
|
|
|
|
|
- /** 性别 */
|
|
|
|
|
|
|
+ @TableField(value = "sex")
|
|
|
@Schema(description = "性别")
|
|
@Schema(description = "性别")
|
|
|
private String sex;
|
|
private String sex;
|
|
|
|
|
|
|
|
- /** 专业 */
|
|
|
|
|
|
|
+ @TableField(value = "speciality")
|
|
|
@Schema(description = "专业")
|
|
@Schema(description = "专业")
|
|
|
private String speciality;
|
|
private String speciality;
|
|
|
|
|
|
|
|
- /** 薪资 */
|
|
|
|
|
|
|
+ @TableField(value = "salary")
|
|
|
@Schema(description = "薪资")
|
|
@Schema(description = "薪资")
|
|
|
- private BigDecimal salary;
|
|
|
|
|
-
|
|
|
|
|
- /** 薪资等级 */
|
|
|
|
|
- @Schema(description = "薪资等级")
|
|
|
|
|
- private String salaryLevel;
|
|
|
|
|
|
|
+ private String salary;
|
|
|
|
|
|
|
|
- /** 居住地址 */
|
|
|
|
|
|
|
+ @TableField(value = "live_address")
|
|
|
@Schema(description = "居住地址")
|
|
@Schema(description = "居住地址")
|
|
|
private String liveAddress;
|
|
private String liveAddress;
|
|
|
|
|
|
|
|
- /** 省 */
|
|
|
|
|
- @Schema(description = "省")
|
|
|
|
|
- private String province;
|
|
|
|
|
|
|
+ @TableField(value = "is_delete")
|
|
|
|
|
+ @Schema(description = "是否删除 0未删除 1 删除")
|
|
|
|
|
+ private Integer isDelete;
|
|
|
|
|
|
|
|
- /** 市 */
|
|
|
|
|
- @Schema(description = "市")
|
|
|
|
|
- private String city;
|
|
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
|
|
+ @Schema(description = "身份证正面")
|
|
|
|
|
+ private String idCardUp;
|
|
|
|
|
|
|
|
- /** 区/县 */
|
|
|
|
|
- @Schema(description = "区/县")
|
|
|
|
|
- private String district;
|
|
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
|
|
+ @Schema(description = "身份证反面")
|
|
|
|
|
+ private String idCardDown;
|
|
|
|
|
|
|
|
}
|
|
}
|