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.
148 lines
3.9 KiB
148 lines
3.9 KiB
4 years ago
|
package com.hai.entity;
|
||
|
|
||
|
import java.io.Serializable;
|
||
|
|
||
|
/**
|
||
|
* high_user_coupon
|
||
|
* @author
|
||
|
*/
|
||
|
/**
|
||
|
*
|
||
|
* 代码由工具生成
|
||
|
*
|
||
|
**/
|
||
|
public class HighUserCoupon implements Serializable {
|
||
|
/**
|
||
|
* 主键
|
||
|
*/
|
||
|
private Long id;
|
||
|
|
||
|
/**
|
||
|
* 用户id
|
||
|
*/
|
||
|
private String userId;
|
||
|
|
||
|
/**
|
||
|
* 昵称
|
||
|
*/
|
||
|
private String couponCodeId;
|
||
|
|
||
|
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 getUserId() {
|
||
|
return userId;
|
||
|
}
|
||
|
|
||
|
public void setUserId(String userId) {
|
||
|
this.userId = userId;
|
||
|
}
|
||
|
|
||
|
public String getCouponCodeId() {
|
||
|
return couponCodeId;
|
||
|
}
|
||
|
|
||
|
public void setCouponCodeId(String couponCodeId) {
|
||
|
this.couponCodeId = couponCodeId;
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
HighUserCoupon other = (HighUserCoupon) that;
|
||
|
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
||
|
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
|
||
|
&& (this.getCouponCodeId() == null ? other.getCouponCodeId() == null : this.getCouponCodeId().equals(other.getCouponCodeId()))
|
||
|
&& (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 + ((getUserId() == null) ? 0 : getUserId().hashCode());
|
||
|
result = prime * result + ((getCouponCodeId() == null) ? 0 : getCouponCodeId().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(", userId=").append(userId);
|
||
|
sb.append(", couponCodeId=").append(couponCodeId);
|
||
|
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();
|
||
|
}
|
||
|
}
|