派生自 projectDept/qhighschool

yn147
2023-05-10 96286178ee1c257c130cb2ad964a781f36c4eee5
src/main/java/com/qxueyou/scc/user/model/User.java
@@ -38,6 +38,19 @@
    @JsonIgnore
    private String createId;
    @Column(name = "SALT", nullable = false, length = 200)
    @JsonIgnore
    private String salt;
    public String getSalt() {
        return salt;
    }
    public void setSalt(String salt) {
        this.salt = salt;
    }
    /**
     * 创建时间
     */
@@ -144,6 +157,20 @@
    @Column(name = "IMEI", length = 255)
    private String imei;
    /**
     * 绑定账号ID
     */
    @Column(name = "OPENID", length = 255)
    private String openId;
    public String getOpenId() {
        return openId;
    }
    public void setOpenId(String openId) {
        this.openId = openId;
    }
    @ManyToMany(fetch = FetchType.LAZY, mappedBy = "users")
    @JsonIgnore
    private List<UserRole> roles;