|
package com.ishop.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:EB_PRODUCT *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class EbProduct extends BasePo<EbProduct> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Integer merId = null;
|
@JsonIgnore
|
protected boolean isset_merId = false;
|
|
private String image = null;
|
@JsonIgnore
|
protected boolean isset_image = false;
|
|
private String flatPattern = null;
|
@JsonIgnore
|
protected boolean isset_flatPattern = false;
|
|
private String sliderImage = null;
|
@JsonIgnore
|
protected boolean isset_sliderImage = false;
|
|
private String name = null;
|
@JsonIgnore
|
protected boolean isset_name = false;
|
|
private String intro = null;
|
@JsonIgnore
|
protected boolean isset_intro = false;
|
|
private String keyword = null;
|
@JsonIgnore
|
protected boolean isset_keyword = false;
|
|
private String cateId = null;
|
@JsonIgnore
|
protected boolean isset_cateId = false;
|
|
private Integer brandId = null;
|
@JsonIgnore
|
protected boolean isset_brandId = false;
|
|
private Integer categoryId = null;
|
@JsonIgnore
|
protected boolean isset_categoryId = false;
|
|
private String guaranteeIds = null;
|
@JsonIgnore
|
protected boolean isset_guaranteeIds = false;
|
|
private Double price = null;
|
@JsonIgnore
|
protected boolean isset_price = false;
|
|
private Double vipPrice = null;
|
@JsonIgnore
|
protected boolean isset_vipPrice = false;
|
|
private Double otPrice = null;
|
@JsonIgnore
|
protected boolean isset_otPrice = false;
|
|
private String unitName = null;
|
@JsonIgnore
|
protected boolean isset_unitName = false;
|
|
private Integer sales = null;
|
@JsonIgnore
|
protected boolean isset_sales = false;
|
|
private Integer stock = null;
|
@JsonIgnore
|
protected boolean isset_stock = false;
|
|
private Double cost = null;
|
@JsonIgnore
|
protected boolean isset_cost = false;
|
|
private Integer ficti = null;
|
@JsonIgnore
|
protected boolean isset_ficti = false;
|
|
private Integer browse = null;
|
@JsonIgnore
|
protected boolean isset_browse = false;
|
|
private String codePath = null;
|
@JsonIgnore
|
protected boolean isset_codePath = false;
|
|
private String soureLink = null;
|
@JsonIgnore
|
protected boolean isset_soureLink = false;
|
|
private String videoLink = null;
|
@JsonIgnore
|
protected boolean isset_videoLink = false;
|
|
private Integer tempId = null;
|
@JsonIgnore
|
protected boolean isset_tempId = false;
|
|
private Integer sort = null;
|
@JsonIgnore
|
protected boolean isset_sort = false;
|
|
private Integer rankNum = null;
|
@JsonIgnore
|
protected boolean isset_rankNum = false;
|
|
private Integer specType = null;
|
@JsonIgnore
|
protected boolean isset_specType = false;
|
|
private Integer isRecycle = null;
|
@JsonIgnore
|
protected boolean isset_isRecycle = false;
|
|
private Integer isSub = null;
|
@JsonIgnore
|
protected boolean isset_isSub = false;
|
|
private Integer isShow = null;
|
@JsonIgnore
|
protected boolean isset_isShow = false;
|
|
private Integer auditStatus = null;
|
@JsonIgnore
|
protected boolean isset_auditStatus = false;
|
|
private Integer isAudit = null;
|
@JsonIgnore
|
protected boolean isset_isAudit = false;
|
|
private String reason = null;
|
@JsonIgnore
|
protected boolean isset_reason = false;
|
|
private Integer isDel = null;
|
@JsonIgnore
|
protected boolean isset_isDel = false;
|
|
private Long createTime = null;
|
@JsonIgnore
|
protected boolean isset_createTime = false;
|
|
private Long updateTime = null;
|
@JsonIgnore
|
protected boolean isset_updateTime = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public EbProduct() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public EbProduct(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 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 getImage() {
|
return this.image;
|
}
|
|
public void setImage(String image) {
|
this.image = image;
|
this.isset_image = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyImage() {
|
return this.image == null || this.image.length() == 0;
|
}
|
|
public String getFlatPattern() {
|
return this.flatPattern;
|
}
|
|
public void setFlatPattern(String flatPattern) {
|
this.flatPattern = flatPattern;
|
this.isset_flatPattern = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFlatPattern() {
|
return this.flatPattern == null || this.flatPattern.length() == 0;
|
}
|
|
public String getSliderImage() {
|
return this.sliderImage;
|
}
|
|
public void setSliderImage(String sliderImage) {
|
this.sliderImage = sliderImage;
|
this.isset_sliderImage = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySliderImage() {
|
return this.sliderImage == null || this.sliderImage.length() == 0;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
this.isset_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyName() {
|
return this.name == null || this.name.length() == 0;
|
}
|
|
public String getIntro() {
|
return this.intro;
|
}
|
|
public void setIntro(String intro) {
|
this.intro = intro;
|
this.isset_intro = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIntro() {
|
return this.intro == null || this.intro.length() == 0;
|
}
|
|
public String getKeyword() {
|
return this.keyword;
|
}
|
|
public void setKeyword(String keyword) {
|
this.keyword = keyword;
|
this.isset_keyword = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyKeyword() {
|
return this.keyword == null || this.keyword.length() == 0;
|
}
|
|
public String getCateId() {
|
return this.cateId;
|
}
|
|
public void setCateId(String cateId) {
|
this.cateId = cateId;
|
this.isset_cateId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCateId() {
|
return this.cateId == null || this.cateId.length() == 0;
|
}
|
|
public Integer getBrandId() {
|
return this.brandId;
|
}
|
|
public void setBrandId(Integer brandId) {
|
this.brandId = brandId;
|
this.isset_brandId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBrandId() {
|
return this.brandId == null;
|
}
|
|
public Integer getCategoryId() {
|
return this.categoryId;
|
}
|
|
public void setCategoryId(Integer categoryId) {
|
this.categoryId = categoryId;
|
this.isset_categoryId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCategoryId() {
|
return this.categoryId == null;
|
}
|
|
public String getGuaranteeIds() {
|
return this.guaranteeIds;
|
}
|
|
public void setGuaranteeIds(String guaranteeIds) {
|
this.guaranteeIds = guaranteeIds;
|
this.isset_guaranteeIds = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyGuaranteeIds() {
|
return this.guaranteeIds == null || this.guaranteeIds.length() == 0;
|
}
|
|
public Double getPrice() {
|
return this.price;
|
}
|
|
public void setPrice(Double price) {
|
this.price = price;
|
this.isset_price = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPrice() {
|
return this.price == null;
|
}
|
|
public Double getVipPrice() {
|
return this.vipPrice;
|
}
|
|
public void setVipPrice(Double vipPrice) {
|
this.vipPrice = vipPrice;
|
this.isset_vipPrice = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyVipPrice() {
|
return this.vipPrice == null;
|
}
|
|
public Double getOtPrice() {
|
return this.otPrice;
|
}
|
|
public void setOtPrice(Double otPrice) {
|
this.otPrice = otPrice;
|
this.isset_otPrice = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOtPrice() {
|
return this.otPrice == null;
|
}
|
|
public String getUnitName() {
|
return this.unitName;
|
}
|
|
public void setUnitName(String unitName) {
|
this.unitName = unitName;
|
this.isset_unitName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUnitName() {
|
return this.unitName == null || this.unitName.length() == 0;
|
}
|
|
public Integer getSales() {
|
return this.sales;
|
}
|
|
public void setSales(Integer sales) {
|
this.sales = sales;
|
this.isset_sales = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySales() {
|
return this.sales == null;
|
}
|
|
public Integer getStock() {
|
return this.stock;
|
}
|
|
public void setStock(Integer stock) {
|
this.stock = stock;
|
this.isset_stock = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStock() {
|
return this.stock == null;
|
}
|
|
public Double getCost() {
|
return this.cost;
|
}
|
|
public void setCost(Double cost) {
|
this.cost = cost;
|
this.isset_cost = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCost() {
|
return this.cost == null;
|
}
|
|
public Integer getFicti() {
|
return this.ficti;
|
}
|
|
public void setFicti(Integer ficti) {
|
this.ficti = ficti;
|
this.isset_ficti = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFicti() {
|
return this.ficti == null;
|
}
|
|
public Integer getBrowse() {
|
return this.browse;
|
}
|
|
public void setBrowse(Integer browse) {
|
this.browse = browse;
|
this.isset_browse = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBrowse() {
|
return this.browse == null;
|
}
|
|
public String getCodePath() {
|
return this.codePath;
|
}
|
|
public void setCodePath(String codePath) {
|
this.codePath = codePath;
|
this.isset_codePath = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCodePath() {
|
return this.codePath == null || this.codePath.length() == 0;
|
}
|
|
public String getSoureLink() {
|
return this.soureLink;
|
}
|
|
public void setSoureLink(String soureLink) {
|
this.soureLink = soureLink;
|
this.isset_soureLink = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySoureLink() {
|
return this.soureLink == null || this.soureLink.length() == 0;
|
}
|
|
public String getVideoLink() {
|
return this.videoLink;
|
}
|
|
public void setVideoLink(String videoLink) {
|
this.videoLink = videoLink;
|
this.isset_videoLink = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyVideoLink() {
|
return this.videoLink == null || this.videoLink.length() == 0;
|
}
|
|
public Integer getTempId() {
|
return this.tempId;
|
}
|
|
public void setTempId(Integer tempId) {
|
this.tempId = tempId;
|
this.isset_tempId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTempId() {
|
return this.tempId == null;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public void setSort(Integer sort) {
|
this.sort = sort;
|
this.isset_sort = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySort() {
|
return this.sort == null;
|
}
|
|
public Integer getRankNum() {
|
return this.rankNum;
|
}
|
|
public void setRankNum(Integer rankNum) {
|
this.rankNum = rankNum;
|
this.isset_rankNum = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyRankNum() {
|
return this.rankNum == null;
|
}
|
|
public Integer getSpecType() {
|
return this.specType;
|
}
|
|
public void setSpecType(Integer specType) {
|
this.specType = specType;
|
this.isset_specType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySpecType() {
|
return this.specType == null;
|
}
|
|
public Integer getIsRecycle() {
|
return this.isRecycle;
|
}
|
|
public void setIsRecycle(Integer isRecycle) {
|
this.isRecycle = isRecycle;
|
this.isset_isRecycle = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsRecycle() {
|
return this.isRecycle == null;
|
}
|
|
public Integer getIsSub() {
|
return this.isSub;
|
}
|
|
public void setIsSub(Integer isSub) {
|
this.isSub = isSub;
|
this.isset_isSub = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsSub() {
|
return this.isSub == null;
|
}
|
|
public Integer getIsShow() {
|
return this.isShow;
|
}
|
|
public void setIsShow(Integer isShow) {
|
this.isShow = isShow;
|
this.isset_isShow = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsShow() {
|
return this.isShow == null;
|
}
|
|
public Integer getAuditStatus() {
|
return this.auditStatus;
|
}
|
|
public void setAuditStatus(Integer auditStatus) {
|
this.auditStatus = auditStatus;
|
this.isset_auditStatus = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAuditStatus() {
|
return this.auditStatus == null;
|
}
|
|
public Integer getIsAudit() {
|
return this.isAudit;
|
}
|
|
public void setIsAudit(Integer isAudit) {
|
this.isAudit = isAudit;
|
this.isset_isAudit = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsAudit() {
|
return this.isAudit == null;
|
}
|
|
public String getReason() {
|
return this.reason;
|
}
|
|
public void setReason(String reason) {
|
this.reason = reason;
|
this.isset_reason = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyReason() {
|
return this.reason == null || this.reason.length() == 0;
|
}
|
|
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 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("merId=").append(this.merId)
|
.append("image=").append(this.image)
|
.append("flatPattern=").append(this.flatPattern)
|
.append("sliderImage=").append(this.sliderImage)
|
.append("name=").append(this.name)
|
.append("intro=").append(this.intro)
|
.append("keyword=").append(this.keyword)
|
.append("cateId=").append(this.cateId)
|
.append("brandId=").append(this.brandId)
|
.append("categoryId=").append(this.categoryId)
|
.append("guaranteeIds=").append(this.guaranteeIds)
|
.append("price=").append(this.price)
|
.append("vipPrice=").append(this.vipPrice)
|
.append("otPrice=").append(this.otPrice)
|
.append("unitName=").append(this.unitName)
|
.append("sales=").append(this.sales)
|
.append("stock=").append(this.stock)
|
.append("cost=").append(this.cost)
|
.append("ficti=").append(this.ficti)
|
.append("browse=").append(this.browse)
|
.append("codePath=").append(this.codePath)
|
.append("soureLink=").append(this.soureLink)
|
.append("videoLink=").append(this.videoLink)
|
.append("tempId=").append(this.tempId)
|
.append("sort=").append(this.sort)
|
.append("rankNum=").append(this.rankNum)
|
.append("specType=").append(this.specType)
|
.append("isRecycle=").append(this.isRecycle)
|
.append("isSub=").append(this.isSub)
|
.append("isShow=").append(this.isShow)
|
.append("auditStatus=").append(this.auditStatus)
|
.append("isAudit=").append(this.isAudit)
|
.append("reason=").append(this.reason)
|
.append("isDel=").append(this.isDel)
|
.append("createTime=").append(this.createTime)
|
.append("updateTime=").append(this.updateTime)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public EbProduct $clone() {
|
EbProduct eb_product = new EbProduct();
|
|
// 数据库名称
|
//eb_product.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
eb_product.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_merId) {
|
eb_product.setMerId(this.getMerId());
|
}
|
if (this.isset_image) {
|
eb_product.setImage(this.getImage());
|
}
|
if (this.isset_flatPattern) {
|
eb_product.setFlatPattern(this.getFlatPattern());
|
}
|
if (this.isset_sliderImage) {
|
eb_product.setSliderImage(this.getSliderImage());
|
}
|
if (this.isset_name) {
|
eb_product.setName(this.getName());
|
}
|
if (this.isset_intro) {
|
eb_product.setIntro(this.getIntro());
|
}
|
if (this.isset_keyword) {
|
eb_product.setKeyword(this.getKeyword());
|
}
|
if (this.isset_cateId) {
|
eb_product.setCateId(this.getCateId());
|
}
|
if (this.isset_brandId) {
|
eb_product.setBrandId(this.getBrandId());
|
}
|
if (this.isset_categoryId) {
|
eb_product.setCategoryId(this.getCategoryId());
|
}
|
if (this.isset_guaranteeIds) {
|
eb_product.setGuaranteeIds(this.getGuaranteeIds());
|
}
|
if (this.isset_price) {
|
eb_product.setPrice(this.getPrice());
|
}
|
if (this.isset_vipPrice) {
|
eb_product.setVipPrice(this.getVipPrice());
|
}
|
if (this.isset_otPrice) {
|
eb_product.setOtPrice(this.getOtPrice());
|
}
|
if (this.isset_unitName) {
|
eb_product.setUnitName(this.getUnitName());
|
}
|
if (this.isset_sales) {
|
eb_product.setSales(this.getSales());
|
}
|
if (this.isset_stock) {
|
eb_product.setStock(this.getStock());
|
}
|
if (this.isset_cost) {
|
eb_product.setCost(this.getCost());
|
}
|
if (this.isset_ficti) {
|
eb_product.setFicti(this.getFicti());
|
}
|
if (this.isset_browse) {
|
eb_product.setBrowse(this.getBrowse());
|
}
|
if (this.isset_codePath) {
|
eb_product.setCodePath(this.getCodePath());
|
}
|
if (this.isset_soureLink) {
|
eb_product.setSoureLink(this.getSoureLink());
|
}
|
if (this.isset_videoLink) {
|
eb_product.setVideoLink(this.getVideoLink());
|
}
|
if (this.isset_tempId) {
|
eb_product.setTempId(this.getTempId());
|
}
|
if (this.isset_sort) {
|
eb_product.setSort(this.getSort());
|
}
|
if (this.isset_rankNum) {
|
eb_product.setRankNum(this.getRankNum());
|
}
|
if (this.isset_specType) {
|
eb_product.setSpecType(this.getSpecType());
|
}
|
if (this.isset_isRecycle) {
|
eb_product.setIsRecycle(this.getIsRecycle());
|
}
|
if (this.isset_isSub) {
|
eb_product.setIsSub(this.getIsSub());
|
}
|
if (this.isset_isShow) {
|
eb_product.setIsShow(this.getIsShow());
|
}
|
if (this.isset_auditStatus) {
|
eb_product.setAuditStatus(this.getAuditStatus());
|
}
|
if (this.isset_isAudit) {
|
eb_product.setIsAudit(this.getIsAudit());
|
}
|
if (this.isset_reason) {
|
eb_product.setReason(this.getReason());
|
}
|
if (this.isset_isDel) {
|
eb_product.setIsDel(this.getIsDel());
|
}
|
if (this.isset_createTime) {
|
eb_product.setCreateTime(this.getCreateTime());
|
}
|
if (this.isset_updateTime) {
|
eb_product.setUpdateTime(this.getUpdateTime());
|
}
|
return eb_product;
|
}
|
}
|