package com.ruoyi.study.domain;
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.ruoyi.common.core.web.domain.BaseModel;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 用户表
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-04-26
|
*/
|
@Data
|
@TableName("t_user")
|
public class TUser extends BaseModel {
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户姓名
|
*/
|
private String name;
|
/**
|
* 账号
|
*/
|
private String account;
|
/**
|
* 电话
|
*/
|
private String phone;
|
/**
|
* 密码
|
*/
|
private String password;
|
/**
|
* 微信openId
|
*/
|
private String openId;
|
/**
|
* 生日
|
*/
|
private Date birthday;
|
/**
|
* 性别1男2女
|
*/
|
private Integer gender;
|
/**
|
* 用户头像
|
*/
|
private String headImg;
|
/**
|
* 积分
|
*/
|
private Integer integral;
|
/**
|
* 状态1正常 2冻结 3删除
|
*/
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
private Date insertTime;
|
/**
|
* 会员到期时间 字段未空 则不是会员
|
*/
|
private Date vipEndTime;
|
/**
|
* 充值会员时间 续费刷新该字段
|
*/
|
private Date vipPayTime;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
|
public String getOpenId() {
|
return openId;
|
}
|
|
public void setOpenId(String openId) {
|
this.openId = openId;
|
}
|
|
public Date getBirthday() {
|
return birthday;
|
}
|
|
public void setBirthday(Date birthday) {
|
this.birthday = birthday;
|
}
|
|
public Integer getGender() {
|
return gender;
|
}
|
|
public void setGender(Integer gender) {
|
this.gender = gender;
|
}
|
|
public String getHeadImg() {
|
return headImg;
|
}
|
|
public void setHeadImg(String headImg) {
|
this.headImg = headImg;
|
}
|
|
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Date getInsertTime() {
|
return insertTime;
|
}
|
|
public void setInsertTime(Date insertTime) {
|
this.insertTime = insertTime;
|
}
|
|
public Date getVipEndTime() {
|
return vipEndTime;
|
}
|
|
public void setVipEndTime(Date vipEndTime) {
|
this.vipEndTime = vipEndTime;
|
}
|
|
public Date getVipPayTime() {
|
return vipPayTime;
|
}
|
|
public void setVipPayTime(Date vipPayTime) {
|
this.vipPayTime = vipPayTime;
|
}
|
|
|
|
@Override
|
public String toString() {
|
return "TUser{" +
|
", id=" + id +
|
", name=" + name +
|
", account=" + account +
|
", phone=" + phone +
|
", password=" + password +
|
", openId=" + openId +
|
", birthday=" + birthday +
|
", gender=" + gender +
|
", headImg=" + headImg +
|
", integral=" + integral +
|
", state=" + state +
|
", insertTime=" + insertTime +
|
", vipEndTime=" + vipEndTime +
|
", vipPayTime=" + vipPayTime +
|
|
"}";
|
}
|
}
|