| | |
| | | @JsonIgnore |
| | | protected boolean isset_goodsName = false; |
| | | |
| | | private Integer classification = null; |
| | | private String classification = null; |
| | | @JsonIgnore |
| | | protected boolean isset_classification = false; |
| | | |
| | |
| | | @JsonIgnore |
| | | protected boolean isset_categoryId = false; |
| | | |
| | | private String unit = null; |
| | | private String categoryName = null; |
| | | @JsonIgnore |
| | | protected boolean isset_unit = false; |
| | | protected boolean isset_categoryName = false; |
| | | |
| | | private Long fAgencyId = null; |
| | | @JsonIgnore |
| | |
| | | private Long createDate = null; |
| | | @JsonIgnore |
| | | protected boolean isset_createDate = false; |
| | | |
| | | private Long dTime = null; |
| | | @JsonIgnore |
| | | protected boolean isset_dTime = false; |
| | | |
| | | private Long dUserId = null; |
| | | @JsonIgnore |
| | | protected boolean isset_dUserId = false; |
| | | |
| | | private String dUserName = null; |
| | | @JsonIgnore |
| | | protected boolean isset_dUserName = 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() { |
| | |
| | | return this.categoryId == null; |
| | | } |
| | | |
| | | public String getUnit() { |
| | | return this.unit; |
| | | public String getCategoryName() { |
| | | return this.categoryName; |
| | | } |
| | | |
| | | public void setUnit(String unit) { |
| | | this.unit = unit; |
| | | this.isset_unit = true; |
| | | public void setCategoryName(String categoryName) { |
| | | this.categoryName = categoryName; |
| | | this.isset_categoryName = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyUnit() { |
| | | return this.unit == null || this.unit.length() == 0; |
| | | public boolean isEmptyCategoryName() { |
| | | return this.categoryName == null || this.categoryName.length() == 0; |
| | | } |
| | | |
| | | public Long getFAgencyId() { |
| | |
| | | return this.createDate == null; |
| | | } |
| | | |
| | | public Long getDTime() { |
| | | return this.dTime; |
| | | } |
| | | |
| | | public void setDTime(Long dTime) { |
| | | this.dTime = dTime; |
| | | this.isset_dTime = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyDTime() { |
| | | return this.dTime == null; |
| | | } |
| | | |
| | | public Long getDUserId() { |
| | | return this.dUserId; |
| | | } |
| | | |
| | | public void setDUserId(Long dUserId) { |
| | | this.dUserId = dUserId; |
| | | this.isset_dUserId = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyDUserId() { |
| | | return this.dUserId == null; |
| | | } |
| | | |
| | | public String getDUserName() { |
| | | return this.dUserName; |
| | | } |
| | | |
| | | public void setDUserName(String dUserName) { |
| | | this.dUserName = dUserName; |
| | | this.isset_dUserName = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyDUserName() { |
| | | return this.dUserName == null || this.dUserName.length() == 0; |
| | | } |
| | | |
| | | /** |
| | | * 重写 toString() 方法 |
| | | */ |
| | |
| | | .append("classification=").append(this.classification) |
| | | .append("states=").append(this.states) |
| | | .append("categoryId=").append(this.categoryId) |
| | | .append("unit=").append(this.unit) |
| | | .append("categoryName=").append(this.categoryName) |
| | | .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("dTime=").append(this.dTime) |
| | | .append("dUserId=").append(this.dUserId) |
| | | .append("dUserName=").append(this.dUserName) |
| | | .toString(); |
| | | } |
| | | |
| | |
| | | if (this.isset_categoryId) { |
| | | base_goods_template.setCategoryId(this.getCategoryId()); |
| | | } |
| | | if (this.isset_unit) { |
| | | base_goods_template.setUnit(this.getUnit()); |
| | | if (this.isset_categoryName) { |
| | | base_goods_template.setCategoryName(this.getCategoryName()); |
| | | } |
| | | if (this.isset_fAgencyId) { |
| | | base_goods_template.setFAgencyId(this.getFAgencyId()); |
| | |
| | | if (this.isset_createDate) { |
| | | base_goods_template.setCreateDate(this.getCreateDate()); |
| | | } |
| | | if (this.isset_dTime) { |
| | | base_goods_template.setDTime(this.getDTime()); |
| | | } |
| | | if (this.isset_dUserId) { |
| | | base_goods_template.setDUserId(this.getDUserId()); |
| | | } |
| | | if (this.isset_dUserName) { |
| | | base_goods_template.setDUserName(this.getDUserName()); |
| | | } |
| | | return base_goods_template; |
| | | } |
| | | } |