package com.consum.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:WH_FORM_OUTPUT_MODEL * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class WhFormOutputModel extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Integer counts = null; @JsonIgnore protected boolean isset_counts = false; private Long outWhGoodsDetailsId = null; @JsonIgnore protected boolean isset_outWhGoodsDetailsId = false; private Long whGoodsId = null; @JsonIgnore protected boolean isset_whGoodsId = false; private Long whFormOutputId = null; @JsonIgnore protected boolean isset_whFormOutputId = false; private Long whFormOutputGoodsId = null; @JsonIgnore protected boolean isset_whFormOutputGoodsId = false; /** * 默认构造函数 */ public WhFormOutputModel() { } /** * 根据主键构造对象 */ public WhFormOutputModel(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 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 getOutWhGoodsDetailsId() { return this.outWhGoodsDetailsId; } public void setOutWhGoodsDetailsId(Long outWhGoodsDetailsId) { this.outWhGoodsDetailsId = outWhGoodsDetailsId; this.isset_outWhGoodsDetailsId = true; } @JsonIgnore public boolean isEmptyOutWhGoodsDetailsId() { return this.outWhGoodsDetailsId == 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 Long getWhFormOutputId() { return this.whFormOutputId; } public void setWhFormOutputId(Long whFormOutputId) { this.whFormOutputId = whFormOutputId; this.isset_whFormOutputId = true; } @JsonIgnore public boolean isEmptyWhFormOutputId() { return this.whFormOutputId == null; } public Long getWhFormOutputGoodsId() { return this.whFormOutputGoodsId; } public void setWhFormOutputGoodsId(Long whFormOutputGoodsId) { this.whFormOutputGoodsId = whFormOutputGoodsId; this.isset_whFormOutputGoodsId = true; } @JsonIgnore public boolean isEmptyWhFormOutputGoodsId() { return this.whFormOutputGoodsId == null; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("counts=").append(this.counts) .append("outWhGoodsDetailsId=").append(this.outWhGoodsDetailsId) .append("whGoodsId=").append(this.whGoodsId) .append("whFormOutputId=").append(this.whFormOutputId) .append("whFormOutputGoodsId=").append(this.whFormOutputGoodsId) .toString(); } /** * 克隆 */ public WhFormOutputModel $clone() { WhFormOutputModel wh_form_output_model = new WhFormOutputModel(); // 数据库名称 //wh_form_output_model.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { wh_form_output_model.setId(this.getId()); } // 普通属性 if (this.isset_counts) { wh_form_output_model.setCounts(this.getCounts()); } if (this.isset_outWhGoodsDetailsId) { wh_form_output_model.setOutWhGoodsDetailsId(this.getOutWhGoodsDetailsId()); } if (this.isset_whGoodsId) { wh_form_output_model.setWhGoodsId(this.getWhGoodsId()); } if (this.isset_whFormOutputId) { wh_form_output_model.setWhFormOutputId(this.getWhFormOutputId()); } if (this.isset_whFormOutputGoodsId) { wh_form_output_model.setWhFormOutputGoodsId(this.getWhFormOutputGoodsId()); } return wh_form_output_model; } }