疯狂的狮子li
2021-08-02 cfdeada3fdb415ea451fb3fb76b96a2e7977752c
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java
@@ -23,7 +23,7 @@
/**
 * 用户对象 sys_user
 *
 *
 * @author ruoyi
 */
@@ -62,7 +62,6 @@
    private String email;
    /** 手机号码 */
    @Size(min = 0, max = 11, message = "手机号码长度不能超过11个字符")
    @Excel(name = "手机号码")
    private String phonenumber;
@@ -73,11 +72,11 @@
    /** 用户头像 */
    private String avatar;
       /** 密码 */
    @JsonProperty
    /** 密码 */
    private String password;
    @JsonIgnore
    @JsonProperty
    public String getPassword() {
        return password;
    }
@@ -148,6 +147,10 @@
    @TableField(exist = false)
    private Long[] postIds;
   /** 角色ID */
   @TableField(exist = false)
   private Long roleId;
    public SysUser(Long userId)
    {
        this.userId = userId;