|
package com.ishop.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:EB_SECKILL_PRODUCT *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class EbSeckillProduct extends BasePo<EbSeckillProduct> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// /**
|
// * 用于兼容老写法
|
// */
|
// @JsonIgnore
|
// public static final EbSeckillProduct ROW_MAPPER = new EbSeckillProduct();
|
|
// 主键
|
private Integer id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Integer activityId = null;
|
@JsonIgnore
|
protected boolean isset_activityId = false;
|
|
private Long productId = null;
|
@JsonIgnore
|
protected boolean isset_productId = 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 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 seckillPrice = null;
|
@JsonIgnore
|
protected boolean isset_seckillPrice = false;
|
|
private String unitName = null;
|
@JsonIgnore
|
protected boolean isset_unitName = false;
|
|
private Integer sales = null;
|
@JsonIgnore
|
protected boolean isset_sales = false;
|
|
private Integer tempId = null;
|
@JsonIgnore
|
protected boolean isset_tempId = false;
|
|
private Integer sort = null;
|
@JsonIgnore
|
protected boolean isset_sort = false;
|
|
private Integer specType = null;
|
@JsonIgnore
|
protected boolean isset_specType = false;
|
|
private Integer isShow = null;
|
@JsonIgnore
|
protected boolean isset_isShow = false;
|
|
private Integer auditStatus = null;
|
@JsonIgnore
|
protected boolean isset_auditStatus = false;
|
|
private String reason = null;
|
@JsonIgnore
|
protected boolean isset_reason = false;
|
|
private Integer quotaShow = null;
|
@JsonIgnore
|
protected boolean isset_quotaShow = false;
|
|
private Integer quota = null;
|
@JsonIgnore
|
protected boolean isset_quota = 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 EbSeckillProduct() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public EbSeckillProduct(Integer id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((Integer) value);
|
}
|
|
public Integer getId() {
|
return this.id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null;
|
}
|
|
public Integer getActivityId() {
|
return this.activityId;
|
}
|
|
public void setActivityId(Integer activityId) {
|
this.activityId = activityId;
|
this.isset_activityId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyActivityId() {
|
return this.activityId == 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 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 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 getSeckillPrice() {
|
return this.seckillPrice;
|
}
|
|
public void setSeckillPrice(Double seckillPrice) {
|
this.seckillPrice = seckillPrice;
|
this.isset_seckillPrice = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySeckillPrice() {
|
return this.seckillPrice == 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 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 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 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 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 getQuotaShow() {
|
return this.quotaShow;
|
}
|
|
public void setQuotaShow(Integer quotaShow) {
|
this.quotaShow = quotaShow;
|
this.isset_quotaShow = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyQuotaShow() {
|
return this.quotaShow == null;
|
}
|
|
public Integer getQuota() {
|
return this.quota;
|
}
|
|
public void setQuota(Integer quota) {
|
this.quota = quota;
|
this.isset_quota = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyQuota() {
|
return this.quota == 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 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("activityId=").append(this.activityId)
|
.append("productId=").append(this.productId)
|
.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("brandId=").append(this.brandId)
|
.append("categoryId=").append(this.categoryId)
|
.append("guaranteeIds=").append(this.guaranteeIds)
|
.append("price=").append(this.price)
|
.append("seckillPrice=").append(this.seckillPrice)
|
.append("unitName=").append(this.unitName)
|
.append("sales=").append(this.sales)
|
.append("tempId=").append(this.tempId)
|
.append("sort=").append(this.sort)
|
.append("specType=").append(this.specType)
|
.append("isShow=").append(this.isShow)
|
.append("auditStatus=").append(this.auditStatus)
|
.append("reason=").append(this.reason)
|
.append("quotaShow=").append(this.quotaShow)
|
.append("quota=").append(this.quota)
|
.append("isDel=").append(this.isDel)
|
.append("createTime=").append(this.createTime)
|
.append("updateTime=").append(this.updateTime)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public EbSeckillProduct $clone() {
|
EbSeckillProduct eb_seckill_product = new EbSeckillProduct();
|
|
// 数据库名称
|
//eb_seckill_product.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
eb_seckill_product.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_activityId) {
|
eb_seckill_product.setActivityId(this.getActivityId());
|
}
|
if (this.isset_productId) {
|
eb_seckill_product.setProductId(this.getProductId());
|
}
|
if (this.isset_merId) {
|
eb_seckill_product.setMerId(this.getMerId());
|
}
|
if (this.isset_image) {
|
eb_seckill_product.setImage(this.getImage());
|
}
|
if (this.isset_flatPattern) {
|
eb_seckill_product.setFlatPattern(this.getFlatPattern());
|
}
|
if (this.isset_sliderImage) {
|
eb_seckill_product.setSliderImage(this.getSliderImage());
|
}
|
if (this.isset_name) {
|
eb_seckill_product.setName(this.getName());
|
}
|
if (this.isset_intro) {
|
eb_seckill_product.setIntro(this.getIntro());
|
}
|
if (this.isset_keyword) {
|
eb_seckill_product.setKeyword(this.getKeyword());
|
}
|
if (this.isset_brandId) {
|
eb_seckill_product.setBrandId(this.getBrandId());
|
}
|
if (this.isset_categoryId) {
|
eb_seckill_product.setCategoryId(this.getCategoryId());
|
}
|
if (this.isset_guaranteeIds) {
|
eb_seckill_product.setGuaranteeIds(this.getGuaranteeIds());
|
}
|
if (this.isset_price) {
|
eb_seckill_product.setPrice(this.getPrice());
|
}
|
if (this.isset_seckillPrice) {
|
eb_seckill_product.setSeckillPrice(this.getSeckillPrice());
|
}
|
if (this.isset_unitName) {
|
eb_seckill_product.setUnitName(this.getUnitName());
|
}
|
if (this.isset_sales) {
|
eb_seckill_product.setSales(this.getSales());
|
}
|
if (this.isset_tempId) {
|
eb_seckill_product.setTempId(this.getTempId());
|
}
|
if (this.isset_sort) {
|
eb_seckill_product.setSort(this.getSort());
|
}
|
if (this.isset_specType) {
|
eb_seckill_product.setSpecType(this.getSpecType());
|
}
|
if (this.isset_isShow) {
|
eb_seckill_product.setIsShow(this.getIsShow());
|
}
|
if (this.isset_auditStatus) {
|
eb_seckill_product.setAuditStatus(this.getAuditStatus());
|
}
|
if (this.isset_reason) {
|
eb_seckill_product.setReason(this.getReason());
|
}
|
if (this.isset_quotaShow) {
|
eb_seckill_product.setQuotaShow(this.getQuotaShow());
|
}
|
if (this.isset_quota) {
|
eb_seckill_product.setQuota(this.getQuota());
|
}
|
if (this.isset_isDel) {
|
eb_seckill_product.setIsDel(this.getIsDel());
|
}
|
if (this.isset_createTime) {
|
eb_seckill_product.setCreateTime(this.getCreateTime());
|
}
|
if (this.isset_updateTime) {
|
eb_seckill_product.setUpdateTime(this.getUpdateTime());
|
}
|
return eb_seckill_product;
|
}
|
}
|