| | |
| | | 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() 方法 |
| | | */ |
| | | @Override |
| | | public String toString() { |
| | | return new StringBuilder() |
| | | .append("id=").append(this.id) |
| | | .append("fromProcureGoodsId=").append(this.fromProcureGoodsId) |
| | | .append("businessType=").append(this.businessType) |
| | | .append("businessId=").append(this.businessId) |
| | | .append("baseGoodsModelsId=").append(this.baseGoodsModelsId) |
| | | .append("baseGoodsModelsName=").append(this.baseGoodsModelsName) |
| | | .append("price=").append(this.price) |
| | | .append("counts=").append(this.counts) |
| | | .append("worehouseCount=").append(this.worehouseCount) |
| | | .append("supplier=").append(this.supplier) |
| | | .toString(); |
| | | .append("id=").append(this.id) |
| | | .append("fromProcureGoodsId=").append(this.fromProcureGoodsId) |
| | | .append("businessType=").append(this.businessType) |
| | | .append("businessId=").append(this.businessId) |
| | | .append("baseGoodsModelsId=").append(this.baseGoodsModelsId) |
| | | .append("baseGoodsModelsName=").append(this.baseGoodsModelsName) |
| | | .append("price=").append(this.price) |
| | | .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(); |
| | | } |
| | | |
| | | /** |
| | | * 克隆 |
| | | */ |
| | | public LWhProcureModel $clone() { |
| | | LWhProcureModel l_wh_procure_model = new LWhProcureModel(); |
| | | LWhProcureModel l_wh_procure_model = new LWhProcureModel(); |
| | | |
| | | // 数据库名称 |
| | | //l_wh_procure_model.setDatabaseName_(this.getDatabaseName_()); |
| | | |
| | | // 主键 |
| | | if (this.isset_id) { |
| | | l_wh_procure_model.setId(this.getId()); |
| | | l_wh_procure_model.setId(this.getId()); |
| | | } |
| | | // 普通属性 |
| | | if (this.isset_fromProcureGoodsId) { |
| | | l_wh_procure_model.setFromProcureGoodsId(this.getFromProcureGoodsId()); |
| | | l_wh_procure_model.setFromProcureGoodsId(this.getFromProcureGoodsId()); |
| | | } |
| | | if (this.isset_businessType) { |
| | | l_wh_procure_model.setBusinessType(this.getBusinessType()); |
| | | l_wh_procure_model.setBusinessType(this.getBusinessType()); |
| | | } |
| | | if (this.isset_businessId) { |
| | | l_wh_procure_model.setBusinessId(this.getBusinessId()); |
| | | l_wh_procure_model.setBusinessId(this.getBusinessId()); |
| | | } |
| | | if (this.isset_baseGoodsModelsId) { |
| | | l_wh_procure_model.setBaseGoodsModelsId(this.getBaseGoodsModelsId()); |
| | | l_wh_procure_model.setBaseGoodsModelsId(this.getBaseGoodsModelsId()); |
| | | } |
| | | if (this.isset_baseGoodsModelsName) { |
| | | l_wh_procure_model.setBaseGoodsModelsName(this.getBaseGoodsModelsName()); |
| | | l_wh_procure_model.setBaseGoodsModelsName(this.getBaseGoodsModelsName()); |
| | | } |
| | | if (this.isset_price) { |
| | | l_wh_procure_model.setPrice(this.getPrice()); |
| | | l_wh_procure_model.setPrice(this.getPrice()); |
| | | } |
| | | if (this.isset_counts) { |
| | | l_wh_procure_model.setCounts(this.getCounts()); |
| | | l_wh_procure_model.setCounts(this.getCounts()); |
| | | } |
| | | if (this.isset_worehouseCount) { |
| | | l_wh_procure_model.setWorehouseCount(this.getWorehouseCount()); |
| | | l_wh_procure_model.setWorehouseCount(this.getWorehouseCount()); |
| | | } |
| | | if (this.isset_supplier) { |
| | | l_wh_procure_model.setSupplier(this.getSupplier()); |
| | | l_wh_procure_model.setSupplier(this.getSupplier()); |
| | | } |
| | | if (this.isset_totalAmount) { |
| | | l_wh_procure_model.setTotalAmount(this.getTotalAmount()); |
| | | l_wh_procure_model.setTotalAmount(this.getTotalAmount()); |
| | | } |
| | | if (this.isset_useCount) { |
| | | l_wh_procure_model.setUseCount(this.getUseCount()); |
| | | } |
| | | return l_wh_procure_model; |
| | | } |