diff --git a/src/main/java/com/yipin/liuwanr/controller/HrUserInfoController.java b/src/main/java/com/yipin/liuwanr/controller/HrUserInfoController.java new file mode 100644 index 0000000..5419f65 --- /dev/null +++ b/src/main/java/com/yipin/liuwanr/controller/HrUserInfoController.java @@ -0,0 +1,20 @@ +package com.yipin.liuwanr.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.stereotype.Controller; + +/** + *

+ * 用户信息表 前端控制器 + *

+ * + * @author Qyq + * @since 2021-06-23 + */ +@Controller +@RequestMapping("/hr-user-info") +public class HrUserInfoController { + +} diff --git a/src/main/java/com/yipin/liuwanr/entity/HrUserInfo.java b/src/main/java/com/yipin/liuwanr/entity/HrUserInfo.java new file mode 100644 index 0000000..cdc5e09 --- /dev/null +++ b/src/main/java/com/yipin/liuwanr/entity/HrUserInfo.java @@ -0,0 +1,179 @@ +package com.yipin.liuwanr.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import java.util.Date; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableField; +import lombok.Data; + +import java.io.Serializable; + +/** + *

+ * 用户信息表 + *

+ * + * @author Qyq + * @since 2021-06-23 + */ +@Data +@TableName("hr_user_info") +public class HrUserInfo implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 用户id + */ + @TableId(value = "userId", type = IdType.AUTO) + private Integer userId; + + /** + * 用户姓名 + */ + @TableField("userName") + private String userName; + + /** + * 唯一标识账号 + */ + @TableField("uniqueIdentificationAccount") + private String uniqueIdentificationAccount; + + /** + * 证件类型(1、身份证) + */ + @TableField("documentType") + private Integer documentType; + + /** + * 证件号码 + */ + @TableField("IDNumber") + private String IDNumber; + + /** + * 绑定省份id + */ + @TableField("provinceId") + private Integer provinceId; + + /** + * 绑定城市id + */ + @TableField("cityId") + private Integer cityId; + + /** + * 国家归属地 + */ + private String countries; + + /** + * 出生日期 + */ + @TableField("dateBirth") + private String dateBirth; + + /** + * 教育程度 + */ + @TableField("educationDegree") + private Integer educationDegree; + + /** + * 绑定学校id + */ + @TableField("schoolId") + private Integer schoolId; + + /** + * 电话 + */ + private String phone; + + /** + * 微信号 + */ + @TableField("weChatID") + private String weChatID; + + /** + * 邮箱 + */ + private String email; + + /** + * 账号(中台管理的所有平台的账号均不显示在这里) + */ + private String account; + + /** + * 密码 + */ + private String password; + + /** + * 创建时间 + */ + @TableField("creationTime") + private String creationTime; + + /** + * 登陆次数 + */ + @TableField("logInNumber") + private Integer logInNumber; + + /** + * 性别(1、男 2、女) + */ + private Integer sex; + + /** + * 用户头像路径 + */ + @TableField("userAvatars") + private String userAvatars; + + /** + * 是否删除(0、未删除 1、已删除) + */ + private Integer isdel; + + /** + * 最后登陆时间 + */ + @TableField("lastLoginTime") + private String lastLoginTime; + + /** + * 绑定多个角色id + */ + @TableField("roleId") + private String roleId; + + /** + * 禁用状态(0未禁用1已禁用默认0) + */ + @TableField("disableAccount") + private Integer disableAccount; + + /** + * 所属院校id(绑定学校id) + */ + @TableField("schoolAppellationId") + private String schoolAppellationId; + + /** + * token + */ + private String token; + + /** + * 最后更新时间 + */ + @TableField("updateTime") + private Date updateTime; +} diff --git a/src/main/java/com/yipin/liuwanr/mapper/HrUserInfoMapper.java b/src/main/java/com/yipin/liuwanr/mapper/HrUserInfoMapper.java new file mode 100644 index 0000000..defd09d --- /dev/null +++ b/src/main/java/com/yipin/liuwanr/mapper/HrUserInfoMapper.java @@ -0,0 +1,18 @@ +package com.yipin.liuwanr.mapper; + +import com.yipin.liuwanr.entity.HrUserInfo; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + *

+ * 用户信息表 Mapper 接口 + *

+ * + * @author Qyq + * @since 2021-06-23 + */ +@Mapper +public interface HrUserInfoMapper extends BaseMapper { + +} diff --git a/src/main/java/com/yipin/liuwanr/service/IHrUserInfoService.java b/src/main/java/com/yipin/liuwanr/service/IHrUserInfoService.java new file mode 100644 index 0000000..879271b --- /dev/null +++ b/src/main/java/com/yipin/liuwanr/service/IHrUserInfoService.java @@ -0,0 +1,16 @@ +package com.yipin.liuwanr.service; + +import com.yipin.liuwanr.entity.HrUserInfo; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + *

+ * 用户信息表 服务类 + *

+ * + * @author Qyq + * @since 2021-06-23 + */ +public interface IHrUserInfoService extends IService { + +} diff --git a/src/main/java/com/yipin/liuwanr/service/impl/HrUserInfoServiceImpl.java b/src/main/java/com/yipin/liuwanr/service/impl/HrUserInfoServiceImpl.java new file mode 100644 index 0000000..0289d67 --- /dev/null +++ b/src/main/java/com/yipin/liuwanr/service/impl/HrUserInfoServiceImpl.java @@ -0,0 +1,20 @@ +package com.yipin.liuwanr.service.impl; + +import com.yipin.liuwanr.entity.HrUserInfo; +import com.yipin.liuwanr.mapper.HrUserInfoMapper; +import com.yipin.liuwanr.service.IHrUserInfoService; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.stereotype.Service; + +/** + *

+ * 用户信息表 服务实现类 + *

+ * + * @author Qyq + * @since 2021-06-23 + */ +@Service +public class HrUserInfoServiceImpl extends ServiceImpl implements IHrUserInfoService { + +} diff --git a/src/main/resources/mapper/tms/HrUserInfoMapper.xml b/src/main/resources/mapper/tms/HrUserInfoMapper.xml new file mode 100644 index 0000000..ccf75a8 --- /dev/null +++ b/src/main/resources/mapper/tms/HrUserInfoMapper.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +