|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:WH_FORM_SCRAPPED_MODEL *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class WhFormScrappedModel extends BasePo<WhFormScrappedModel> {
|
// 序列化版本号
|
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 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 depGoodsDetailsId = null;
|
@JsonIgnore
|
protected boolean isset_depGoodsDetailsId = false;
|
|
private Long depFormScrappedId = null;
|
@JsonIgnore
|
protected boolean isset_depFormScrappedId = false;
|
|
private Long whGoodsId = null;
|
@JsonIgnore
|
protected boolean isset_whGoodsId = false;
|
|
private Long whFormScrappedGoodsId = null;
|
@JsonIgnore
|
protected boolean isset_whFormScrappedGoodsId = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public WhFormScrappedModel() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public WhFormScrappedModel(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 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 getDepGoodsDetailsId() {
|
return this.depGoodsDetailsId;
|
}
|
|
public void setDepGoodsDetailsId(Long depGoodsDetailsId) {
|
this.depGoodsDetailsId = depGoodsDetailsId;
|
this.isset_depGoodsDetailsId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDepGoodsDetailsId() {
|
return this.depGoodsDetailsId == 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 Long getWhFormScrappedGoodsId() {
|
return this.whFormScrappedGoodsId;
|
}
|
|
public void setWhFormScrappedGoodsId(Long whFormScrappedGoodsId) {
|
this.whFormScrappedGoodsId = whFormScrappedGoodsId;
|
this.isset_whFormScrappedGoodsId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyWhFormScrappedGoodsId() {
|
return this.whFormScrappedGoodsId == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("counts=").append(this.counts)
|
.append("scrappedCode=").append(this.scrappedCode)
|
.append("scrappedName=").append(this.scrappedName)
|
.append("beiz=").append(this.beiz)
|
.append("depGoodsDetailsId=").append(this.depGoodsDetailsId)
|
.append("depFormScrappedId=").append(this.depFormScrappedId)
|
.append("whGoodsId=").append(this.whGoodsId)
|
.append("whFormScrappedGoodsId=").append(this.whFormScrappedGoodsId)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public WhFormScrappedModel $clone() {
|
WhFormScrappedModel wh_form_scrapped_model = new WhFormScrappedModel();
|
|
// 数据库名称
|
//wh_form_scrapped_model.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
wh_form_scrapped_model.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_counts) {
|
wh_form_scrapped_model.setCounts(this.getCounts());
|
}
|
if (this.isset_scrappedCode) {
|
wh_form_scrapped_model.setScrappedCode(this.getScrappedCode());
|
}
|
if (this.isset_scrappedName) {
|
wh_form_scrapped_model.setScrappedName(this.getScrappedName());
|
}
|
if (this.isset_beiz) {
|
wh_form_scrapped_model.setBeiz(this.getBeiz());
|
}
|
if (this.isset_depGoodsDetailsId) {
|
wh_form_scrapped_model.setDepGoodsDetailsId(this.getDepGoodsDetailsId());
|
}
|
if (this.isset_depFormScrappedId) {
|
wh_form_scrapped_model.setDepFormScrappedId(this.getDepFormScrappedId());
|
}
|
if (this.isset_whGoodsId) {
|
wh_form_scrapped_model.setWhGoodsId(this.getWhGoodsId());
|
}
|
if (this.isset_whFormScrappedGoodsId) {
|
wh_form_scrapped_model.setWhFormScrappedGoodsId(this.getWhFormScrappedGoodsId());
|
}
|
return wh_form_scrapped_model;
|
}
|
}
|