What would be the smart way of doing this in Kotli...
# spring
y
What would be the smart way of doing this in Kotlin?
Copy code
@ManyToMany
    @JoinTable(name = "user_role", joinColumns = @JoinColumn(name = "user_id"), inverseJoinColumns = @JoinColumn(name = "role_id"))
    public Set<Role> getRoles() {
        return roles;
    }