package com.neuedu.manager;
public class UserInfo {
private int userid;//用户id
private String username;//用户名
private String password;//密码
private String nikename;//昵称
private int vip;//vip标识
private int outtime;//冻结标识
private double balance;//账户余额
public UserInfo(){
}
public UserInfo(int userid, String username, String password, String nikename, int vip, int outtime,
double balance) {
super();
this.userid = userid;
this.username = username;
this.password = password;
this.nikename = nikename;
this.vip = vip;
this.outtime = outtime;
this.balance = balance;
}
public int getUserid() {
return userid;
}
public void setUserid(int userid) {
this.userid = userid;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getNikename() {
return nikename;
}
public void setNikename(String nikename) {
this.nikename = nikename;
}
public int getVip() {
return vip;
}
public void setVip(int vip) {
this.vip = this.vip+vip;
}
public int getOuttime() {
return outtime;
}
public void setOuttime(int outtime) {
this.outtime = outtime;
}
public double getBalance() {
return balance;
}
public void setBalance(double balance) {
this.balance =this.balance+balance;
}
@Override
public String toString() {
return "UserInfo [userid=" + userid + ", username=" + username + ", password=" + password + ", nikename="
+ nikename + ", vip=" + vip + ", outtime=" + outtime + ", balance=" + balance + "]";
}
}