| | |
| | | @JsonIgnore |
| | | protected boolean isset_sort = false; |
| | | |
| | | private Integer totalAmount; |
| | | @JsonIgnore |
| | | protected boolean isset_totalAmount = false; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | | */ |
| | |
| | | return this.sort == null; |
| | | } |
| | | |
| | | public Integer getTotalAmount() { |
| | | return this.totalAmount; |
| | | } |
| | | |
| | | public void setTotalAmount(Integer totalAmount) { |
| | | this.totalAmount = totalAmount; |
| | | this.isset_totalAmount = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyTotalAmount() { |
| | | return this.totalAmount == null; |
| | | } |
| | | |
| | | /** |
| | | * 重写 toString() 方法 |
| | | */ |
| | |
| | | .append("transBusinessId=").append(this.transBusinessId) |
| | | .append("userName=").append(this.userName) |
| | | .append("sort=").append(this.sort) |
| | | .append("totalAmount=").append(this.totalAmount) |
| | | .toString(); |
| | | } |
| | | |
| | |
| | | if (this.isset_sort) { |
| | | l_wh_form_scrapped_goods.setSort(this.getSort()); |
| | | } |
| | | if (this.isset_totalAmount) { |
| | | l_wh_form_scrapped_goods.setTotalAmount(this.getTotalAmount()); |
| | | } |
| | | return l_wh_form_scrapped_goods; |
| | | } |
| | | } |