| | |
| | | @JsonIgnore |
| | | protected boolean isset_goodsName = false; |
| | | |
| | | private Integer classification = null; |
| | | private String classification = null; |
| | | @JsonIgnore |
| | | protected boolean isset_classification = false; |
| | | |
| | |
| | | private Long categoryId = null; |
| | | @JsonIgnore |
| | | protected boolean isset_categoryId = false; |
| | | |
| | | private String unit = null; |
| | | @JsonIgnore |
| | | protected boolean isset_unit = false; |
| | | |
| | | private Long fAgencyId = null; |
| | | @JsonIgnore |
| | |
| | | private Long createDate = null; |
| | | @JsonIgnore |
| | | protected boolean isset_createDate = false; |
| | | |
| | | private Integer type = null; |
| | | @JsonIgnore |
| | | protected boolean isset_type = false; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | |
| | | return this.goodsName == null || this.goodsName.length() == 0; |
| | | } |
| | | |
| | | public Integer getClassification() { |
| | | public String getClassification() { |
| | | return this.classification; |
| | | } |
| | | |
| | | public void setClassification(Integer classification) { |
| | | public void setClassification(String classification) { |
| | | this.classification = classification; |
| | | this.isset_classification = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyClassification() { |
| | | return this.classification == null; |
| | | return this.classification == null || this.classification.length() == 0; |
| | | } |
| | | |
| | | public Integer getStates() { |
| | |
| | | @JsonIgnore |
| | | public boolean isEmptyCategoryId() { |
| | | return this.categoryId == null; |
| | | } |
| | | |
| | | public String getUnit() { |
| | | return this.unit; |
| | | } |
| | | |
| | | public void setUnit(String unit) { |
| | | this.unit = unit; |
| | | this.isset_unit = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyUnit() { |
| | | return this.unit == null || this.unit.length() == 0; |
| | | } |
| | | |
| | | public Long getFAgencyId() { |
| | |
| | | return this.createDate == null; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return this.type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | this.isset_type = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyType() { |
| | | return this.type == null; |
| | | } |
| | | |
| | | /** |
| | | * 重写 toString() 方法 |
| | | */ |
| | |
| | | .append("classification=").append(this.classification) |
| | | .append("states=").append(this.states) |
| | | .append("categoryId=").append(this.categoryId) |
| | | .append("unit=").append(this.unit) |
| | | .append("fAgencyId=").append(this.fAgencyId) |
| | | .append("sAgencyId=").append(this.sAgencyId) |
| | | .append("tAgencyId=").append(this.tAgencyId) |
| | |
| | | .append("agencyId=").append(this.agencyId) |
| | | .append("agencyName=").append(this.agencyName) |
| | | .append("createDate=").append(this.createDate) |
| | | .append("type=").append(this.type) |
| | | .toString(); |
| | | } |
| | | |
| | |
| | | if (this.isset_categoryId) { |
| | | base_goods_template.setCategoryId(this.getCategoryId()); |
| | | } |
| | | if (this.isset_unit) { |
| | | base_goods_template.setUnit(this.getUnit()); |
| | | } |
| | | if (this.isset_fAgencyId) { |
| | | base_goods_template.setFAgencyId(this.getFAgencyId()); |
| | | } |
| | |
| | | if (this.isset_createDate) { |
| | | base_goods_template.setCreateDate(this.getCreateDate()); |
| | | } |
| | | if (this.isset_type) { |
| | | base_goods_template.setType(this.getType()); |
| | | } |
| | | return base_goods_template; |
| | | } |
| | | } |