|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:USING_FORM_BACK
|
*
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class UsingFormBack extends BasePo<UsingFormBack> {
|
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private String businessFormCode = null;
|
@JsonIgnore
|
protected boolean isset_businessFormCode = false;
|
|
private String procureDoc = null;
|
@JsonIgnore
|
protected boolean isset_procureDoc = false;
|
|
private Integer outWarehouseType = null;
|
@JsonIgnore
|
protected boolean isset_outWarehouseType = false;
|
|
private Long outWarehouseId = null;
|
@JsonIgnore
|
protected boolean isset_outWarehouseId = false;
|
|
private String outWarehouseName = null;
|
@JsonIgnore
|
protected boolean isset_outWarehouseName = false;
|
|
private Long operatorId = null;
|
@JsonIgnore
|
protected boolean isset_operatorId = false;
|
|
private String operatorName = null;
|
@JsonIgnore
|
protected boolean isset_operatorName = false;
|
|
private Long dealTime = null;
|
@JsonIgnore
|
protected boolean isset_dealTime = false;
|
|
private Long agencyId = null;
|
@JsonIgnore
|
protected boolean isset_agencyId = false;
|
|
private String agencyName = null;
|
@JsonIgnore
|
protected boolean isset_agencyName = false;
|
|
private Long departmentId = null;
|
@JsonIgnore
|
protected boolean isset_departmentId = false;
|
|
private String departmentName = null;
|
@JsonIgnore
|
protected boolean isset_departmentName = false;
|
|
private Long createTime = null;
|
@JsonIgnore
|
protected boolean isset_createTime = false;
|
|
private Integer states = null;
|
@JsonIgnore
|
protected boolean isset_states = false;
|
|
private String beiz = null;
|
@JsonIgnore
|
protected boolean isset_beiz = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public UsingFormBack() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public UsingFormBack(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 String getBusinessFormCode() {
|
return this.businessFormCode;
|
}
|
|
public void setBusinessFormCode(String businessFormCode) {
|
this.businessFormCode = businessFormCode;
|
this.isset_businessFormCode = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBusinessFormCode() {
|
return this.businessFormCode == null || this.businessFormCode.length() == 0;
|
}
|
|
public String getProcureDoc() {
|
return this.procureDoc;
|
}
|
|
public void setProcureDoc(String procureDoc) {
|
this.procureDoc = procureDoc;
|
this.isset_procureDoc = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyProcureDoc() {
|
return this.procureDoc == null || this.procureDoc.length() == 0;
|
}
|
|
public Integer getOutWarehouseType() {
|
return this.outWarehouseType;
|
}
|
|
public void setOutWarehouseType(Integer outWarehouseType) {
|
this.outWarehouseType = outWarehouseType;
|
this.isset_outWarehouseType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOutWarehouseType() {
|
return this.outWarehouseType == null;
|
}
|
|
public Long getOutWarehouseId() {
|
return this.outWarehouseId;
|
}
|
|
public void setOutWarehouseId(Long outWarehouseId) {
|
this.outWarehouseId = outWarehouseId;
|
this.isset_outWarehouseId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOutWarehouseId() {
|
return this.outWarehouseId == null;
|
}
|
|
public String getOutWarehouseName() {
|
return this.outWarehouseName;
|
}
|
|
public void setOutWarehouseName(String outWarehouseName) {
|
this.outWarehouseName = outWarehouseName;
|
this.isset_outWarehouseName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOutWarehouseName() {
|
return this.outWarehouseName == null || this.outWarehouseName.length() == 0;
|
}
|
|
public Long getOperatorId() {
|
return this.operatorId;
|
}
|
|
public void setOperatorId(Long operatorId) {
|
this.operatorId = operatorId;
|
this.isset_operatorId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOperatorId() {
|
return this.operatorId == null;
|
}
|
|
public String getOperatorName() {
|
return this.operatorName;
|
}
|
|
public void setOperatorName(String operatorName) {
|
this.operatorName = operatorName;
|
this.isset_operatorName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOperatorName() {
|
return this.operatorName == null || this.operatorName.length() == 0;
|
}
|
|
public Long getDealTime() {
|
return this.dealTime;
|
}
|
|
public void setDealTime(Long dealTime) {
|
this.dealTime = dealTime;
|
this.isset_dealTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDealTime() {
|
return this.dealTime == null;
|
}
|
|
public Long getAgencyId() {
|
return this.agencyId;
|
}
|
|
public void setAgencyId(Long agencyId) {
|
this.agencyId = agencyId;
|
this.isset_agencyId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAgencyId() {
|
return this.agencyId == null;
|
}
|
|
public String getAgencyName() {
|
return this.agencyName;
|
}
|
|
public void setAgencyName(String agencyName) {
|
this.agencyName = agencyName;
|
this.isset_agencyName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAgencyName() {
|
return this.agencyName == null || this.agencyName.length() == 0;
|
}
|
|
public Long getDepartmentId() {
|
return this.departmentId;
|
}
|
|
public void setDepartmentId(Long departmentId) {
|
this.departmentId = departmentId;
|
this.isset_departmentId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDepartmentId() {
|
return this.departmentId == null;
|
}
|
|
public String getDepartmentName() {
|
return this.departmentName;
|
}
|
|
public void setDepartmentName(String departmentName) {
|
this.departmentName = departmentName;
|
this.isset_departmentName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDepartmentName() {
|
return this.departmentName == null || this.departmentName.length() == 0;
|
}
|
|
public Long getCreateTime() {
|
return this.createTime;
|
}
|
|
public void setCreateTime(Long createTime) {
|
this.createTime = createTime;
|
this.isset_createTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreateTime() {
|
return this.createTime == null;
|
}
|
|
public Integer getStates() {
|
return this.states;
|
}
|
|
public void setStates(Integer states) {
|
this.states = states;
|
this.isset_states = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStates() {
|
return this.states == null;
|
}
|
|
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;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("businessFormCode=").append(this.businessFormCode)
|
.append("procureDoc=").append(this.procureDoc)
|
.append("outWarehouseType=").append(this.outWarehouseType)
|
.append("outWarehouseId=").append(this.outWarehouseId)
|
.append("outWarehouseName=").append(this.outWarehouseName)
|
.append("operatorId=").append(this.operatorId)
|
.append("operatorName=").append(this.operatorName)
|
.append("dealTime=").append(this.dealTime)
|
.append("agencyId=").append(this.agencyId)
|
.append("agencyName=").append(this.agencyName)
|
.append("departmentId=").append(this.departmentId)
|
.append("departmentName=").append(this.departmentName)
|
.append("createTime=").append(this.createTime)
|
.append("states=").append(this.states)
|
.append("beiz=").append(this.beiz)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public UsingFormBack $clone() {
|
UsingFormBack using_form_back = new UsingFormBack();
|
|
// 数据库名称
|
//using_form_back.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
using_form_back.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_businessFormCode) {
|
using_form_back.setBusinessFormCode(this.getBusinessFormCode());
|
}
|
if (this.isset_procureDoc) {
|
using_form_back.setProcureDoc(this.getProcureDoc());
|
}
|
if (this.isset_outWarehouseType) {
|
using_form_back.setOutWarehouseType(this.getOutWarehouseType());
|
}
|
if (this.isset_outWarehouseId) {
|
using_form_back.setOutWarehouseId(this.getOutWarehouseId());
|
}
|
if (this.isset_outWarehouseName) {
|
using_form_back.setOutWarehouseName(this.getOutWarehouseName());
|
}
|
if (this.isset_operatorId) {
|
using_form_back.setOperatorId(this.getOperatorId());
|
}
|
if (this.isset_operatorName) {
|
using_form_back.setOperatorName(this.getOperatorName());
|
}
|
if (this.isset_dealTime) {
|
using_form_back.setDealTime(this.getDealTime());
|
}
|
if (this.isset_agencyId) {
|
using_form_back.setAgencyId(this.getAgencyId());
|
}
|
if (this.isset_agencyName) {
|
using_form_back.setAgencyName(this.getAgencyName());
|
}
|
if (this.isset_departmentId) {
|
using_form_back.setDepartmentId(this.getDepartmentId());
|
}
|
if (this.isset_departmentName) {
|
using_form_back.setDepartmentName(this.getDepartmentName());
|
}
|
if (this.isset_createTime) {
|
using_form_back.setCreateTime(this.getCreateTime());
|
}
|
if (this.isset_states) {
|
using_form_back.setStates(this.getStates());
|
}
|
if (this.isset_beiz) {
|
using_form_back.setBeiz(this.getBeiz());
|
}
|
return using_form_back;
|
}
|
}
|