|
@@ -0,0 +1,201 @@
|
|
|
+package com.leromro.common.core.domain.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.leromro.common.annotation.Excel;
|
|
|
+import com.leromro.common.annotation.Excels;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+@Data
|
|
|
+public class SysUserVO {
|
|
|
+ /** 用户ID */
|
|
|
+ @Excel(name = "用户序号", type = Excel.Type.EXPORT, cellType = Excel.ColumnType.NUMERIC, prompt = "用户编号")
|
|
|
+ @TableId(value = "user_id", type = IdType.AUTO)
|
|
|
+ private Long userId;
|
|
|
+
|
|
|
+ /** 用户OpenID */
|
|
|
+ private String userOpenId;
|
|
|
+ /** 部门ID */
|
|
|
+ @Excel(name = "部门编号", type = Excel.Type.IMPORT)
|
|
|
+ private Long deptId;
|
|
|
+
|
|
|
+ /** 用户账号 */
|
|
|
+ @Excel(name = "登录名称")
|
|
|
+ private String userName;
|
|
|
+
|
|
|
+ /** 用户昵称 */
|
|
|
+ @Excel(name = "用户名称")
|
|
|
+ private String nickName;
|
|
|
+
|
|
|
+ public String getAreaType() {
|
|
|
+ return areaType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAreaType(String areaType) {
|
|
|
+ this.areaType = areaType;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Excel(name = "区域类型")
|
|
|
+ private String areaType;
|
|
|
+
|
|
|
+ /** 用户邮箱 */
|
|
|
+ @Excel(name = "用户邮箱")
|
|
|
+ private String email;
|
|
|
+
|
|
|
+ /** 手机号码 */
|
|
|
+ @Excel(name = "手机号码", cellType = Excel.ColumnType.TEXT)
|
|
|
+ private String phonenumber;
|
|
|
+
|
|
|
+ /** 用户性别 */
|
|
|
+ @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
|
|
|
+ private String sex;
|
|
|
+
|
|
|
+ /** 用户性别 */
|
|
|
+ @Excel(name = "用户年龄")
|
|
|
+ private String age;
|
|
|
+
|
|
|
+
|
|
|
+ /** 用户头像 */
|
|
|
+ private String avatar;
|
|
|
+
|
|
|
+ /** 密码 */
|
|
|
+ private String password;
|
|
|
+
|
|
|
+ /** 帐号状态(0正常 1停用) */
|
|
|
+ @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
|
|
|
+ private String status;
|
|
|
+
|
|
|
+ /** 删除标志(0代表存在 2代表删除) */
|
|
|
+ private String delFlag;
|
|
|
+
|
|
|
+ /** 最后登录IP */
|
|
|
+ @Excel(name = "最后登录IP", type = Excel.Type.EXPORT)
|
|
|
+ private String loginIp;
|
|
|
+
|
|
|
+ /** 最后登录时间 */
|
|
|
+ @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
|
|
|
+ private Date loginDate;
|
|
|
+
|
|
|
+ /** 部门对象 */
|
|
|
+ @Excels({
|
|
|
+ @Excel(name = "部门名称", targetAttr = "deptName", type = Excel.Type.EXPORT),
|
|
|
+ @Excel(name = "部门负责人", targetAttr = "leader", type = Excel.Type.EXPORT)
|
|
|
+ })
|
|
|
+ @TableField(exist = false)
|
|
|
+ private SysDept dept;
|
|
|
+
|
|
|
+ /** 角色对象 */
|
|
|
+ @TableField(exist = false)
|
|
|
+ private List<SysRole> roles;
|
|
|
+
|
|
|
+ /** 角色组 */
|
|
|
+ @TableField(exist = false)
|
|
|
+ private Long[] roleIds;
|
|
|
+
|
|
|
+ /** 岗位组 */
|
|
|
+ @TableField(exist = false)
|
|
|
+ private Long[] postIds;
|
|
|
+
|
|
|
+ /** 角色ID */
|
|
|
+ @TableField(exist = false)
|
|
|
+ private Long roleId;
|
|
|
+
|
|
|
+ /** 平台 web:0 小程序:1 **/
|
|
|
+
|
|
|
+ private Integer userPlatform ;
|
|
|
+
|
|
|
+ /** 1 用户 2 志愿者 **/
|
|
|
+ private Integer userOrWorker;
|
|
|
+
|
|
|
+ @TableField("province_code")
|
|
|
+ @ApiModelProperty("省级区划编号")
|
|
|
+ private String provinceCode;
|
|
|
+
|
|
|
+ /** 省级名称 */
|
|
|
+ @TableField("province_name")
|
|
|
+ @ApiModelProperty("省级名称")
|
|
|
+ private String provinceName;
|
|
|
+
|
|
|
+ /** 市级编号 */
|
|
|
+ @TableField("city_code")
|
|
|
+ @ApiModelProperty("市级编号")
|
|
|
+ private String cityCode;
|
|
|
+
|
|
|
+ /** 市级名称 */
|
|
|
+ @TableField("city_name")
|
|
|
+ @ApiModelProperty("市级名称")
|
|
|
+ private String cityName;
|
|
|
+
|
|
|
+ /** 区级区划编号 */
|
|
|
+ @TableField("district_code")
|
|
|
+ @ApiModelProperty("区级区划编号")
|
|
|
+ private String districtCode;
|
|
|
+
|
|
|
+ /** 区级名称 */
|
|
|
+ @TableField("district_name")
|
|
|
+ @ApiModelProperty("区级名称")
|
|
|
+ private String districtName;
|
|
|
+
|
|
|
+ @TableField("longitude")
|
|
|
+ @ApiModelProperty("经度")
|
|
|
+ private String longitude;
|
|
|
+
|
|
|
+ /** 详细地址 */
|
|
|
+ @TableField("latitude")
|
|
|
+ @ApiModelProperty("纬度")
|
|
|
+ private String latitude;
|
|
|
+
|
|
|
+ @TableField("name")
|
|
|
+ @ApiModelProperty("真实姓名")
|
|
|
+ private String name;
|
|
|
+
|
|
|
+ @TableField("id_card")
|
|
|
+ @ApiModelProperty("身份证号")
|
|
|
+ private String idCard;
|
|
|
+
|
|
|
+ @TableField("face_picture")
|
|
|
+ @ApiModelProperty("志愿者人脸照片")
|
|
|
+ private String facePicture;
|
|
|
+
|
|
|
+ @TableField("id_card_picture_front")
|
|
|
+ @ApiModelProperty("身份证正面照片")
|
|
|
+ private String idCardPictureFront;
|
|
|
+
|
|
|
+ @TableField("id_card_picture_back")
|
|
|
+ @ApiModelProperty("身份证背面照片")
|
|
|
+ private String idCardPictureBack;
|
|
|
+
|
|
|
+ @TableField("is_face_approve")
|
|
|
+ @ApiModelProperty("是否人脸核身0否1是")
|
|
|
+ private String isFaceApprove;
|
|
|
+
|
|
|
+ // 当前积分
|
|
|
+ private Long point;
|
|
|
+
|
|
|
+ // 冻结积分
|
|
|
+ private Long freezePoint;
|
|
|
+
|
|
|
+
|
|
|
+ // 推荐用户id
|
|
|
+ private Long referrerUserId;
|
|
|
+
|
|
|
+ // 推荐服务中心id
|
|
|
+ private Long referrerServiceCentreId;
|
|
|
+
|
|
|
+ // 归属服务中心id
|
|
|
+ private Long serviceCentreId;
|
|
|
+
|
|
|
+ // 推荐区域公司id
|
|
|
+ private Long referrerAreaId;
|
|
|
+
|
|
|
+ // 推荐区域公司id
|
|
|
+ private Long areaId;
|
|
|
+
|
|
|
+ // 推荐人姓名
|
|
|
+ private String referrerUserName;
|
|
|
+}
|