| | |
| | | @JsonIgnore |
| | | protected boolean isset_beiz = false; |
| | | |
| | | private Integer totalAmount = null; |
| | | @JsonIgnore |
| | | protected boolean isset_totalAmount = false; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | | */ |
| | |
| | | return this.beiz == null || this.beiz.length() == 0; |
| | | } |
| | | |
| | | 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("counts=").append(this.counts) |
| | | .append("goodsUserName=").append(this.goodsUserName) |
| | | .append("beiz=").append(this.beiz) |
| | | .append("totalAmount=").append(this.totalAmount) |
| | | .toString(); |
| | | } |
| | | |
| | |
| | | if (this.isset_beiz) { |
| | | dep_form_scrapped_model.setBeiz(this.getBeiz()); |
| | | } |
| | | if (this.isset_totalAmount) { |
| | | dep_form_scrapped_model.setTotalAmount(this.getTotalAmount()); |
| | | } |
| | | return dep_form_scrapped_model; |
| | | } |
| | | } |