疯狂的狮子li
2021-07-13 55546dfc80bd2ec1be8786b19f53df4e1c1e44e5
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java
@@ -23,7 +23,7 @@
/**
 * 用户对象 sys_user
 *
 *
 * @author ruoyi
 */
@@ -74,9 +74,13 @@
    private String avatar;
    /** 密码 */
    private String password;
    @JsonIgnore
    @JsonProperty
    private String password;
    public String getPassword() {
        return password;
    }
    /** 盐加密 */
    private String salt;
@@ -98,6 +102,7 @@
    private Date loginDate;
    /** 创建者 */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    /** 创建时间 */
@@ -106,6 +111,7 @@
    private Date createTime;
    /** 更新者 */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    /** 更新时间 */
@@ -142,6 +148,10 @@
    @TableField(exist = false)
    private Long[] postIds;
   /** 角色ID */
   @TableField(exist = false)
   private Long roleId;
    public SysUser(Long userId)
    {
        this.userId = userId;