package com.consum.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:L_WH_GOODS_RECORD_DETAILS * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class LWhGoodsRecordDetails extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Long lWhGoodsRecordId = null; @JsonIgnore protected boolean isset_lWhGoodsRecordId = false; private Long lWhGoodsId = null; @JsonIgnore protected boolean isset_lWhGoodsId = false; private Integer thisType = null; @JsonIgnore protected boolean isset_thisType = false; /** * 默认构造函数 */ public LWhGoodsRecordDetails() { } /** * 根据主键构造对象 */ public LWhGoodsRecordDetails(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 getLWhGoodsRecordId() { return this.lWhGoodsRecordId; } public void setLWhGoodsRecordId(Long lWhGoodsRecordId) { this.lWhGoodsRecordId = lWhGoodsRecordId; this.isset_lWhGoodsRecordId = true; } @JsonIgnore public boolean isEmptyLWhGoodsRecordId() { return this.lWhGoodsRecordId == null; } public Long getLWhGoodsId() { return this.lWhGoodsId; } public void setLWhGoodsId(Long lWhGoodsId) { this.lWhGoodsId = lWhGoodsId; this.isset_lWhGoodsId = true; } @JsonIgnore public boolean isEmptyLWhGoodsId() { return this.lWhGoodsId == null; } public Integer getThisType() { return this.thisType; } public void setThisType(Integer thisType) { this.thisType = thisType; this.isset_thisType = true; } @JsonIgnore public boolean isEmptyThisType() { return this.thisType == null; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("lWhGoodsRecordId=").append(this.lWhGoodsRecordId) .append("lWhGoodsId=").append(this.lWhGoodsId) .append("thisType=").append(this.thisType) .toString(); } /** * 克隆 */ public LWhGoodsRecordDetails $clone() { LWhGoodsRecordDetails l_wh_goods_record_details = new LWhGoodsRecordDetails(); // 数据库名称 //l_wh_goods_record_details.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { l_wh_goods_record_details.setId(this.getId()); } // 普通属性 if (this.isset_lWhGoodsRecordId) { l_wh_goods_record_details.setLWhGoodsRecordId(this.getLWhGoodsRecordId()); } if (this.isset_lWhGoodsId) { l_wh_goods_record_details.setLWhGoodsId(this.getLWhGoodsId()); } if (this.isset_thisType) { l_wh_goods_record_details.setThisType(this.getThisType()); } return l_wh_goods_record_details; } }