100 lines
1.6 KiB
Plaintext
100 lines
1.6 KiB
Plaintext
package com.stone.shop.model;
|
|
|
|
import cn.bmob.v3.BmobUser;
|
|
|
|
/**
|
|
* 用户实体类
|
|
* @date 2014-4-24
|
|
* @author Stone
|
|
*/
|
|
public class User extends BmobUser {
|
|
|
|
public static String userId;
|
|
|
|
|
|
|
|
private String sex; // 性别
|
|
private String phone; // 电话
|
|
private String qq; // QQ
|
|
private String school = "湖北工业大学"; // 学校
|
|
private String cademy; // 学院
|
|
private String dorPart; // 校区
|
|
private String dorNum; // 寝室号
|
|
private String state = "未登陆"; // 登录状态
|
|
private String type = "普通用户"; // 用户类型(普通用户、黑名单、中奖者)
|
|
//private BmobFile picUser; // 头像
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getSex() {
|
|
return sex;
|
|
}
|
|
|
|
public void setSex(String sex) {
|
|
this.sex = sex;
|
|
}
|
|
|
|
public String getPhone() {
|
|
return phone;
|
|
}
|
|
|
|
public void setPhone(String phone) {
|
|
this.phone = phone;
|
|
}
|
|
|
|
public String getQQ() {
|
|
return qq;
|
|
}
|
|
|
|
public void setQQ(String qq) {
|
|
this.qq = qq;
|
|
}
|
|
|
|
public String getSchool() {
|
|
return school;
|
|
}
|
|
|
|
public void setSchool(String school) {
|
|
this.school = school;
|
|
}
|
|
|
|
public String getCademy() {
|
|
return cademy;
|
|
}
|
|
|
|
public void setCademy(String cademy) {
|
|
this.cademy = cademy;
|
|
}
|
|
|
|
public String getDorPart() {
|
|
return dorPart;
|
|
}
|
|
|
|
public void setDorPart(String dorPart) {
|
|
this.dorPart = dorPart;
|
|
}
|
|
|
|
public String getDorNum() {
|
|
return dorNum;
|
|
}
|
|
|
|
public void setDorNum(String dorNum) {
|
|
this.dorNum = dorNum;
|
|
}
|
|
|
|
public String getState() {
|
|
return state;
|
|
}
|
|
|
|
public void setState(String state) {
|
|
this.state = state;
|
|
}
|
|
|
|
}
|