@@ -0,0 +1,2326 @@
+package org.itevents.model;%0A%0Aimport javax.xml.bind.annotation.*;%0Aimport java.io.Serializable;%0A%0A@XmlRootElement(name = %22user%22)%0A@XmlAccessorType(XmlAccessType.NONE)%0A@XmlType(propOrder = %7B%22id%22, %22login%22, %22password%22, %22roles_id%22%7D)%0A%0Apublic class User implements Serializable %7B%0A%0A    private static final long serialVersionUID = 1L;%0A%0A    @XmlElement%0A    private int id;%0A    @XmlElement%0A    private String login;%0A    @XmlElement%0A    private String password;%0A    @XmlElement%0A    private int roles_id;%0A%0A    public User() %7B%0A    %7D%0A%0A    public User(int id, String login, String password, int roles_id) %7B%0A        this.id = id;%0A        this.login = login;%0A        this.password = password;%0A        this.roles_id = roles_id;%0A    %7D%0A%0A    public int getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(int id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public String getLogin() %7B%0A        return login;%0A    %7D%0A%0A    public void setLogin(String login) %7B%0A        this.login = login;%0A    %7D%0A%0A    public String getPassword() %7B%0A        return password;%0A    %7D%0A%0A    public void setPassword(String password) %7B%0A        this.password = password;%0A    %7D%0A%0A    public int getRoles_id() %7B%0A        return roles_id;%0A    %7D%0A%0A    public void setRoles_id(int roles_id) %7B%0A        this.roles_id = roles_id;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        final StringBuilder sb = new StringBuilder(%22User %22);%0A        sb.append(%22id=%22).append(this.id);%0A        sb.append(%22, login=%22).append(this.login);%0A        sb.append(%22, password=%22).append(this.password);%0A        sb.append(%22, roles_id=%22).append(this.roles_id);%0A        return sb.toString();%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A%0A        User user = (User) o;%0A%0A        if (id != user.id) return false;%0A        if (login != null ? !login.equals(user.login) : user.login != null) return false;%0A        if (password != null ? !password.equals(user.password) : user.password != null) return false;%0A        return roles_id == user.roles_id;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        int result = id %5E (id %3E%3E%3E 32) + roles_id %5E (roles_id %3E%3E%3E 32);%0A        result = 31 * result + login.hashCode();%0A        result = 31 * result + password.hashCode();%0A%0A        return result;%0A    %7D%0A%7D%0A%0A

add class User