190 lines
3.9 KiB
Java
190 lines
3.9 KiB
Java
package com.ruoyi.system.domain;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
/**
|
|
* 微信用户对象 sys_wx_user
|
|
*
|
|
* @author luqj
|
|
* @date 2021-10-28
|
|
*/
|
|
@TableName(value = "sys_wx_user")
|
|
public class SysWxUserPlus implements Serializable
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 微信openid */
|
|
private String id;
|
|
/** 昵称 */
|
|
@Excel(name = "昵称")
|
|
private String nickname;
|
|
/** 用户id */
|
|
@Excel(name = "用户id")
|
|
private Long userId;
|
|
/** 电话号码 */
|
|
@Excel(name = "电话号码")
|
|
private String phone;
|
|
/** appId */
|
|
@Excel(name = "appId")
|
|
private String appId;
|
|
/** session_key */
|
|
@Excel(name = "session_key")
|
|
private String sessionKey;
|
|
/** 类型 */
|
|
@Excel(name = "类型")
|
|
private Integer type;
|
|
/** 状态 */
|
|
@Excel(name = "状态")
|
|
private Integer status;
|
|
/** unionid */
|
|
@Excel(name = "unionid")
|
|
private String unionId;
|
|
/** 创建时间 */
|
|
private Date createTime;
|
|
/** 头像 */
|
|
@Excel(name = "头像")
|
|
private String avatar;
|
|
|
|
private transient String token;
|
|
|
|
private transient String username;
|
|
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
|
|
public void setId(String id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public String getToken() {
|
|
return token;
|
|
}
|
|
|
|
public void setToken(String token) {
|
|
this.token = token;
|
|
}
|
|
|
|
public String getId()
|
|
{
|
|
return id;
|
|
}
|
|
public void setNickname(String nickname)
|
|
{
|
|
this.nickname = nickname;
|
|
}
|
|
|
|
public String getNickname()
|
|
{
|
|
return nickname;
|
|
}
|
|
public void setUserId(Long userId)
|
|
{
|
|
this.userId = userId;
|
|
}
|
|
|
|
public Long getUserId()
|
|
{
|
|
return userId;
|
|
}
|
|
public void setPhone(String phone)
|
|
{
|
|
this.phone = phone;
|
|
}
|
|
|
|
public String getPhone()
|
|
{
|
|
return phone;
|
|
}
|
|
public void setAppId(String appId)
|
|
{
|
|
this.appId = appId;
|
|
}
|
|
|
|
public String getAppId()
|
|
{
|
|
return appId;
|
|
}
|
|
public void setSessionKey(String sessionKey)
|
|
{
|
|
this.sessionKey = sessionKey;
|
|
}
|
|
|
|
public String getSessionKey()
|
|
{
|
|
return sessionKey;
|
|
}
|
|
public void setType(Integer type)
|
|
{
|
|
this.type = type;
|
|
}
|
|
|
|
public Integer getType()
|
|
{
|
|
return type;
|
|
}
|
|
public void setStatus(Integer status)
|
|
{
|
|
this.status = status;
|
|
}
|
|
|
|
public Integer getStatus()
|
|
{
|
|
return status;
|
|
}
|
|
public void setUnionId(String unionId)
|
|
{
|
|
this.unionId = unionId;
|
|
}
|
|
|
|
public String getUnionId()
|
|
{
|
|
return unionId;
|
|
}
|
|
public void setCreateTime(Date createTime)
|
|
{
|
|
this.createTime = createTime;
|
|
}
|
|
|
|
public Date getCreateTime()
|
|
{
|
|
return createTime;
|
|
}
|
|
public void setAvatar(String avatar)
|
|
{
|
|
this.avatar = avatar;
|
|
}
|
|
|
|
public String getAvatar()
|
|
{
|
|
return avatar;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("nickname", getNickname())
|
|
.append("userId", getUserId())
|
|
.append("phone", getPhone())
|
|
.append("appId", getAppId())
|
|
.append("sessionKey", getSessionKey())
|
|
.append("type", getType())
|
|
.append("status", getStatus())
|
|
.append("unionId", getUnionId())
|
|
.append("createTime", getCreateTime())
|
|
.append("avatar", getAvatar())
|
|
.toString();
|
|
}
|
|
}
|