package com.consum.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:DEP_FORM_BACK_MODEL * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class DepFormBackModel extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Long depFormBackGoodsId = null; @JsonIgnore protected boolean isset_depFormBackGoodsId = false; private Long depFormBackId = null; @JsonIgnore protected boolean isset_depFormBackId = false; private Long whGoodsDetailsId = null; @JsonIgnore protected boolean isset_whGoodsDetailsId = false; private String usingGoodsHisId = null; @JsonIgnore protected boolean isset_usingGoodsHisId = false; private Long whGoodsId = null; @JsonIgnore protected boolean isset_whGoodsId = false; private Integer counts = null; @JsonIgnore protected boolean isset_counts = 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 DepFormBackModel() { } /** * 根据主键构造对象 */ public DepFormBackModel(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 getDepFormBackGoodsId() { return this.depFormBackGoodsId; } public void setDepFormBackGoodsId(Long depFormBackGoodsId) { this.depFormBackGoodsId = depFormBackGoodsId; this.isset_depFormBackGoodsId = true; } @JsonIgnore public boolean isEmptyDepFormBackGoodsId() { return this.depFormBackGoodsId == null; } public Long getDepFormBackId() { return this.depFormBackId; } public void setDepFormBackId(Long depFormBackId) { this.depFormBackId = depFormBackId; this.isset_depFormBackId = true; } @JsonIgnore public boolean isEmptyDepFormBackId() { return this.depFormBackId == null; } public Long getWhGoodsDetailsId() { return this.whGoodsDetailsId; } public void setWhGoodsDetailsId(Long whGoodsDetailsId) { this.whGoodsDetailsId = whGoodsDetailsId; this.isset_whGoodsDetailsId = true; } @JsonIgnore public boolean isEmptyWhGoodsDetailsId() { return this.whGoodsDetailsId == null; } public String getUsingGoodsHisId() { return this.usingGoodsHisId; } public void setUsingGoodsHisId(String usingGoodsHisId) { this.usingGoodsHisId = usingGoodsHisId; this.isset_usingGoodsHisId = true; } @JsonIgnore public boolean isEmptyUsingGoodsHisId() { return this.usingGoodsHisId == null || this.usingGoodsHisId.length() == 0; } 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 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 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("depFormBackGoodsId=").append(this.depFormBackGoodsId) .append("depFormBackId=").append(this.depFormBackId) .append("whGoodsDetailsId=").append(this.whGoodsDetailsId) .append("usingGoodsHisId=").append(this.usingGoodsHisId) .append("whGoodsId=").append(this.whGoodsId) .append("counts=").append(this.counts) .append("depFormLendingModelId=").append(this.depFormLendingModelId) .append("depFormLendingGoodsId=").append(this.depFormLendingGoodsId) .append("depFormLendingId=").append(this.depFormLendingId) .toString(); } /** * 克隆 */ public DepFormBackModel $clone() { DepFormBackModel dep_form_back_model = new DepFormBackModel(); // 数据库名称 //dep_form_back_model.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { dep_form_back_model.setId(this.getId()); } // 普通属性 if (this.isset_depFormBackGoodsId) { dep_form_back_model.setDepFormBackGoodsId(this.getDepFormBackGoodsId()); } if (this.isset_depFormBackId) { dep_form_back_model.setDepFormBackId(this.getDepFormBackId()); } if (this.isset_whGoodsDetailsId) { dep_form_back_model.setWhGoodsDetailsId(this.getWhGoodsDetailsId()); } if (this.isset_usingGoodsHisId) { dep_form_back_model.setUsingGoodsHisId(this.getUsingGoodsHisId()); } if (this.isset_whGoodsId) { dep_form_back_model.setWhGoodsId(this.getWhGoodsId()); } if (this.isset_counts) { dep_form_back_model.setCounts(this.getCounts()); } if (this.isset_depFormLendingModelId) { dep_form_back_model.setDepFormLendingModelId(this.getDepFormLendingModelId()); } if (this.isset_depFormLendingGoodsId) { dep_form_back_model.setDepFormLendingGoodsId(this.getDepFormLendingGoodsId()); } if (this.isset_depFormLendingId) { dep_form_back_model.setDepFormLendingId(this.getDepFormLendingId()); } return dep_form_back_model; } }