package com.consum.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:WH_FORM_TRANSFER_MODEL * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class WhFormTransferModel extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Long whFormTransferId = null; @JsonIgnore protected boolean isset_whFormTransferId = false; private Integer worehouseCount = null; @JsonIgnore protected boolean isset_worehouseCount = false; private Integer counts = null; @JsonIgnore protected boolean isset_counts = false; private Long outWhGoodsDetailsId = null; @JsonIgnore protected boolean isset_outWhGoodsDetailsId = false; private Long inWhGoodsDetailsId = null; @JsonIgnore protected boolean isset_inWhGoodsDetailsId = false; private Long whGoodsId = null; @JsonIgnore protected boolean isset_whGoodsId = false; private Long whFormTransferGoodsId = null; @JsonIgnore protected boolean isset_whFormTransferGoodsId = false; /** * 默认构造函数 */ public WhFormTransferModel() { } /** * 根据主键构造对象 */ public WhFormTransferModel(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 getWhFormTransferId() { return this.whFormTransferId; } public void setWhFormTransferId(Long whFormTransferId) { this.whFormTransferId = whFormTransferId; this.isset_whFormTransferId = true; } @JsonIgnore public boolean isEmptyWhFormTransferId() { return this.whFormTransferId == null; } public Integer getWorehouseCount() { return this.worehouseCount; } public void setWorehouseCount(Integer worehouseCount) { this.worehouseCount = worehouseCount; this.isset_worehouseCount = true; } @JsonIgnore public boolean isEmptyWorehouseCount() { return this.worehouseCount == 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 getInWhGoodsDetailsId() { return this.inWhGoodsDetailsId; } public void setInWhGoodsDetailsId(Long inWhGoodsDetailsId) { this.inWhGoodsDetailsId = inWhGoodsDetailsId; this.isset_inWhGoodsDetailsId = true; } @JsonIgnore public boolean isEmptyInWhGoodsDetailsId() { return this.inWhGoodsDetailsId == 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 getWhFormTransferGoodsId() { return this.whFormTransferGoodsId; } public void setWhFormTransferGoodsId(Long whFormTransferGoodsId) { this.whFormTransferGoodsId = whFormTransferGoodsId; this.isset_whFormTransferGoodsId = true; } @JsonIgnore public boolean isEmptyWhFormTransferGoodsId() { return this.whFormTransferGoodsId == null; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("whFormTransferId=").append(this.whFormTransferId) .append("worehouseCount=").append(this.worehouseCount) .append("counts=").append(this.counts) .append("outWhGoodsDetailsId=").append(this.outWhGoodsDetailsId) .append("inWhGoodsDetailsId=").append(this.inWhGoodsDetailsId) .append("whGoodsId=").append(this.whGoodsId) .append("whFormTransferGoodsId=").append(this.whFormTransferGoodsId) .toString(); } /** * 克隆 */ public WhFormTransferModel $clone() { WhFormTransferModel wh_form_transfer_model = new WhFormTransferModel(); // 数据库名称 //wh_form_transfer_model.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { wh_form_transfer_model.setId(this.getId()); } // 普通属性 if (this.isset_whFormTransferId) { wh_form_transfer_model.setWhFormTransferId(this.getWhFormTransferId()); } if (this.isset_worehouseCount) { wh_form_transfer_model.setWorehouseCount(this.getWorehouseCount()); } if (this.isset_counts) { wh_form_transfer_model.setCounts(this.getCounts()); } if (this.isset_outWhGoodsDetailsId) { wh_form_transfer_model.setOutWhGoodsDetailsId(this.getOutWhGoodsDetailsId()); } if (this.isset_inWhGoodsDetailsId) { wh_form_transfer_model.setInWhGoodsDetailsId(this.getInWhGoodsDetailsId()); } if (this.isset_whGoodsId) { wh_form_transfer_model.setWhGoodsId(this.getWhGoodsId()); } if (this.isset_whFormTransferGoodsId) { wh_form_transfer_model.setWhFormTransferGoodsId(this.getWhFormTransferGoodsId()); } return wh_form_transfer_model; } }