|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:DEP_FORM_SCRAPPED_GOODS *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class DepFormScrappedGoods extends BasePo<DepFormScrappedGoods> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long baseGoodsTemplateId = null;
|
@JsonIgnore
|
protected boolean isset_baseGoodsTemplateId = false;
|
|
private String goodsTemplateName = null;
|
@JsonIgnore
|
protected boolean isset_goodsTemplateName = false;
|
|
private String unit = null;
|
@JsonIgnore
|
protected boolean isset_unit = false;
|
|
private Long baseGoodsModelsId = null;
|
@JsonIgnore
|
protected boolean isset_baseGoodsModelsId = false;
|
|
private String baseGoodsModelsName = null;
|
@JsonIgnore
|
protected boolean isset_baseGoodsModelsName = false;
|
|
private Integer scrappedCounts = null;
|
@JsonIgnore
|
protected boolean isset_scrappedCounts = false;
|
|
private Integer initCount = null;
|
@JsonIgnore
|
protected boolean isset_initCount = false;
|
|
private Long depFormScrappedId = null;
|
@JsonIgnore
|
protected boolean isset_depFormScrappedId = false;
|
|
private String beiz = null;
|
@JsonIgnore
|
protected boolean isset_beiz = false;
|
|
private String scrappedCode = null;
|
@JsonIgnore
|
protected boolean isset_scrappedCode = false;
|
|
private String scrappedName = null;
|
@JsonIgnore
|
protected boolean isset_scrappedName = false;
|
|
private Long depFormLendingGoodsId = null;
|
@JsonIgnore
|
protected boolean isset_depFormLendingGoodsId = false;
|
|
private Long depFormLendingId = null;
|
@JsonIgnore
|
protected boolean isset_depFormLendingId = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public DepFormScrappedGoods() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public DepFormScrappedGoods(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 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 getUnit() {
|
return this.unit;
|
}
|
|
public void setUnit(String unit) {
|
this.unit = unit;
|
this.isset_unit = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUnit() {
|
return this.unit == null || this.unit.length() == 0;
|
}
|
|
public Long getBaseGoodsModelsId() {
|
return this.baseGoodsModelsId;
|
}
|
|
public void setBaseGoodsModelsId(Long baseGoodsModelsId) {
|
this.baseGoodsModelsId = baseGoodsModelsId;
|
this.isset_baseGoodsModelsId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBaseGoodsModelsId() {
|
return this.baseGoodsModelsId == null;
|
}
|
|
public String getBaseGoodsModelsName() {
|
return this.baseGoodsModelsName;
|
}
|
|
public void setBaseGoodsModelsName(String baseGoodsModelsName) {
|
this.baseGoodsModelsName = baseGoodsModelsName;
|
this.isset_baseGoodsModelsName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBaseGoodsModelsName() {
|
return this.baseGoodsModelsName == null || this.baseGoodsModelsName.length() == 0;
|
}
|
|
public Integer getScrappedCounts() {
|
return this.scrappedCounts;
|
}
|
|
public void setScrappedCounts(Integer scrappedCounts) {
|
this.scrappedCounts = scrappedCounts;
|
this.isset_scrappedCounts = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyScrappedCounts() {
|
return this.scrappedCounts == null;
|
}
|
|
public Integer getInitCount() {
|
return this.initCount;
|
}
|
|
public void setInitCount(Integer initCount) {
|
this.initCount = initCount;
|
this.isset_initCount = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyInitCount() {
|
return this.initCount == null;
|
}
|
|
public Long getDepFormScrappedId() {
|
return this.depFormScrappedId;
|
}
|
|
public void setDepFormScrappedId(Long depFormScrappedId) {
|
this.depFormScrappedId = depFormScrappedId;
|
this.isset_depFormScrappedId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDepFormScrappedId() {
|
return this.depFormScrappedId == 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;
|
}
|
|
public String getScrappedCode() {
|
return this.scrappedCode;
|
}
|
|
public void setScrappedCode(String scrappedCode) {
|
this.scrappedCode = scrappedCode;
|
this.isset_scrappedCode = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyScrappedCode() {
|
return this.scrappedCode == null || this.scrappedCode.length() == 0;
|
}
|
|
public String getScrappedName() {
|
return this.scrappedName;
|
}
|
|
public void setScrappedName(String scrappedName) {
|
this.scrappedName = scrappedName;
|
this.isset_scrappedName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyScrappedName() {
|
return this.scrappedName == null || this.scrappedName.length() == 0;
|
}
|
|
public Long getDepFormLendingGoodsId() {
|
return this.depFormLendingGoodsId;
|
}
|
|
public void setDepFormLendingGoodsId(Long depFormLendingGoodsId) {
|
this.depFormLendingGoodsId = depFormLendingGoodsId;
|
this.isset_depFormLendingGoodsId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDepFormLendingGoodsId() {
|
return this.depFormLendingGoodsId == null;
|
}
|
|
public Long getDepFormLendingId() {
|
return this.depFormLendingId;
|
}
|
|
public void setDepFormLendingId(Long depFormLendingId) {
|
this.depFormLendingId = depFormLendingId;
|
this.isset_depFormLendingId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDepFormLendingId() {
|
return this.depFormLendingId == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId)
|
.append("goodsTemplateName=").append(this.goodsTemplateName)
|
.append("unit=").append(this.unit)
|
.append("baseGoodsModelsId=").append(this.baseGoodsModelsId)
|
.append("baseGoodsModelsName=").append(this.baseGoodsModelsName)
|
.append("scrappedCounts=").append(this.scrappedCounts)
|
.append("initCount=").append(this.initCount)
|
.append("depFormScrappedId=").append(this.depFormScrappedId)
|
.append("beiz=").append(this.beiz)
|
.append("scrappedCode=").append(this.scrappedCode)
|
.append("scrappedName=").append(this.scrappedName)
|
.append("depFormLendingGoodsId=").append(this.depFormLendingGoodsId)
|
.append("depFormLendingId=").append(this.depFormLendingId)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public DepFormScrappedGoods $clone() {
|
DepFormScrappedGoods dep_form_scrapped_goods = new DepFormScrappedGoods();
|
|
// 数据库名称
|
//dep_form_scrapped_goods.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
dep_form_scrapped_goods.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_baseGoodsTemplateId) {
|
dep_form_scrapped_goods.setBaseGoodsTemplateId(this.getBaseGoodsTemplateId());
|
}
|
if (this.isset_goodsTemplateName) {
|
dep_form_scrapped_goods.setGoodsTemplateName(this.getGoodsTemplateName());
|
}
|
if (this.isset_unit) {
|
dep_form_scrapped_goods.setUnit(this.getUnit());
|
}
|
if (this.isset_baseGoodsModelsId) {
|
dep_form_scrapped_goods.setBaseGoodsModelsId(this.getBaseGoodsModelsId());
|
}
|
if (this.isset_baseGoodsModelsName) {
|
dep_form_scrapped_goods.setBaseGoodsModelsName(this.getBaseGoodsModelsName());
|
}
|
if (this.isset_scrappedCounts) {
|
dep_form_scrapped_goods.setScrappedCounts(this.getScrappedCounts());
|
}
|
if (this.isset_initCount) {
|
dep_form_scrapped_goods.setInitCount(this.getInitCount());
|
}
|
if (this.isset_depFormScrappedId) {
|
dep_form_scrapped_goods.setDepFormScrappedId(this.getDepFormScrappedId());
|
}
|
if (this.isset_beiz) {
|
dep_form_scrapped_goods.setBeiz(this.getBeiz());
|
}
|
if (this.isset_scrappedCode) {
|
dep_form_scrapped_goods.setScrappedCode(this.getScrappedCode());
|
}
|
if (this.isset_scrappedName) {
|
dep_form_scrapped_goods.setScrappedName(this.getScrappedName());
|
}
|
if (this.isset_depFormLendingGoodsId) {
|
dep_form_scrapped_goods.setDepFormLendingGoodsId(this.getDepFormLendingGoodsId());
|
}
|
if (this.isset_depFormLendingId) {
|
dep_form_scrapped_goods.setDepFormLendingId(this.getDepFormLendingId());
|
}
|
return dep_form_scrapped_goods;
|
}
|
}
|