package org.ohdsi.webapi.user.dto;

import java.io.Serializable;

public class UserDTO implements Serializable {
    
    private Long id;
    private String name;
    private String login;

    public UserDTO() {
    }

    // For deserialization of old expressions
    public UserDTO(String login) {
        this.login = login;
    }

    public String getName() {

        return name;
    }

    public void setName(final String name) {

        this.name = name;
    }

    public String getLogin() {

        return login;
    }

    public void setLogin(final String login) {

        this.login = login;
    }

    public Long getId() {

        return id;
    }

    public void setId(final Long id) {

        this.id = id;
    }
}
