package com.consum.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:DEP_FORM_LENDING_MODEL * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class DepFormLendingModel 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 depFormLendingGoodsId = null; @JsonIgnore protected boolean isset_depFormLendingGoodsId = false; private Long depFormLendingId = null; @JsonIgnore protected boolean isset_depFormLendingId = false; private Long depGoodsDetailsId = null; @JsonIgnore protected boolean isset_depGoodsDetailsId = false; private Long goodsUserPhone = null; @JsonIgnore protected boolean isset_goodsUserPhone = false; private String goodsUserName = null; @JsonIgnore protected boolean isset_goodsUserName = false; private Long nowUserPhone = null; @JsonIgnore protected boolean isset_nowUserPhone = false; private String nowUserName = null; @JsonIgnore protected boolean isset_nowUserName = false; private String beiz = null; @JsonIgnore protected boolean isset_beiz = false; private Long whGoodsId = null; @JsonIgnore protected boolean isset_whGoodsId = false; /** * 默认构造函数 */ public DepFormLendingModel() { } /** * 根据主键构造对象 */ public DepFormLendingModel(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 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; } 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 getGoodsUserPhone() { return this.goodsUserPhone; } public void setGoodsUserPhone(Long goodsUserPhone) { this.goodsUserPhone = goodsUserPhone; this.isset_goodsUserPhone = true; } @JsonIgnore public boolean isEmptyGoodsUserPhone() { return this.goodsUserPhone == null; } public String getGoodsUserName() { return this.goodsUserName; } public void setGoodsUserName(String goodsUserName) { this.goodsUserName = goodsUserName; this.isset_goodsUserName = true; } @JsonIgnore public boolean isEmptyGoodsUserName() { return this.goodsUserName == null || this.goodsUserName.length() == 0; } public Long getNowUserPhone() { return this.nowUserPhone; } public void setNowUserPhone(Long nowUserPhone) { this.nowUserPhone = nowUserPhone; this.isset_nowUserPhone = true; } @JsonIgnore public boolean isEmptyNowUserPhone() { return this.nowUserPhone == null; } public String getNowUserName() { return this.nowUserName; } public void setNowUserName(String nowUserName) { this.nowUserName = nowUserName; this.isset_nowUserName = true; } @JsonIgnore public boolean isEmptyNowUserName() { return this.nowUserName == null || this.nowUserName.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 getWhGoodsId() { return this.whGoodsId; } public void setWhGoodsId(Long whGoodsId) { this.whGoodsId = whGoodsId; this.isset_whGoodsId = true; } @JsonIgnore public boolean isEmptyWhGoodsId() { return this.whGoodsId == null; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("counts=").append(this.counts) .append("depFormLendingGoodsId=").append(this.depFormLendingGoodsId) .append("depFormLendingId=").append(this.depFormLendingId) .append("depGoodsDetailsId=").append(this.depGoodsDetailsId) .append("goodsUserPhone=").append(this.goodsUserPhone) .append("goodsUserName=").append(this.goodsUserName) .append("nowUserPhone=").append(this.nowUserPhone) .append("nowUserName=").append(this.nowUserName) .append("beiz=").append(this.beiz) .append("whGoodsId=").append(this.whGoodsId) .toString(); } /** * 克隆 */ public DepFormLendingModel $clone() { DepFormLendingModel dep_form_lending_model = new DepFormLendingModel(); // 数据库名称 //dep_form_lending_model.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { dep_form_lending_model.setId(this.getId()); } // 普通属性 if (this.isset_counts) { dep_form_lending_model.setCounts(this.getCounts()); } if (this.isset_depFormLendingGoodsId) { dep_form_lending_model.setDepFormLendingGoodsId(this.getDepFormLendingGoodsId()); } if (this.isset_depFormLendingId) { dep_form_lending_model.setDepFormLendingId(this.getDepFormLendingId()); } if (this.isset_depGoodsDetailsId) { dep_form_lending_model.setDepGoodsDetailsId(this.getDepGoodsDetailsId()); } if (this.isset_goodsUserPhone) { dep_form_lending_model.setGoodsUserPhone(this.getGoodsUserPhone()); } if (this.isset_goodsUserName) { dep_form_lending_model.setGoodsUserName(this.getGoodsUserName()); } if (this.isset_nowUserPhone) { dep_form_lending_model.setNowUserPhone(this.getNowUserPhone()); } if (this.isset_nowUserName) { dep_form_lending_model.setNowUserName(this.getNowUserName()); } if (this.isset_beiz) { dep_form_lending_model.setBeiz(this.getBeiz()); } if (this.isset_whGoodsId) { dep_form_lending_model.setWhGoodsId(this.getWhGoodsId()); } return dep_form_lending_model; } }