|
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_MODEL
|
*
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class DepFormScrappedModel extends BasePo<DepFormScrappedModel> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long depFormScrappedId = null;
|
@JsonIgnore
|
protected boolean isset_depFormScrappedId = false;
|
|
private Long depFormScrappedGoodsId = null;
|
@JsonIgnore
|
protected boolean isset_depFormScrappedGoodsId = false;
|
|
private Long scrappedCode = null;
|
@JsonIgnore
|
protected boolean isset_scrappedCode = false;
|
|
private String scrappedName = null;
|
@JsonIgnore
|
protected boolean isset_scrappedName = false;
|
|
private Long baseGoodsTemplateId = null;
|
@JsonIgnore
|
protected boolean isset_baseGoodsTemplateId = false;
|
|
private String baseGoodsTemplateName = null;
|
@JsonIgnore
|
protected boolean isset_baseGoodsTemplateName = false;
|
|
private String classification = null;
|
@JsonIgnore
|
protected boolean isset_classification = 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 Long procureModelUserId = null;
|
@JsonIgnore
|
protected boolean isset_procureModelUserId = false;
|
|
private Integer initialCount = null;
|
@JsonIgnore
|
protected boolean isset_initialCount = false;
|
|
private Integer useCount = null;
|
@JsonIgnore
|
protected boolean isset_useCount = false;
|
|
private Integer counts = null;
|
@JsonIgnore
|
protected boolean isset_counts = false;
|
|
private String goodsUserName = null;
|
@JsonIgnore
|
protected boolean isset_goodsUserName = false;
|
|
private String beiz = null;
|
@JsonIgnore
|
protected boolean isset_beiz = false;
|
|
private Integer totalAmount = null;
|
@JsonIgnore
|
protected boolean isset_totalAmount = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public DepFormScrappedModel() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public DepFormScrappedModel(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 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 Long getDepFormScrappedGoodsId() {
|
return this.depFormScrappedGoodsId;
|
}
|
|
public void setDepFormScrappedGoodsId(Long depFormScrappedGoodsId) {
|
this.depFormScrappedGoodsId = depFormScrappedGoodsId;
|
this.isset_depFormScrappedGoodsId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDepFormScrappedGoodsId() {
|
return this.depFormScrappedGoodsId == null;
|
}
|
|
public Long getScrappedCode() {
|
return this.scrappedCode;
|
}
|
|
public void setScrappedCode(Long scrappedCode) {
|
this.scrappedCode = scrappedCode;
|
this.isset_scrappedCode = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyScrappedCode() {
|
return this.scrappedCode == null;
|
}
|
|
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 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 getBaseGoodsTemplateName() {
|
return this.baseGoodsTemplateName;
|
}
|
|
public void setBaseGoodsTemplateName(String baseGoodsTemplateName) {
|
this.baseGoodsTemplateName = baseGoodsTemplateName;
|
this.isset_baseGoodsTemplateName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBaseGoodsTemplateName() {
|
return this.baseGoodsTemplateName == null || this.baseGoodsTemplateName.length() == 0;
|
}
|
|
public String getClassification() {
|
return this.classification;
|
}
|
|
public void setClassification(String classification) {
|
this.classification = classification;
|
this.isset_classification = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyClassification() {
|
return this.classification == null || this.classification.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 Long getProcureModelUserId() {
|
return this.procureModelUserId;
|
}
|
|
public void setProcureModelUserId(Long procureModelUserId) {
|
this.procureModelUserId = procureModelUserId;
|
this.isset_procureModelUserId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyProcureModelUserId() {
|
return this.procureModelUserId == null;
|
}
|
|
public Integer getInitialCount() {
|
return this.initialCount;
|
}
|
|
public void setInitialCount(Integer initialCount) {
|
this.initialCount = initialCount;
|
this.isset_initialCount = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyInitialCount() {
|
return this.initialCount == null;
|
}
|
|
public Integer getUseCount() {
|
return this.useCount;
|
}
|
|
public void setUseCount(Integer useCount) {
|
this.useCount = useCount;
|
this.isset_useCount = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUseCount() {
|
return this.useCount == null;
|
}
|
|
public Integer getCounts() {
|
return this.counts;
|
}
|
|
public void setCounts(Integer counts) {
|
this.counts = counts;
|
this.isset_counts = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCounts() {
|
return this.counts == null;
|
}
|
|
public String getGoodsUserName() {
|
return this.goodsUserName;
|
}
|
|
public void setGoodsUserName(String goodsUserName) {
|
this.goodsUserName = goodsUserName;
|
this.isset_goodsUserName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyGoodsUserName() {
|
return this.goodsUserName == null || this.goodsUserName.length() == 0;
|
}
|
|
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 Integer getTotalAmount() {
|
return this.totalAmount;
|
}
|
|
public void setTotalAmount(Integer totalAmount) {
|
this.totalAmount = totalAmount;
|
this.isset_totalAmount = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTotalAmount() {
|
return this.totalAmount == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("depFormScrappedId=").append(this.depFormScrappedId)
|
.append("depFormScrappedGoodsId=").append(this.depFormScrappedGoodsId)
|
.append("scrappedCode=").append(this.scrappedCode)
|
.append("scrappedName=").append(this.scrappedName)
|
.append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId)
|
.append("baseGoodsTemplateName=").append(this.baseGoodsTemplateName)
|
.append("classification=").append(this.classification)
|
.append("unit=").append(this.unit)
|
.append("baseGoodsModelsId=").append(this.baseGoodsModelsId)
|
.append("baseGoodsModelsName=").append(this.baseGoodsModelsName)
|
.append("procureModelUserId=").append(this.procureModelUserId)
|
.append("initialCount=").append(this.initialCount)
|
.append("useCount=").append(this.useCount)
|
.append("counts=").append(this.counts)
|
.append("goodsUserName=").append(this.goodsUserName)
|
.append("beiz=").append(this.beiz)
|
.append("totalAmount=").append(this.totalAmount)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public DepFormScrappedModel $clone() {
|
DepFormScrappedModel dep_form_scrapped_model = new DepFormScrappedModel();
|
|
// 数据库名称
|
//dep_form_scrapped_model.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
dep_form_scrapped_model.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_depFormScrappedId) {
|
dep_form_scrapped_model.setDepFormScrappedId(this.getDepFormScrappedId());
|
}
|
if (this.isset_depFormScrappedGoodsId) {
|
dep_form_scrapped_model.setDepFormScrappedGoodsId(this.getDepFormScrappedGoodsId());
|
}
|
if (this.isset_scrappedCode) {
|
dep_form_scrapped_model.setScrappedCode(this.getScrappedCode());
|
}
|
if (this.isset_scrappedName) {
|
dep_form_scrapped_model.setScrappedName(this.getScrappedName());
|
}
|
if (this.isset_baseGoodsTemplateId) {
|
dep_form_scrapped_model.setBaseGoodsTemplateId(this.getBaseGoodsTemplateId());
|
}
|
if (this.isset_baseGoodsTemplateName) {
|
dep_form_scrapped_model.setBaseGoodsTemplateName(this.getBaseGoodsTemplateName());
|
}
|
if (this.isset_classification) {
|
dep_form_scrapped_model.setClassification(this.getClassification());
|
}
|
if (this.isset_unit) {
|
dep_form_scrapped_model.setUnit(this.getUnit());
|
}
|
if (this.isset_baseGoodsModelsId) {
|
dep_form_scrapped_model.setBaseGoodsModelsId(this.getBaseGoodsModelsId());
|
}
|
if (this.isset_baseGoodsModelsName) {
|
dep_form_scrapped_model.setBaseGoodsModelsName(this.getBaseGoodsModelsName());
|
}
|
if (this.isset_procureModelUserId) {
|
dep_form_scrapped_model.setProcureModelUserId(this.getProcureModelUserId());
|
}
|
if (this.isset_initialCount) {
|
dep_form_scrapped_model.setInitialCount(this.getInitialCount());
|
}
|
if (this.isset_useCount) {
|
dep_form_scrapped_model.setUseCount(this.getUseCount());
|
}
|
if (this.isset_counts) {
|
dep_form_scrapped_model.setCounts(this.getCounts());
|
}
|
if (this.isset_goodsUserName) {
|
dep_form_scrapped_model.setGoodsUserName(this.getGoodsUserName());
|
}
|
if (this.isset_beiz) {
|
dep_form_scrapped_model.setBeiz(this.getBeiz());
|
}
|
if (this.isset_totalAmount) {
|
dep_form_scrapped_model.setTotalAmount(this.getTotalAmount());
|
}
|
return dep_form_scrapped_model;
|
}
|
}
|