package com.twu.biblioteca.entity;

/**
 * Created by zhihuizhang on 7/19/15.
 */
public class User {
}

package com.twu.biblioteca.entity;

public class User {
    private String name;
    private String password;
    private String type;

    public User() {

    }

    public User(String name, String password, String type) {
        this.name = name;
        this.password = password;
        this.type = type;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}

complete User entity class