|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:WH_FORM_PROCURE_GOODS *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class WhFormProcureGoods extends BasePo<WhFormProcureGoods> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long baseCategoryId = null;
|
@JsonIgnore
|
protected boolean isset_baseCategoryId = false;
|
|
private Long baseGoodsTemplateId = null;
|
@JsonIgnore
|
protected boolean isset_baseGoodsTemplateId = false;
|
|
private String goodsTemplateName = null;
|
@JsonIgnore
|
protected boolean isset_goodsTemplateName = false;
|
|
private String supplier = null;
|
@JsonIgnore
|
protected boolean isset_supplier = false;
|
|
private Long whFormProcureId = null;
|
@JsonIgnore
|
protected boolean isset_whFormProcureId = false;
|
|
private String beiz = null;
|
@JsonIgnore
|
protected boolean isset_beiz = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public WhFormProcureGoods() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public WhFormProcureGoods(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 getBaseCategoryId() {
|
return this.baseCategoryId;
|
}
|
|
public void setBaseCategoryId(Long baseCategoryId) {
|
this.baseCategoryId = baseCategoryId;
|
this.isset_baseCategoryId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBaseCategoryId() {
|
return this.baseCategoryId == null;
|
}
|
|
public Long getBaseGoodsTemplateId() {
|
return this.baseGoodsTemplateId;
|
}
|
|
public void setBaseGoodsTemplateId(Long baseGoodsTemplateId) {
|
this.baseGoodsTemplateId = baseGoodsTemplateId;
|
this.isset_baseGoodsTemplateId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBaseGoodsTemplateId() {
|
return this.baseGoodsTemplateId == null;
|
}
|
|
public String getGoodsTemplateName() {
|
return this.goodsTemplateName;
|
}
|
|
public void setGoodsTemplateName(String goodsTemplateName) {
|
this.goodsTemplateName = goodsTemplateName;
|
this.isset_goodsTemplateName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyGoodsTemplateName() {
|
return this.goodsTemplateName == null || this.goodsTemplateName.length() == 0;
|
}
|
|
public String getSupplier() {
|
return this.supplier;
|
}
|
|
public void setSupplier(String supplier) {
|
this.supplier = supplier;
|
this.isset_supplier = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySupplier() {
|
return this.supplier == null || this.supplier.length() == 0;
|
}
|
|
public Long getWhFormProcureId() {
|
return this.whFormProcureId;
|
}
|
|
public void setWhFormProcureId(Long whFormProcureId) {
|
this.whFormProcureId = whFormProcureId;
|
this.isset_whFormProcureId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyWhFormProcureId() {
|
return this.whFormProcureId == null;
|
}
|
|
public String getBeiz() {
|
return this.beiz;
|
}
|
|
public void setBeiz(String beiz) {
|
this.beiz = beiz;
|
this.isset_beiz = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBeiz() {
|
return this.beiz == null || this.beiz.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("baseCategoryId=").append(this.baseCategoryId)
|
.append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId)
|
.append("goodsTemplateName=").append(this.goodsTemplateName)
|
.append("supplier=").append(this.supplier)
|
.append("whFormProcureId=").append(this.whFormProcureId)
|
.append("beiz=").append(this.beiz)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public WhFormProcureGoods $clone() {
|
WhFormProcureGoods wh_form_procure_goods = new WhFormProcureGoods();
|
|
// 数据库名称
|
//wh_form_procure_goods.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
wh_form_procure_goods.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_baseCategoryId) {
|
wh_form_procure_goods.setBaseCategoryId(this.getBaseCategoryId());
|
}
|
if (this.isset_baseGoodsTemplateId) {
|
wh_form_procure_goods.setBaseGoodsTemplateId(this.getBaseGoodsTemplateId());
|
}
|
if (this.isset_goodsTemplateName) {
|
wh_form_procure_goods.setGoodsTemplateName(this.getGoodsTemplateName());
|
}
|
if (this.isset_supplier) {
|
wh_form_procure_goods.setSupplier(this.getSupplier());
|
}
|
if (this.isset_whFormProcureId) {
|
wh_form_procure_goods.setWhFormProcureId(this.getWhFormProcureId());
|
}
|
if (this.isset_beiz) {
|
wh_form_procure_goods.setBeiz(this.getBeiz());
|
}
|
return wh_form_procure_goods;
|
}
|
}
|