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 { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Long depFormScrappedGoodsId = null; @JsonIgnore protected boolean isset_depFormScrappedGoodsId = false; private String scrappedCode = null; @JsonIgnore protected boolean isset_scrappedCode = false; private String scrappedName = null; @JsonIgnore protected boolean isset_scrappedName = false; private String beiz = null; @JsonIgnore protected boolean isset_beiz = false; private Long usingGoodsHisId = null; @JsonIgnore protected boolean isset_usingGoodsHisId = false; private Long depFormScrappedId = null; @JsonIgnore protected boolean isset_depFormScrappedId = false; private Long whGoodsId = null; @JsonIgnore protected boolean isset_whGoodsId = false; private Integer scrappedCounts = null; @JsonIgnore protected boolean isset_scrappedCounts = false; private Integer initCount = null; @JsonIgnore protected boolean isset_initCount = false; private Long depFormLendingModelId = null; @JsonIgnore protected boolean isset_depFormLendingModelId = false; private Long depFormLendingGoodsId = null; @JsonIgnore protected boolean isset_depFormLendingGoodsId = false; private Long depFormLendingId = null; @JsonIgnore protected boolean isset_depFormLendingId = 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 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 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 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 Long getUsingGoodsHisId() { return this.usingGoodsHisId; } public void setUsingGoodsHisId(Long usingGoodsHisId) { this.usingGoodsHisId = usingGoodsHisId; this.isset_usingGoodsHisId = true; } @JsonIgnore public boolean isEmptyUsingGoodsHisId() { return this.usingGoodsHisId == 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 getWhGoodsId() { return this.whGoodsId; } public void setWhGoodsId(Long whGoodsId) { this.whGoodsId = whGoodsId; this.isset_whGoodsId = true; } @JsonIgnore public boolean isEmptyWhGoodsId() { return this.whGoodsId == null; } 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 getDepFormLendingModelId() { return this.depFormLendingModelId; } public void setDepFormLendingModelId(Long depFormLendingModelId) { this.depFormLendingModelId = depFormLendingModelId; this.isset_depFormLendingModelId = true; } @JsonIgnore public boolean isEmptyDepFormLendingModelId() { return this.depFormLendingModelId == null; } 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("depFormScrappedGoodsId=").append(this.depFormScrappedGoodsId) .append("scrappedCode=").append(this.scrappedCode) .append("scrappedName=").append(this.scrappedName) .append("beiz=").append(this.beiz) .append("usingGoodsHisId=").append(this.usingGoodsHisId) .append("depFormScrappedId=").append(this.depFormScrappedId) .append("whGoodsId=").append(this.whGoodsId) .append("scrappedCounts=").append(this.scrappedCounts) .append("initCount=").append(this.initCount) .append("depFormLendingModelId=").append(this.depFormLendingModelId) .append("depFormLendingGoodsId=").append(this.depFormLendingGoodsId) .append("depFormLendingId=").append(this.depFormLendingId) .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_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_beiz) { dep_form_scrapped_model.setBeiz(this.getBeiz()); } if (this.isset_usingGoodsHisId) { dep_form_scrapped_model.setUsingGoodsHisId(this.getUsingGoodsHisId()); } if (this.isset_depFormScrappedId) { dep_form_scrapped_model.setDepFormScrappedId(this.getDepFormScrappedId()); } if (this.isset_whGoodsId) { dep_form_scrapped_model.setWhGoodsId(this.getWhGoodsId()); } if (this.isset_scrappedCounts) { dep_form_scrapped_model.setScrappedCounts(this.getScrappedCounts()); } if (this.isset_initCount) { dep_form_scrapped_model.setInitCount(this.getInitCount()); } if (this.isset_depFormLendingModelId) { dep_form_scrapped_model.setDepFormLendingModelId(this.getDepFormLendingModelId()); } if (this.isset_depFormLendingGoodsId) { dep_form_scrapped_model.setDepFormLendingGoodsId(this.getDepFormLendingGoodsId()); } if (this.isset_depFormLendingId) { dep_form_scrapped_model.setDepFormLendingId(this.getDepFormLendingId()); } return dep_form_scrapped_model; } }