| | |
| | | import com.walker.jdbc.BasePo; |
| | | |
| | | /** |
| | | * 表名:L_WH_PROCURE_MODEL * |
| | | * 表名:L_WH_PROCURE_MODEL |
| | | * |
| | | * @author genrator |
| | | */ |
| | | @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) |
| | | public class LWhProcureModel extends BasePo<LWhProcureModel> { |
| | | |
| | | // 序列化版本号 |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | |
| | | private Long totalAmount; |
| | | @JsonIgnore |
| | | protected boolean isset_totalAmount = false; |
| | | |
| | | private Integer useCount = null; |
| | | @JsonIgnore |
| | | protected boolean isset_useCount = false; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | |
| | | return this.totalAmount == null; |
| | | } |
| | | |
| | | public Integer getUseCount() { |
| | | return this.useCount; |
| | | } |
| | | |
| | | public void setUseCount(Integer useCount) { |
| | | this.useCount = useCount; |
| | | this.isset_useCount = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyUseCount() { |
| | | return this.useCount == null; |
| | | } |
| | | |
| | | /** |
| | | * 重写 toString() 方法 |
| | | */ |
| | |
| | | .append("counts=").append(this.counts) |
| | | .append("worehouseCount=").append(this.worehouseCount) |
| | | .append("supplier=").append(this.supplier) |
| | | .append("totalAmount=").append(this.totalAmount) |
| | | .append("useCount=").append(this.useCount) |
| | | .toString(); |
| | | } |
| | | |
| | |
| | | if (this.isset_totalAmount) { |
| | | l_wh_procure_model.setTotalAmount(this.getTotalAmount()); |
| | | } |
| | | if (this.isset_useCount) { |
| | | l_wh_procure_model.setUseCount(this.getUseCount()); |
| | | } |
| | | return l_wh_procure_model; |
| | | } |
| | | } |