|
@@ -1,6 +1,7 @@
|
|
|
package com.gis.admin.entity.po;
|
|
|
|
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import com.gis.common.base.entity.po.BaseEntity;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
@@ -64,24 +65,28 @@ public class SysUserEntity extends BaseEntity implements Serializable {
|
|
|
@ApiModelProperty(value = "军衔等级")
|
|
|
private Integer level;
|
|
|
|
|
|
-// @JSONField(serialize = false)
|
|
|
+ @TableField(exist = false)
|
|
|
@Transient
|
|
|
@ApiModelProperty(value = "角色,sys_admin:系统管理员,sys_high:高级管理员, sys_normal:普通管理员, sys_visitor:游客")
|
|
|
private String roleKey;
|
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
@Transient
|
|
|
@ApiModelProperty(value = "角色id")
|
|
|
private Integer roleId;
|
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
@Transient
|
|
|
@ApiModelProperty(value = "角色名称")
|
|
|
private String roleName;
|
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
@Transient
|
|
|
@ApiModelProperty(value = "积分")
|
|
|
private Integer grade;
|
|
|
|
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
@Transient
|
|
|
@ApiModelProperty(value = "今日积分")
|
|
|
private Integer gradeToday;
|