|
package com.ishop.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:EB_PRODUCT_REPLY *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class EbProductReply extends BasePo<EbProductReply> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long uid = null;
|
@JsonIgnore
|
protected boolean isset_uid = false;
|
|
private Integer merId = null;
|
@JsonIgnore
|
protected boolean isset_merId = false;
|
|
private String orderNo = null;
|
@JsonIgnore
|
protected boolean isset_orderNo = false;
|
|
private Long orderDetailId = null;
|
@JsonIgnore
|
protected boolean isset_orderDetailId = false;
|
|
private Long productId = null;
|
@JsonIgnore
|
protected boolean isset_productId = false;
|
|
private Integer attrValueId = null;
|
@JsonIgnore
|
protected boolean isset_attrValueId = false;
|
|
private String sku = null;
|
@JsonIgnore
|
protected boolean isset_sku = false;
|
|
private Integer star = null;
|
@JsonIgnore
|
protected boolean isset_star = false;
|
|
private String comment = null;
|
@JsonIgnore
|
protected boolean isset_comment = false;
|
|
private String pics = null;
|
@JsonIgnore
|
protected boolean isset_pics = false;
|
|
private String merchantReplyContent = null;
|
@JsonIgnore
|
protected boolean isset_merchantReplyContent = false;
|
|
private Long merchantReplyTime = null;
|
@JsonIgnore
|
protected boolean isset_merchantReplyTime = false;
|
|
private Integer isDel = null;
|
@JsonIgnore
|
protected boolean isset_isDel = false;
|
|
private Integer isReply = null;
|
@JsonIgnore
|
protected boolean isset_isReply = false;
|
|
private String nickname = null;
|
@JsonIgnore
|
protected boolean isset_nickname = false;
|
|
private String avatar = null;
|
@JsonIgnore
|
protected boolean isset_avatar = false;
|
|
private Long createTime = null;
|
@JsonIgnore
|
protected boolean isset_createTime = false;
|
|
private Long updateTime = null;
|
@JsonIgnore
|
protected boolean isset_updateTime = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public EbProductReply() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public EbProductReply(Long id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((Long) value);
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null;
|
}
|
|
public Long getUid() {
|
return this.uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
this.isset_uid = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUid() {
|
return this.uid == null;
|
}
|
|
public Integer getMerId() {
|
return this.merId;
|
}
|
|
public void setMerId(Integer merId) {
|
this.merId = merId;
|
this.isset_merId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMerId() {
|
return this.merId == null;
|
}
|
|
public String getOrderNo() {
|
return this.orderNo;
|
}
|
|
public void setOrderNo(String orderNo) {
|
this.orderNo = orderNo;
|
this.isset_orderNo = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOrderNo() {
|
return this.orderNo == null || this.orderNo.length() == 0;
|
}
|
|
public Long getOrderDetailId() {
|
return this.orderDetailId;
|
}
|
|
public void setOrderDetailId(Long orderDetailId) {
|
this.orderDetailId = orderDetailId;
|
this.isset_orderDetailId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOrderDetailId() {
|
return this.orderDetailId == null;
|
}
|
|
public Long getProductId() {
|
return this.productId;
|
}
|
|
public void setProductId(Long productId) {
|
this.productId = productId;
|
this.isset_productId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyProductId() {
|
return this.productId == null;
|
}
|
|
public Integer getAttrValueId() {
|
return this.attrValueId;
|
}
|
|
public void setAttrValueId(Integer attrValueId) {
|
this.attrValueId = attrValueId;
|
this.isset_attrValueId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAttrValueId() {
|
return this.attrValueId == null;
|
}
|
|
public String getSku() {
|
return this.sku;
|
}
|
|
public void setSku(String sku) {
|
this.sku = sku;
|
this.isset_sku = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySku() {
|
return this.sku == null || this.sku.length() == 0;
|
}
|
|
public Integer getStar() {
|
return this.star;
|
}
|
|
public void setStar(Integer star) {
|
this.star = star;
|
this.isset_star = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStar() {
|
return this.star == null;
|
}
|
|
public String getComment() {
|
return this.comment;
|
}
|
|
public void setComment(String comment) {
|
this.comment = comment;
|
this.isset_comment = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyComment() {
|
return this.comment == null || this.comment.length() == 0;
|
}
|
|
public String getPics() {
|
return this.pics;
|
}
|
|
public void setPics(String pics) {
|
this.pics = pics;
|
this.isset_pics = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPics() {
|
return this.pics == null || this.pics.length() == 0;
|
}
|
|
public String getMerchantReplyContent() {
|
return this.merchantReplyContent;
|
}
|
|
public void setMerchantReplyContent(String merchantReplyContent) {
|
this.merchantReplyContent = merchantReplyContent;
|
this.isset_merchantReplyContent = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMerchantReplyContent() {
|
return this.merchantReplyContent == null || this.merchantReplyContent.length() == 0;
|
}
|
|
public Long getMerchantReplyTime() {
|
return this.merchantReplyTime;
|
}
|
|
public void setMerchantReplyTime(Long merchantReplyTime) {
|
this.merchantReplyTime = merchantReplyTime;
|
this.isset_merchantReplyTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMerchantReplyTime() {
|
return this.merchantReplyTime == null;
|
}
|
|
public Integer getIsDel() {
|
return this.isDel;
|
}
|
|
public void setIsDel(Integer isDel) {
|
this.isDel = isDel;
|
this.isset_isDel = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsDel() {
|
return this.isDel == null;
|
}
|
|
public Integer getIsReply() {
|
return this.isReply;
|
}
|
|
public void setIsReply(Integer isReply) {
|
this.isReply = isReply;
|
this.isset_isReply = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsReply() {
|
return this.isReply == null;
|
}
|
|
public String getNickname() {
|
return this.nickname;
|
}
|
|
public void setNickname(String nickname) {
|
this.nickname = nickname;
|
this.isset_nickname = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyNickname() {
|
return this.nickname == null || this.nickname.length() == 0;
|
}
|
|
public String getAvatar() {
|
return this.avatar;
|
}
|
|
public void setAvatar(String avatar) {
|
this.avatar = avatar;
|
this.isset_avatar = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAvatar() {
|
return this.avatar == null || this.avatar.length() == 0;
|
}
|
|
public Long getCreateTime() {
|
return this.createTime;
|
}
|
|
public void setCreateTime(Long createTime) {
|
this.createTime = createTime;
|
this.isset_createTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreateTime() {
|
return this.createTime == null;
|
}
|
|
public Long getUpdateTime() {
|
return this.updateTime;
|
}
|
|
public void setUpdateTime(Long updateTime) {
|
this.updateTime = updateTime;
|
this.isset_updateTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUpdateTime() {
|
return this.updateTime == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("uid=").append(this.uid)
|
.append("merId=").append(this.merId)
|
.append("orderNo=").append(this.orderNo)
|
.append("orderDetailId=").append(this.orderDetailId)
|
.append("productId=").append(this.productId)
|
.append("attrValueId=").append(this.attrValueId)
|
.append("sku=").append(this.sku)
|
.append("star=").append(this.star)
|
.append("comment=").append(this.comment)
|
.append("pics=").append(this.pics)
|
.append("merchantReplyContent=").append(this.merchantReplyContent)
|
.append("merchantReplyTime=").append(this.merchantReplyTime)
|
.append("isDel=").append(this.isDel)
|
.append("isReply=").append(this.isReply)
|
.append("nickname=").append(this.nickname)
|
.append("avatar=").append(this.avatar)
|
.append("createTime=").append(this.createTime)
|
.append("updateTime=").append(this.updateTime)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public EbProductReply $clone() {
|
EbProductReply eb_product_reply = new EbProductReply();
|
|
// 数据库名称
|
//eb_product_reply.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
eb_product_reply.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_uid) {
|
eb_product_reply.setUid(this.getUid());
|
}
|
if (this.isset_merId) {
|
eb_product_reply.setMerId(this.getMerId());
|
}
|
if (this.isset_orderNo) {
|
eb_product_reply.setOrderNo(this.getOrderNo());
|
}
|
if (this.isset_orderDetailId) {
|
eb_product_reply.setOrderDetailId(this.getOrderDetailId());
|
}
|
if (this.isset_productId) {
|
eb_product_reply.setProductId(this.getProductId());
|
}
|
if (this.isset_attrValueId) {
|
eb_product_reply.setAttrValueId(this.getAttrValueId());
|
}
|
if (this.isset_sku) {
|
eb_product_reply.setSku(this.getSku());
|
}
|
if (this.isset_star) {
|
eb_product_reply.setStar(this.getStar());
|
}
|
if (this.isset_comment) {
|
eb_product_reply.setComment(this.getComment());
|
}
|
if (this.isset_pics) {
|
eb_product_reply.setPics(this.getPics());
|
}
|
if (this.isset_merchantReplyContent) {
|
eb_product_reply.setMerchantReplyContent(this.getMerchantReplyContent());
|
}
|
if (this.isset_merchantReplyTime) {
|
eb_product_reply.setMerchantReplyTime(this.getMerchantReplyTime());
|
}
|
if (this.isset_isDel) {
|
eb_product_reply.setIsDel(this.getIsDel());
|
}
|
if (this.isset_isReply) {
|
eb_product_reply.setIsReply(this.getIsReply());
|
}
|
if (this.isset_nickname) {
|
eb_product_reply.setNickname(this.getNickname());
|
}
|
if (this.isset_avatar) {
|
eb_product_reply.setAvatar(this.getAvatar());
|
}
|
if (this.isset_createTime) {
|
eb_product_reply.setCreateTime(this.getCreateTime());
|
}
|
if (this.isset_updateTime) {
|
eb_product_reply.setUpdateTime(this.getUpdateTime());
|
}
|
return eb_product_reply;
|
}
|
}
|