You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
274 lines
7.4 KiB
274 lines
7.4 KiB
4 years ago
|
package com.hai.entity;
|
||
|
|
||
|
import java.io.Serializable;
|
||
|
import java.util.Date;
|
||
|
|
||
|
/**
|
||
|
* high_user
|
||
|
* @author
|
||
|
*/
|
||
|
/**
|
||
|
*
|
||
|
* 代码由工具生成
|
||
|
*
|
||
|
**/
|
||
|
public class HighUser implements Serializable {
|
||
|
/**
|
||
|
* 用户编号
|
||
|
*/
|
||
|
private Long id;
|
||
|
|
||
|
/**
|
||
|
* 头像
|
||
|
*/
|
||
|
private String headerImg;
|
||
|
|
||
|
/**
|
||
|
* 昵称
|
||
|
*/
|
||
|
private String name;
|
||
|
|
||
|
/**
|
||
|
* 手机号码
|
||
|
*/
|
||
|
private Long phone;
|
||
|
|
||
|
/**
|
||
|
* 登录密码
|
||
|
*/
|
||
|
private String password;
|
||
|
|
||
|
/**
|
||
|
* 性别:男或女
|
||
|
*/
|
||
|
private String sex;
|
||
|
|
||
|
/**
|
||
|
* 出生日期
|
||
|
*/
|
||
|
private Date birthdate;
|
||
|
|
||
|
/**
|
||
|
* 注册时间
|
||
|
*/
|
||
|
private Date regTime;
|
||
|
|
||
|
/**
|
||
|
* 用户金币
|
||
|
*/
|
||
|
private Integer gold;
|
||
|
|
||
|
/**
|
||
|
* 用户状态:0:不可用,1可用
|
||
|
*/
|
||
|
private Integer status;
|
||
|
|
||
|
private String openId;
|
||
|
|
||
|
private String ext1;
|
||
|
|
||
|
private String ext2;
|
||
|
|
||
|
private String ext3;
|
||
|
|
||
|
private String ext4;
|
||
|
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
|
||
|
public Long getId() {
|
||
|
return id;
|
||
|
}
|
||
|
|
||
|
public void setId(Long id) {
|
||
|
this.id = id;
|
||
|
}
|
||
|
|
||
|
public String getHeaderImg() {
|
||
|
return headerImg;
|
||
|
}
|
||
|
|
||
|
public void setHeaderImg(String headerImg) {
|
||
|
this.headerImg = headerImg;
|
||
|
}
|
||
|
|
||
|
public String getName() {
|
||
|
return name;
|
||
|
}
|
||
|
|
||
|
public void setName(String name) {
|
||
|
this.name = name;
|
||
|
}
|
||
|
|
||
|
public Long getPhone() {
|
||
|
return phone;
|
||
|
}
|
||
|
|
||
|
public void setPhone(Long phone) {
|
||
|
this.phone = phone;
|
||
|
}
|
||
|
|
||
|
public String getPassword() {
|
||
|
return password;
|
||
|
}
|
||
|
|
||
|
public void setPassword(String password) {
|
||
|
this.password = password;
|
||
|
}
|
||
|
|
||
|
public String getSex() {
|
||
|
return sex;
|
||
|
}
|
||
|
|
||
|
public void setSex(String sex) {
|
||
|
this.sex = sex;
|
||
|
}
|
||
|
|
||
|
public Date getBirthdate() {
|
||
|
return birthdate;
|
||
|
}
|
||
|
|
||
|
public void setBirthdate(Date birthdate) {
|
||
|
this.birthdate = birthdate;
|
||
|
}
|
||
|
|
||
|
public Date getRegTime() {
|
||
|
return regTime;
|
||
|
}
|
||
|
|
||
|
public void setRegTime(Date regTime) {
|
||
|
this.regTime = regTime;
|
||
|
}
|
||
|
|
||
|
public Integer getGold() {
|
||
|
return gold;
|
||
|
}
|
||
|
|
||
|
public void setGold(Integer gold) {
|
||
|
this.gold = gold;
|
||
|
}
|
||
|
|
||
|
public Integer getStatus() {
|
||
|
return status;
|
||
|
}
|
||
|
|
||
|
public void setStatus(Integer status) {
|
||
|
this.status = status;
|
||
|
}
|
||
|
|
||
|
public String getOpenId() {
|
||
|
return openId;
|
||
|
}
|
||
|
|
||
|
public void setOpenId(String openId) {
|
||
|
this.openId = openId;
|
||
|
}
|
||
|
|
||
|
public String getExt1() {
|
||
|
return ext1;
|
||
|
}
|
||
|
|
||
|
public void setExt1(String ext1) {
|
||
|
this.ext1 = ext1;
|
||
|
}
|
||
|
|
||
|
public String getExt2() {
|
||
|
return ext2;
|
||
|
}
|
||
|
|
||
|
public void setExt2(String ext2) {
|
||
|
this.ext2 = ext2;
|
||
|
}
|
||
|
|
||
|
public String getExt3() {
|
||
|
return ext3;
|
||
|
}
|
||
|
|
||
|
public void setExt3(String ext3) {
|
||
|
this.ext3 = ext3;
|
||
|
}
|
||
|
|
||
|
public String getExt4() {
|
||
|
return ext4;
|
||
|
}
|
||
|
|
||
|
public void setExt4(String ext4) {
|
||
|
this.ext4 = ext4;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public boolean equals(Object that) {
|
||
|
if (this == that) {
|
||
|
return true;
|
||
|
}
|
||
|
if (that == null) {
|
||
|
return false;
|
||
|
}
|
||
|
if (getClass() != that.getClass()) {
|
||
|
return false;
|
||
|
}
|
||
|
HighUser other = (HighUser) that;
|
||
|
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
||
|
&& (this.getHeaderImg() == null ? other.getHeaderImg() == null : this.getHeaderImg().equals(other.getHeaderImg()))
|
||
|
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
|
||
|
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
|
||
|
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
|
||
|
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
|
||
|
&& (this.getBirthdate() == null ? other.getBirthdate() == null : this.getBirthdate().equals(other.getBirthdate()))
|
||
|
&& (this.getRegTime() == null ? other.getRegTime() == null : this.getRegTime().equals(other.getRegTime()))
|
||
|
&& (this.getGold() == null ? other.getGold() == null : this.getGold().equals(other.getGold()))
|
||
|
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
|
||
|
&& (this.getOpenId() == null ? other.getOpenId() == null : this.getOpenId().equals(other.getOpenId()))
|
||
|
&& (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1()))
|
||
|
&& (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2()))
|
||
|
&& (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3()))
|
||
|
&& (this.getExt4() == null ? other.getExt4() == null : this.getExt4().equals(other.getExt4()));
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public int hashCode() {
|
||
|
final int prime = 31;
|
||
|
int result = 1;
|
||
|
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
||
|
result = prime * result + ((getHeaderImg() == null) ? 0 : getHeaderImg().hashCode());
|
||
|
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
|
||
|
result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
|
||
|
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
|
||
|
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
|
||
|
result = prime * result + ((getBirthdate() == null) ? 0 : getBirthdate().hashCode());
|
||
|
result = prime * result + ((getRegTime() == null) ? 0 : getRegTime().hashCode());
|
||
|
result = prime * result + ((getGold() == null) ? 0 : getGold().hashCode());
|
||
|
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
|
||
|
result = prime * result + ((getOpenId() == null) ? 0 : getOpenId().hashCode());
|
||
|
result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode());
|
||
|
result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode());
|
||
|
result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode());
|
||
|
result = prime * result + ((getExt4() == null) ? 0 : getExt4().hashCode());
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(getClass().getSimpleName());
|
||
|
sb.append(" [");
|
||
|
sb.append("Hash = ").append(hashCode());
|
||
|
sb.append(", id=").append(id);
|
||
|
sb.append(", headerImg=").append(headerImg);
|
||
|
sb.append(", name=").append(name);
|
||
|
sb.append(", phone=").append(phone);
|
||
|
sb.append(", password=").append(password);
|
||
|
sb.append(", sex=").append(sex);
|
||
|
sb.append(", birthdate=").append(birthdate);
|
||
|
sb.append(", regTime=").append(regTime);
|
||
|
sb.append(", gold=").append(gold);
|
||
|
sb.append(", status=").append(status);
|
||
|
sb.append(", openId=").append(openId);
|
||
|
sb.append(", ext1=").append(ext1);
|
||
|
sb.append(", ext2=").append(ext2);
|
||
|
sb.append(", ext3=").append(ext3);
|
||
|
sb.append(", ext4=").append(ext4);
|
||
|
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||
|
sb.append("]");
|
||
|
return sb.toString();
|
||
|
}
|
||
|
}
|