From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期一, 09 六月 2025 11:54:00 +0800 Subject: [PATCH] 6.9新增登录失败冻结逻辑 --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/model/dos/SysUserDO.java | 160 +++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 111 insertions(+), 49 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/model/dos/SysUserDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/model/dos/SysUserDO.java index 5ecb51f..ee2c060 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/model/dos/SysUserDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/model/dos/SysUserDO.java @@ -1,40 +1,29 @@ package com.panzhihua.service_user.model.dos; - -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 lombok.Data; - +import java.io.Serializable; import java.util.Date; -import java.util.List; + +import com.baomidou.mybatisplus.annotation.*; + +import lombok.Data; /** * 用户对象 sys_user - * + * * @author HAUGNHONGFA */ @Data @TableName("sys_user") -public class SysUserDO -{ +public class SysUserDO implements Serializable { private static final long serialVersionUID = 1L; /** * user_id */ - @TableId(type = IdType.AUTO) + @TableId(type = IdType.ASSIGN_ID) private Long userId; - /** - *会话密钥 - */ - private String sessionKey; - /** - *用户在开放平台的唯一标识符 - */ - private String unionid; + /** * 登录账户 */ @@ -49,6 +38,16 @@ * 微信小程序唯一标识 */ private String openid; + + /** + * 会话密钥 + */ + private String sessionKey; + + /** + * 用户在开放平台的唯一标识符 + */ + private String unionid; /** * 手机号 @@ -86,12 +85,12 @@ private Date birthday; /** - * image_url + * 头像 */ private String imageUrl; /** - * type 用户类型 1 小程序 2 运营平台 3 社区平台 + * 用户类型 1 小程序 2 运营平台 3 社区平台 */ private Integer type; @@ -101,12 +100,12 @@ private String job; /** - * 是否志愿者 1 是 2 否 + * 是否志愿者 0 否 1 是 */ private Integer isVolunteer; /** - * 是否党员 1 是 2 否 + * 是否党员 0 否 1 是 */ private Integer isPartymember; @@ -118,41 +117,104 @@ /** * 创建时间 */ - private Date createTime; + @TableField(fill = FieldFill.INSERT) + private Date createAt; /** - * last_login_time + * 最后登录时间 */ private Date lastLoginTime; - /** 部门对象 */ - @TableField(exist = false) - private SysDeptDO dept; + /** + * 标签id 多个用,隔开 + */ + private String tags; - /** 角色对象 */ - @TableField(exist = false) - private List<SysRoleDO> roles; + /** + * 家庭id + */ + private Long familyId; - /** 角色组 */ - @TableField(exist = false) - private Long[] roleIds; + /** + * 人脸采集照片url + */ + private String faceUrl; - /** 岗位组 */ - @TableField(exist = false) - private Long[] postIds; + /** + * 人脸采集审核状态 0 待审核 1 审核通过 2驳回 + */ + private Integer faceState; - public SysUserDO() - { + /** + * 驳回原因 + */ + private String rejectReson; + /** + * 小区id + */ + private Long areaId; + /** + * 连续登陆天数 每天凌晨更新 通过判断最后登录时间 + */ + private Integer continuousLandingDays; - } - public static boolean isAdmin(Long userId) - { - return userId != null && 1l== userId; - } - public boolean isAdmin() - { - return isAdmin(this.userId); - } + /** + * 小程序首页是否显示公告(1.是 2.否) + */ + private Integer isTips; + + /** + * 证件照(人像面)照片 + */ + private String cardPhotoFront; + /** + * 证件照(国徽面)照片 + */ + private String cardPhotoBack; + + /** + * 户口本照片 逗号隔开 + */ + private String familyBook; + /** + * 网格员工作状态(1.在岗 2.脱岗 3.已下班) + */ + private Integer workStatus; + /** + * 网格员上班开始时间 + */ + private Integer workStartTime; + /** + * 网格员上班结束时间 + */ + private Integer workEndTime; + /** + * 高龄认证显示提示(1.是 2.否) + */ + private Integer bigAgeTips; + /** + * 明文密码 + */ + private String plaintextPassword; + + private String loveIntegral; + private String playPwd; + + /** + * 街道id + */ + private Long streetId; + + /** + * 绑定单位 + */ + private String relationName; + + private String appId; + + private Integer isAccept; + + private Long bindingCheckUnitId; } -- Gitblit v1.7.1