package com.hai.entity; import com.hai.model.UserModel; import java.io.Serializable; import java.util.Date; /** * high_user * @author */ /** * * 代码由工具生成 * **/ public class HighUser extends UserModel implements Serializable { /** * 用户编号 */ private Long id; /** * 头像 */ private String headerImg; /** * 昵称 */ private String name; /** * 手机号码 */ private String 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 openIdH5; /** * 微信·开放平台 */ private String unionId; /** * 银联用户唯一标识 */ private String unionOpenId; /** * 银联统一用户标识 */ private String unionUnionId; /** * 是否代理商 */ private Boolean isAgent; /** * 用户信息完整状态 0:完整 1:需要填写用户信息 2:需要填写手机号 */ private Integer infoCompleteStatus; 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 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 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 getOpenIdH5() { return openIdH5; } public void setOpenIdH5(String openIdH5) { this.openIdH5 = openIdH5; } public String getUnionId() { return unionId; } public void setUnionId(String unionId) { this.unionId = unionId; } public String getUnionOpenId() { return unionOpenId; } public void setUnionOpenId(String unionOpenId) { this.unionOpenId = unionOpenId; } public String getUnionUnionId() { return unionUnionId; } public void setUnionUnionId(String unionUnionId) { this.unionUnionId = unionUnionId; } public Boolean getIsAgent() { return isAgent; } public void setIsAgent(Boolean isAgent) { this.isAgent = isAgent; } public Integer getInfoCompleteStatus() { return infoCompleteStatus; } public void setInfoCompleteStatus(Integer infoCompleteStatus) { this.infoCompleteStatus = infoCompleteStatus; } 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.getOpenIdH5() == null ? other.getOpenIdH5() == null : this.getOpenIdH5().equals(other.getOpenIdH5())) && (this.getUnionId() == null ? other.getUnionId() == null : this.getUnionId().equals(other.getUnionId())) && (this.getUnionOpenId() == null ? other.getUnionOpenId() == null : this.getUnionOpenId().equals(other.getUnionOpenId())) && (this.getUnionUnionId() == null ? other.getUnionUnionId() == null : this.getUnionUnionId().equals(other.getUnionUnionId())) && (this.getIsAgent() == null ? other.getIsAgent() == null : this.getIsAgent().equals(other.getIsAgent())) && (this.getInfoCompleteStatus() == null ? other.getInfoCompleteStatus() == null : this.getInfoCompleteStatus().equals(other.getInfoCompleteStatus())) && (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 + ((getOpenIdH5() == null) ? 0 : getOpenIdH5().hashCode()); result = prime * result + ((getUnionId() == null) ? 0 : getUnionId().hashCode()); result = prime * result + ((getUnionOpenId() == null) ? 0 : getUnionOpenId().hashCode()); result = prime * result + ((getUnionUnionId() == null) ? 0 : getUnionUnionId().hashCode()); result = prime * result + ((getIsAgent() == null) ? 0 : getIsAgent().hashCode()); result = prime * result + ((getInfoCompleteStatus() == null) ? 0 : getInfoCompleteStatus().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(", openIdH5=").append(openIdH5); sb.append(", unionId=").append(unionId); sb.append(", unionOpenId=").append(unionOpenId); sb.append(", unionUnionId=").append(unionUnionId); sb.append(", isAgent=").append(isAgent); sb.append(", infoCompleteStatus=").append(infoCompleteStatus); 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(); } }