添加个人信息编辑
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package org.jiayunet.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.jiayunet.pojo.po.UserProfileCompetition;
|
||||
|
||||
@@ -10,5 +9,5 @@ import org.jiayunet.pojo.po.UserProfileCompetition;
|
||||
* @author zk
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserProfileCompetitionMapper extends BaseMapper<UserProfileCompetition> {
|
||||
public interface UserProfileCompetitionMapper extends CommonMapper<UserProfileCompetition> {
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package org.jiayunet.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.jiayunet.pojo.po.UserProfileEducation;
|
||||
|
||||
@@ -10,5 +9,5 @@ import org.jiayunet.pojo.po.UserProfileEducation;
|
||||
* @author zk
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserProfileEducationMapper extends BaseMapper<UserProfileEducation> {
|
||||
public interface UserProfileEducationMapper extends CommonMapper<UserProfileEducation> {
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package org.jiayunet.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.jiayunet.pojo.po.UserProfileInternship;
|
||||
|
||||
@@ -10,5 +9,5 @@ import org.jiayunet.pojo.po.UserProfileInternship;
|
||||
* @author zk
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserProfileInternshipMapper extends BaseMapper<UserProfileInternship> {
|
||||
public interface UserProfileInternshipMapper extends CommonMapper<UserProfileInternship> {
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package org.jiayunet.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.jiayunet.pojo.po.UserProfileProject;
|
||||
|
||||
@@ -10,5 +9,5 @@ import org.jiayunet.pojo.po.UserProfileProject;
|
||||
* @author zk
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserProfileProjectMapper extends BaseMapper<UserProfileProject> {
|
||||
public interface UserProfileProjectMapper extends CommonMapper<UserProfileProject> {
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package org.jiayunet.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.jiayunet.pojo.po.UserProfileWork;
|
||||
|
||||
@@ -10,5 +9,5 @@ import org.jiayunet.pojo.po.UserProfileWork;
|
||||
* @author zk
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserProfileWorkMapper extends BaseMapper<UserProfileWork> {
|
||||
public interface UserProfileWorkMapper extends CommonMapper<UserProfileWork> {
|
||||
}
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
package org.jiayunet.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户个人资料表(bg_user_profile)
|
||||
@@ -13,7 +16,7 @@ import java.time.Instant;
|
||||
* @author zk
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "bg_user_profile")
|
||||
@TableName(value = "bg_user_profile", autoResultMap = true)
|
||||
public class UserProfile {
|
||||
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@@ -22,6 +25,15 @@ public class UserProfile {
|
||||
/** 用户ID */
|
||||
private Long userId;
|
||||
|
||||
/** 真实姓名 */
|
||||
private String name;
|
||||
|
||||
/** 邮箱 */
|
||||
private String email;
|
||||
|
||||
/** 手机号码 */
|
||||
private String mobileNumber;
|
||||
|
||||
/** 身份证号 */
|
||||
private String idCard;
|
||||
|
||||
@@ -37,14 +49,17 @@ public class UserProfile {
|
||||
/** 工作年限(不展示,用于适配度计算) */
|
||||
private Integer workYears;
|
||||
|
||||
/** 拥有经验的行业ID列表(不展示,用于适配度计算),格式:[1, 3, 7] */
|
||||
private String experienceIndustryIds;
|
||||
/** 拥有经验的行业ID列表(不展示,用于适配度计算) */
|
||||
@TableField(typeHandler = JacksonTypeHandler.class)
|
||||
private List<Long> experienceIndustryIds;
|
||||
|
||||
/** 技能标签列表,格式:["CET 6", "Photoshop", "Python"] */
|
||||
private String skills;
|
||||
/** 技能标签列表 */
|
||||
@TableField(typeHandler = JacksonTypeHandler.class)
|
||||
private List<String> skills;
|
||||
|
||||
/** 证书标签列表,格式:["CFA", "CMA"] */
|
||||
private String certificates;
|
||||
/** 证书标签列表 */
|
||||
@TableField(typeHandler = JacksonTypeHandler.class)
|
||||
private List<String> certificates;
|
||||
|
||||
/** 创建时间 */
|
||||
private Instant createTime;
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
package org.jiayunet.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
||||
import lombok.Data;
|
||||
import org.jiayunet.pojo.vo.DescriptionParagraph;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户竞赛经历表(bg_user_profile_competition,bg_user_profile子表)
|
||||
@@ -13,7 +17,7 @@ import java.time.Instant;
|
||||
* @author zk
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "bg_user_profile_competition")
|
||||
@TableName(value = "bg_user_profile_competition", autoResultMap = true)
|
||||
public class UserProfileCompetition {
|
||||
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@@ -34,8 +38,9 @@ public class UserProfileCompetition {
|
||||
/** 获奖时间,格式:2023.07 */
|
||||
private String awardDate;
|
||||
|
||||
/** 描述段落,格式:[{"id":"a1b2","text":"协助分析师开展TMT行业研究..."}],id为前端生成的短标识,用于简历优化时精确定位段落 */
|
||||
private String description;
|
||||
/** 描述段落,id为前端生成的短标识,用于简历优化时精确定位段落 */
|
||||
@TableField(typeHandler = JacksonTypeHandler.class)
|
||||
private List<DescriptionParagraph> description;
|
||||
|
||||
/** 排序序号,越小越靠前 */
|
||||
private Integer sortOrder;
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
package org.jiayunet.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
||||
import lombok.Data;
|
||||
import org.jiayunet.pojo.vo.DescriptionParagraph;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户教育经历表(bg_user_profile_education,bg_user_profile子表)
|
||||
@@ -13,7 +17,7 @@ import java.time.Instant;
|
||||
* @author zk
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "bg_user_profile_education")
|
||||
@TableName(value = "bg_user_profile_education", autoResultMap = true)
|
||||
public class UserProfileEducation {
|
||||
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@@ -43,8 +47,9 @@ public class UserProfileEducation {
|
||||
/** 毕业年份 */
|
||||
private Integer endYear;
|
||||
|
||||
/** 描述段落,格式:[{"id":"a1b2","text":"GPA: 3.8/4.0..."}],id为前端生成的短标识,用于简历优化时精确定位段落 */
|
||||
private String description;
|
||||
/** 描述段落,id为前端生成的短标识,用于简历优化时精确定位段落 */
|
||||
@TableField(typeHandler = JacksonTypeHandler.class)
|
||||
private List<DescriptionParagraph> description;
|
||||
|
||||
/** 排序序号,越小越靠前 */
|
||||
private Integer sortOrder;
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
package org.jiayunet.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
||||
import lombok.Data;
|
||||
import org.jiayunet.pojo.vo.DescriptionParagraph;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户实习经历表(bg_user_profile_internship,bg_user_profile子表)
|
||||
@@ -13,7 +17,7 @@ import java.time.Instant;
|
||||
* @author zk
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "bg_user_profile_internship")
|
||||
@TableName(value = "bg_user_profile_internship", autoResultMap = true)
|
||||
public class UserProfileInternship {
|
||||
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@@ -37,8 +41,9 @@ public class UserProfileInternship {
|
||||
/** 结束时间,格式:2023.09,至今则为空 */
|
||||
private String endDate;
|
||||
|
||||
/** 描述段落,格式:[{"id":"a1b2","text":"参与传统行业投资项目分析..."}],id为前端生成的短标识,用于简历优化时精确定位段落 */
|
||||
private String description;
|
||||
/** 描述段落,id为前端生成的短标识,用于简历优化时精确定位段落 */
|
||||
@TableField(typeHandler = JacksonTypeHandler.class)
|
||||
private List<DescriptionParagraph> description;
|
||||
|
||||
/** 排序序号,越小越靠前 */
|
||||
private Integer sortOrder;
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
package org.jiayunet.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
||||
import lombok.Data;
|
||||
import org.jiayunet.pojo.vo.DescriptionParagraph;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户项目经历表(bg_user_profile_project,bg_user_profile子表)
|
||||
@@ -13,7 +17,7 @@ import java.time.Instant;
|
||||
* @author zk
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "bg_user_profile_project")
|
||||
@TableName(value = "bg_user_profile_project", autoResultMap = true)
|
||||
public class UserProfileProject {
|
||||
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@@ -40,8 +44,9 @@ public class UserProfileProject {
|
||||
/** 结束时间,格式:2023.09,至今则为空 */
|
||||
private String endDate;
|
||||
|
||||
/** 描述段落,格式:[{"id":"a1b2","text":"围绕新能源行业投资研究..."}],id为前端生成的短标识,用于简历优化时精确定位段落 */
|
||||
private String description;
|
||||
/** 描述段落,id为前端生成的短标识,用于简历优化时精确定位段落 */
|
||||
@TableField(typeHandler = JacksonTypeHandler.class)
|
||||
private List<DescriptionParagraph> description;
|
||||
|
||||
/** 排序序号,越小越靠前 */
|
||||
private Integer sortOrder;
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
package org.jiayunet.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
||||
import lombok.Data;
|
||||
import org.jiayunet.pojo.vo.DescriptionParagraph;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户工作经历表(bg_user_profile_work,bg_user_profile子表)
|
||||
@@ -13,7 +17,7 @@ import java.time.Instant;
|
||||
* @author zk
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "bg_user_profile_work")
|
||||
@TableName(value = "bg_user_profile_work", autoResultMap = true)
|
||||
public class UserProfileWork {
|
||||
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@@ -37,8 +41,9 @@ public class UserProfileWork {
|
||||
/** 结束时间,格式:2023.09,至今则为空 */
|
||||
private String endDate;
|
||||
|
||||
/** 描述段落,格式:[{"id":"a1b2","text":"参与传统行业投资项目分析..."}],id为前端生成的短标识,用于简历优化时精确定位段落 */
|
||||
private String description;
|
||||
/** 描述段落,id为前端生成的短标识,用于简历优化时精确定位段落 */
|
||||
@TableField(typeHandler = JacksonTypeHandler.class)
|
||||
private List<DescriptionParagraph> description;
|
||||
|
||||
/** 排序序号,越小越靠前 */
|
||||
private Integer sortOrder;
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
package org.jiayunet.pojo.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 描述段落对象(多场景共享)
|
||||
* <p>用于个人资料各子表的描述字段,前端按段落编辑,id为前端生成的短标识,用于简历优化时精确定位段落</p>
|
||||
*
|
||||
* @author zk
|
||||
*/
|
||||
@Data
|
||||
public class DescriptionParagraph {
|
||||
|
||||
/** 段落标识,前端生成的短ID */
|
||||
private String id;
|
||||
|
||||
/** 段落文本内容 */
|
||||
private String text;
|
||||
}
|
||||
Reference in New Issue
Block a user