派生自 projectDept/qhighschool

yn147
2023-04-13 e10efae34a92fdcb6451f1a6a823a72b8c394d43
src/main/java/com/qxueyou/scc/user/model/User.java
@@ -38,6 +38,19 @@
    @JsonIgnore
    private String createId;
    @Column(name = "SALT", nullable = false, length = 32)
    @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;