package portal.server.users;

import javax.persistence.*;

import org.apache.commons.lang.StringUtils;

@Entity
@Table(name = "USER")
public class User {

    @Id
    @Column(name = "ID")
    protected String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = StringUtils.trimToNull(id);
    }
    
    @Column(name = "EMAIL")
    private String email;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = StringUtils.trimToNull(email);
    }

}
