package com.example.smart.bean;
|
|
|
import com.example.basecore.net.http.BaseResponseBean;
|
import com.google.gson.annotations.SerializedName;
|
|
import java.io.Serializable;
|
|
public class LoginBean extends BaseResponseBean<LoginBean> implements Serializable{
|
|
|
@SerializedName("token")
|
public String token;
|
|
|
@SerializedName("userInfo")
|
public UserInfo userInfo;
|
|
public static class UserInfo implements Serializable {
|
|
|
private String avatar;
|
private String createTime;
|
private String email;
|
private int id;
|
private String mobile;
|
private String nickname;
|
private String position;
|
private String state;
|
private String updateTime;
|
private String username;
|
|
public String getAvatar() {
|
return avatar;
|
}
|
|
public void setAvatar(String avatar) {
|
this.avatar = avatar;
|
}
|
|
public String getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(String createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getEmail() {
|
return email;
|
}
|
|
public void setEmail(String email) {
|
this.email = email;
|
}
|
|
public int getId() {
|
return id;
|
}
|
|
public void setId(int id) {
|
this.id = id;
|
}
|
|
public String getMobile() {
|
return mobile;
|
}
|
|
public void setMobile(String mobile) {
|
this.mobile = mobile;
|
}
|
|
public String getNickname() {
|
return nickname;
|
}
|
|
public void setNickname(String nickname) {
|
this.nickname = nickname;
|
}
|
|
public String getPosition() {
|
return position;
|
}
|
|
public void setPosition(String position) {
|
this.position = position;
|
}
|
|
public String getState() {
|
return state;
|
}
|
|
public void setState(String state) {
|
this.state = state;
|
}
|
|
public String getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(String updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getUsername() {
|
return username;
|
}
|
|
public void setUsername(String username) {
|
this.username = username;
|
}
|
}
|
|
}
|