From 2c8b9868fe8c45320eb18fd5d6b51ec770c30610 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期六, 24 七月 2021 11:43:57 +0800 Subject: [PATCH] 注释用户实名认证请求公安接口 --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/model/dos/SysUserDO.java | 129 ++++++++++++++++++++++++++++-------------- 1 files changed, 85 insertions(+), 44 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..b41787d 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,24 +1,22 @@ 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 com.baomidou.mybatisplus.annotation.*; +import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import java.io.Serializable; import java.util.Date; import java.util.List; /** * 用户对象 sys_user - * + * * @author HAUGNHONGFA */ @Data @TableName("sys_user") -public class SysUserDO -{ +public class SysUserDO implements Serializable { private static final long serialVersionUID = 1L; @@ -27,14 +25,7 @@ */ @TableId(type = IdType.AUTO) private Long userId; - /** - *会话密钥 - */ - private String sessionKey; - /** - *用户在开放平台的唯一标识符 - */ - private String unionid; + /** * 登录账户 */ @@ -49,6 +40,16 @@ * 微信小程序唯一标识 */ private String openid; + + /** + * 会话密钥 + */ + private String sessionKey; + + /** + * 用户在开放平台的唯一标识符 + */ + private String unionid; /** * 手机号 @@ -86,12 +87,12 @@ private Date birthday; /** - * image_url + * 头像 */ private String imageUrl; /** - * type 用户类型 1 小程序 2 运营平台 3 社区平台 + * 用户类型 1 小程序 2 运营平台 3 社区平台 */ private Integer type; @@ -101,12 +102,12 @@ private String job; /** - * 是否志愿者 1 是 2 否 + * 是否志愿者 0 否 1 是 */ private Integer isVolunteer; /** - * 是否党员 1 是 2 否 + * 是否党员 0 否 1 是 */ private Integer isPartymember; @@ -118,41 +119,81 @@ /** * 创建时间 */ - 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; + } -- Gitblit v1.7.1