|
|
@ -1,7 +1,10 @@ |
|
|
|
package com.ruoyi.purchase.domain; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
import com.ruoyi.warehouse.domain.WarehouseStorageOrderDetail; |
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle; |
|
|
|
import com.ruoyi.common.annotation.Excel; |
|
|
@ -17,60 +20,66 @@ public class PurchaseStorage extends BaseEntity |
|
|
|
{ |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
|
|
|
|
/** 采购入库单id */ |
|
|
|
private Long purchaseStorageId; |
|
|
|
/** 入库单id */ |
|
|
|
private Long warehouseStorageId; |
|
|
|
|
|
|
|
/** 入库单号 */ |
|
|
|
@Excel(name = "入库单号") |
|
|
|
private String purchaseStorageCode; |
|
|
|
private String warehouseStorageCode; |
|
|
|
|
|
|
|
/** 关联订单号 */ |
|
|
|
@Excel(name = "关联订单号") |
|
|
|
private String purchaseOrderCode; |
|
|
|
/** 关联订单号(多种订单类型) */ |
|
|
|
@Excel(name = "关联订单号", readConverterExp = "多=种订单类型") |
|
|
|
private String relatedOrderCode; |
|
|
|
|
|
|
|
/** 入库状态 */ |
|
|
|
@Excel(name = "入库状态") |
|
|
|
private String storageStatus; |
|
|
|
/** 仓库入库状态 */ |
|
|
|
@Excel(name = "仓库入库状态") |
|
|
|
private String warehouseStorageStatus; |
|
|
|
|
|
|
|
/** 品质状态 */ |
|
|
|
@Excel(name = "品质状态") |
|
|
|
private String qualityStatus; |
|
|
|
/** 仓库品质状态 */ |
|
|
|
@Excel(name = "仓库品质状态") |
|
|
|
private String warehouseQualityStatus; |
|
|
|
|
|
|
|
/** 入库类型 */ |
|
|
|
@Excel(name = "入库类型") |
|
|
|
private String purchaseStorageType; |
|
|
|
/** 仓库入库类型 */ |
|
|
|
@Excel(name = "仓库入库类型") |
|
|
|
private String warehouseStorageType; |
|
|
|
|
|
|
|
/** 订单类型 */ |
|
|
|
@Excel(name = "订单类型") |
|
|
|
private String purchaseOrderType; |
|
|
|
/** 仓库订单类型 */ |
|
|
|
@Excel(name = "仓库订单类型") |
|
|
|
private String warehouseOrderType; |
|
|
|
|
|
|
|
/** 入库部门 */ |
|
|
|
@Excel(name = "入库部门") |
|
|
|
private String purchaseDeptType; |
|
|
|
/** 仓库入库部门类型 */ |
|
|
|
@Excel(name = "仓库入库部门类型") |
|
|
|
private String warehouseDeptType; |
|
|
|
|
|
|
|
/** 通知已到货数量 */ |
|
|
|
@Excel(name = "通知已到货数量") |
|
|
|
private Long notifyArrivedNum; |
|
|
|
private Integer notifyArrivedNum; |
|
|
|
|
|
|
|
/** 实际已到货数量 */ |
|
|
|
@Excel(name = "实际已到货数量") |
|
|
|
private Long actualArrivedNum; |
|
|
|
private Integer actualArrivedNum; |
|
|
|
|
|
|
|
/** 暂收合格数量 */ |
|
|
|
@Excel(name = "暂收合格数量") |
|
|
|
private Long temporaryQualifiedNum; |
|
|
|
private Integer temporaryQualifiedNum; |
|
|
|
|
|
|
|
/** 暂收不合格数量 */ |
|
|
|
@Excel(name = "暂收不合格数量") |
|
|
|
private Long temporaryUnqualifiedNum; |
|
|
|
private Integer temporaryUnqualifiedNum; |
|
|
|
|
|
|
|
/** 品质合格数量 */ |
|
|
|
@Excel(name = "品质合格数量") |
|
|
|
private Long qualityQualifiedNum; |
|
|
|
private Integer qualityQualifiedNum; |
|
|
|
|
|
|
|
|
|
|
|
/** 品质不合格数量 */ |
|
|
|
@Excel(name = "品质不合格数量") |
|
|
|
private Integer qualityUnqualifiedNum; |
|
|
|
|
|
|
|
|
|
|
|
/** 入库数量 */ |
|
|
|
@Excel(name = "入库数量") |
|
|
|
private Long storageNum; |
|
|
|
private Integer storageNum; |
|
|
|
|
|
|
|
/** 到货时间 */ |
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd") |
|
|
@ -97,246 +106,281 @@ public class PurchaseStorage extends BaseEntity |
|
|
|
@Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd") |
|
|
|
private Date storageTime; |
|
|
|
|
|
|
|
/** 仓库员 */ |
|
|
|
@Excel(name = "仓库员") |
|
|
|
private String storageEmployee; |
|
|
|
/** 仓库员工 */ |
|
|
|
@Excel(name = "仓库员工") |
|
|
|
private String warehouseEmployee; |
|
|
|
|
|
|
|
/** 仓库ID */ |
|
|
|
@Excel(name = "仓库ID") |
|
|
|
private Long stockId; |
|
|
|
private String warehouseCode; |
|
|
|
|
|
|
|
/** 仓库名称 */ |
|
|
|
@Excel(name = "仓库名称") |
|
|
|
private String stockName; |
|
|
|
private String warehouseName; |
|
|
|
|
|
|
|
/** 仓库详细地址 */ |
|
|
|
@Excel(name = "仓库详细地址") |
|
|
|
private String warehouseDetailAddress; |
|
|
|
|
|
|
|
public void setPurchaseStorageId(Long purchaseStorageId) |
|
|
|
/** 仓库入库单详情 */ |
|
|
|
@Excel(name = "仓库名称") |
|
|
|
private List<WarehouseStorageOrderDetail> warehouseStorageOrderDetailList; |
|
|
|
public void setWarehouseStorageId(Long warehouseStorageId) |
|
|
|
{ |
|
|
|
this.purchaseStorageId = purchaseStorageId; |
|
|
|
this.warehouseStorageId = warehouseStorageId; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getPurchaseStorageId() |
|
|
|
public Long getWarehouseStorageId() |
|
|
|
{ |
|
|
|
return purchaseStorageId; |
|
|
|
return warehouseStorageId; |
|
|
|
} |
|
|
|
public void setPurchaseStorageCode(String purchaseStorageCode) |
|
|
|
public void setWarehouseStorageCode(String warehouseStorageCode) |
|
|
|
{ |
|
|
|
this.purchaseStorageCode = purchaseStorageCode; |
|
|
|
this.warehouseStorageCode = warehouseStorageCode; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPurchaseStorageCode() |
|
|
|
public String getWarehouseStorageCode() |
|
|
|
{ |
|
|
|
return purchaseStorageCode; |
|
|
|
return warehouseStorageCode; |
|
|
|
} |
|
|
|
public void setPurchaseOrderCode(String purchaseOrderCode) |
|
|
|
public void setRelatedOrderCode(String relatedOrderCode) |
|
|
|
{ |
|
|
|
this.purchaseOrderCode = purchaseOrderCode; |
|
|
|
this.relatedOrderCode = relatedOrderCode; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPurchaseOrderCode() |
|
|
|
public String getRelatedOrderCode() |
|
|
|
{ |
|
|
|
return purchaseOrderCode; |
|
|
|
return relatedOrderCode; |
|
|
|
} |
|
|
|
public void setStorageStatus(String storageStatus) |
|
|
|
public void setWarehouseStorageStatus(String warehouseStorageStatus) |
|
|
|
{ |
|
|
|
this.storageStatus = storageStatus; |
|
|
|
this.warehouseStorageStatus = warehouseStorageStatus; |
|
|
|
} |
|
|
|
|
|
|
|
public String getStorageStatus() |
|
|
|
public String getWarehouseStorageStatus() |
|
|
|
{ |
|
|
|
return storageStatus; |
|
|
|
return warehouseStorageStatus; |
|
|
|
} |
|
|
|
public void setQualityStatus(String qualityStatus) |
|
|
|
public void setWarehouseQualityStatus(String warehouseQualityStatus) |
|
|
|
{ |
|
|
|
this.qualityStatus = qualityStatus; |
|
|
|
this.warehouseQualityStatus = warehouseQualityStatus; |
|
|
|
} |
|
|
|
|
|
|
|
public String getQualityStatus() |
|
|
|
public String getWarehouseQualityStatus() |
|
|
|
{ |
|
|
|
return qualityStatus; |
|
|
|
return warehouseQualityStatus; |
|
|
|
} |
|
|
|
public void setPurchaseStorageType(String purchaseStorageType) |
|
|
|
public void setWarehouseStorageType(String warehouseStorageType) |
|
|
|
{ |
|
|
|
this.purchaseStorageType = purchaseStorageType; |
|
|
|
this.warehouseStorageType = warehouseStorageType; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPurchaseStorageType() |
|
|
|
public String getWarehouseStorageType() |
|
|
|
{ |
|
|
|
return purchaseStorageType; |
|
|
|
return warehouseStorageType; |
|
|
|
} |
|
|
|
public void setPurchaseOrderType(String purchaseOrderType) |
|
|
|
public void setWarehouseOrderType(String warehouseOrderType) |
|
|
|
{ |
|
|
|
this.purchaseOrderType = purchaseOrderType; |
|
|
|
this.warehouseOrderType = warehouseOrderType; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPurchaseOrderType() |
|
|
|
public String getWarehouseOrderType() |
|
|
|
{ |
|
|
|
return purchaseOrderType; |
|
|
|
return warehouseOrderType; |
|
|
|
} |
|
|
|
public void setPurchaseDeptType(String purchaseDeptType) |
|
|
|
public void setWarehouseDeptType(String warehouseDeptType) |
|
|
|
{ |
|
|
|
this.purchaseDeptType = purchaseDeptType; |
|
|
|
this.warehouseDeptType = warehouseDeptType; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPurchaseDeptType() |
|
|
|
public String getWarehouseDeptType() |
|
|
|
{ |
|
|
|
return purchaseDeptType; |
|
|
|
return warehouseDeptType; |
|
|
|
} |
|
|
|
public void setNotifyArrivedNum(Long notifyArrivedNum) |
|
|
|
public void setNotifyArrivedNum(Integer notifyArrivedNum) |
|
|
|
{ |
|
|
|
this.notifyArrivedNum = notifyArrivedNum; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getNotifyArrivedNum() |
|
|
|
public Integer getNotifyArrivedNum() |
|
|
|
{ |
|
|
|
return notifyArrivedNum; |
|
|
|
} |
|
|
|
public void setActualArrivedNum(Long actualArrivedNum) |
|
|
|
public void setActualArrivedNum(Integer actualArrivedNum) |
|
|
|
{ |
|
|
|
this.actualArrivedNum = actualArrivedNum; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getActualArrivedNum() |
|
|
|
public Integer getActualArrivedNum() |
|
|
|
{ |
|
|
|
return actualArrivedNum; |
|
|
|
} |
|
|
|
public void setTemporaryQualifiedNum(Long temporaryQualifiedNum) |
|
|
|
public void setTemporaryQualifiedNum(Integer temporaryQualifiedNum) |
|
|
|
{ |
|
|
|
this.temporaryQualifiedNum = temporaryQualifiedNum; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getTemporaryQualifiedNum() |
|
|
|
public Integer getTemporaryQualifiedNum() |
|
|
|
{ |
|
|
|
return temporaryQualifiedNum; |
|
|
|
} |
|
|
|
public void setTemporaryUnqualifiedNum(Long temporaryUnqualifiedNum) |
|
|
|
public void setTemporaryUnqualifiedNum(Integer temporaryUnqualifiedNum) |
|
|
|
{ |
|
|
|
this.temporaryUnqualifiedNum = temporaryUnqualifiedNum; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getTemporaryUnqualifiedNum() |
|
|
|
public Integer getTemporaryUnqualifiedNum() |
|
|
|
{ |
|
|
|
return temporaryUnqualifiedNum; |
|
|
|
} |
|
|
|
public void setQualityQualifiedNum(Long qualityQualifiedNum) |
|
|
|
public void setQualityQualifiedNum(Integer qualityQualifiedNum) |
|
|
|
{ |
|
|
|
this.qualityQualifiedNum = qualityQualifiedNum; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getQualityQualifiedNum() |
|
|
|
public Integer getQualityQualifiedNum() |
|
|
|
{ |
|
|
|
return qualityQualifiedNum; |
|
|
|
} |
|
|
|
public void setStorageNum(Long storageNum) |
|
|
|
|
|
|
|
public Integer getQualityUnqualifiedNum() { |
|
|
|
return qualityUnqualifiedNum; |
|
|
|
} |
|
|
|
|
|
|
|
public void setQualityUnqualifiedNum(Integer qualityUnqualifiedNum) { |
|
|
|
this.qualityUnqualifiedNum = qualityUnqualifiedNum; |
|
|
|
} |
|
|
|
|
|
|
|
public void setStorageNum(Integer storageNum) |
|
|
|
{ |
|
|
|
this.storageNum = storageNum; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getStorageNum() |
|
|
|
public Integer getStorageNum() |
|
|
|
{ |
|
|
|
return storageNum; |
|
|
|
} |
|
|
|
public void setArrivedTime(Date arrivedTime) |
|
|
|
public void setArrivedTime(Date arrivedTime) |
|
|
|
{ |
|
|
|
this.arrivedTime = arrivedTime; |
|
|
|
} |
|
|
|
|
|
|
|
public Date getArrivedTime() |
|
|
|
public Date getArrivedTime() |
|
|
|
{ |
|
|
|
return arrivedTime; |
|
|
|
} |
|
|
|
public void setTemporaryTime(Date temporaryTime) |
|
|
|
public void setTemporaryTime(Date temporaryTime) |
|
|
|
{ |
|
|
|
this.temporaryTime = temporaryTime; |
|
|
|
} |
|
|
|
|
|
|
|
public Date getTemporaryTime() |
|
|
|
public Date getTemporaryTime() |
|
|
|
{ |
|
|
|
return temporaryTime; |
|
|
|
} |
|
|
|
public void setDeliveryInspectionTime(Date deliveryInspectionTime) |
|
|
|
public void setDeliveryInspectionTime(Date deliveryInspectionTime) |
|
|
|
{ |
|
|
|
this.deliveryInspectionTime = deliveryInspectionTime; |
|
|
|
} |
|
|
|
|
|
|
|
public Date getDeliveryInspectionTime() |
|
|
|
public Date getDeliveryInspectionTime() |
|
|
|
{ |
|
|
|
return deliveryInspectionTime; |
|
|
|
} |
|
|
|
public void setQualityTime(Date qualityTime) |
|
|
|
public void setQualityTime(Date qualityTime) |
|
|
|
{ |
|
|
|
this.qualityTime = qualityTime; |
|
|
|
} |
|
|
|
|
|
|
|
public Date getQualityTime() |
|
|
|
public Date getQualityTime() |
|
|
|
{ |
|
|
|
return qualityTime; |
|
|
|
} |
|
|
|
public void setStorageTime(Date storageTime) |
|
|
|
public void setStorageTime(Date storageTime) |
|
|
|
{ |
|
|
|
this.storageTime = storageTime; |
|
|
|
} |
|
|
|
|
|
|
|
public Date getStorageTime() |
|
|
|
public Date getStorageTime() |
|
|
|
{ |
|
|
|
return storageTime; |
|
|
|
} |
|
|
|
public void setStorageEmployee(String storageEmployee) |
|
|
|
public void setWarehouseEmployee(String warehouseEmployee) |
|
|
|
{ |
|
|
|
this.storageEmployee = storageEmployee; |
|
|
|
this.warehouseEmployee = warehouseEmployee; |
|
|
|
} |
|
|
|
|
|
|
|
public String getStorageEmployee() |
|
|
|
public String getWarehouseEmployee() |
|
|
|
{ |
|
|
|
return storageEmployee; |
|
|
|
return warehouseEmployee; |
|
|
|
} |
|
|
|
public void setStockId(Long stockId) |
|
|
|
public void setWarehouseCode(String warehouseCode) |
|
|
|
{ |
|
|
|
this.stockId = stockId; |
|
|
|
this.warehouseCode = warehouseCode; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getStockId() |
|
|
|
public String getWarehouseCode() |
|
|
|
{ |
|
|
|
return stockId; |
|
|
|
return warehouseCode; |
|
|
|
} |
|
|
|
public void setStockName(String stockName) |
|
|
|
public void setWarehouseName(String warehouseName) |
|
|
|
{ |
|
|
|
this.stockName = stockName; |
|
|
|
this.warehouseName = warehouseName; |
|
|
|
} |
|
|
|
|
|
|
|
public String getStockName() |
|
|
|
public String getWarehouseName() |
|
|
|
{ |
|
|
|
return stockName; |
|
|
|
return warehouseName; |
|
|
|
} |
|
|
|
|
|
|
|
public String getWarehouseDetailAddress() { |
|
|
|
return warehouseDetailAddress; |
|
|
|
} |
|
|
|
|
|
|
|
public void setWarehouseDetailAddress(String warehouseDetailAddress) { |
|
|
|
this.warehouseDetailAddress = warehouseDetailAddress; |
|
|
|
} |
|
|
|
|
|
|
|
public List<WarehouseStorageOrderDetail> getWarehouseStorageOrderDetailList() { |
|
|
|
return warehouseStorageOrderDetailList; |
|
|
|
} |
|
|
|
|
|
|
|
public void setWarehouseStorageOrderDetailList(List<WarehouseStorageOrderDetail> warehouseStorageOrderDetailList) { |
|
|
|
this.warehouseStorageOrderDetailList = warehouseStorageOrderDetailList; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
|
|
.append("purchaseStorageId", getPurchaseStorageId()) |
|
|
|
.append("purchaseStorageCode", getPurchaseStorageCode()) |
|
|
|
.append("purchaseOrderCode", getPurchaseOrderCode()) |
|
|
|
.append("storageStatus", getStorageStatus()) |
|
|
|
.append("qualityStatus", getQualityStatus()) |
|
|
|
.append("purchaseStorageType", getPurchaseStorageType()) |
|
|
|
.append("purchaseOrderType", getPurchaseOrderType()) |
|
|
|
.append("purchaseDeptType", getPurchaseDeptType()) |
|
|
|
.append("notifyArrivedNum", getNotifyArrivedNum()) |
|
|
|
.append("actualArrivedNum", getActualArrivedNum()) |
|
|
|
.append("temporaryQualifiedNum", getTemporaryQualifiedNum()) |
|
|
|
.append("temporaryUnqualifiedNum", getTemporaryUnqualifiedNum()) |
|
|
|
.append("qualityQualifiedNum", getQualityQualifiedNum()) |
|
|
|
.append("storageNum", getStorageNum()) |
|
|
|
.append("arrivedTime", getArrivedTime()) |
|
|
|
.append("temporaryTime", getTemporaryTime()) |
|
|
|
.append("deliveryInspectionTime", getDeliveryInspectionTime()) |
|
|
|
.append("qualityTime", getQualityTime()) |
|
|
|
.append("storageTime", getStorageTime()) |
|
|
|
.append("storageEmployee", getStorageEmployee()) |
|
|
|
.append("stockId", getStockId()) |
|
|
|
.append("stockName", getStockName()) |
|
|
|
.append("createTime", getCreateTime()) |
|
|
|
.append("createBy", getCreateBy()) |
|
|
|
.append("updateBy", getUpdateBy()) |
|
|
|
.append("updateTime", getUpdateTime()) |
|
|
|
.toString(); |
|
|
|
.append("warehouseStorageId", getWarehouseStorageId()) |
|
|
|
.append("warehouseStorageCode", getWarehouseStorageCode()) |
|
|
|
.append("relatedOrderCode", getRelatedOrderCode()) |
|
|
|
.append("warehouseStorageStatus", getWarehouseStorageStatus()) |
|
|
|
.append("warehouseQualityStatus", getWarehouseQualityStatus()) |
|
|
|
.append("warehouseStorageType", getWarehouseStorageType()) |
|
|
|
.append("warehouseOrderType", getWarehouseOrderType()) |
|
|
|
.append("warehouseDeptType", getWarehouseDeptType()) |
|
|
|
.append("notifyArrivedNum", getNotifyArrivedNum()) |
|
|
|
.append("actualArrivedNum", getActualArrivedNum()) |
|
|
|
.append("temporaryQualifiedNum", getTemporaryQualifiedNum()) |
|
|
|
.append("temporaryUnqualifiedNum", getTemporaryUnqualifiedNum()) |
|
|
|
.append("qualityQualifiedNum", getQualityQualifiedNum()) |
|
|
|
.append("qualityUnqualifiedNum", getQualityUnqualifiedNum()) |
|
|
|
.append("storageNum", getStorageNum()) |
|
|
|
.append("arrivedTime", getArrivedTime()) |
|
|
|
.append("temporaryTime", getTemporaryTime()) |
|
|
|
.append("deliveryInspectionTime", getDeliveryInspectionTime()) |
|
|
|
.append("qualityTime", getQualityTime()) |
|
|
|
.append("storageTime", getStorageTime()) |
|
|
|
.append("warehouseEmployee", getWarehouseEmployee()) |
|
|
|
.append("warehouseCode", getWarehouseCode()) |
|
|
|
.append("warehouseName", getWarehouseName()) |
|
|
|
.append("warehouseDetailAddress",getWarehouseDetailAddress()) |
|
|
|
.append("createTime", getCreateTime()) |
|
|
|
.append("createBy", getCreateBy()) |
|
|
|
.append("updateBy", getUpdateBy()) |
|
|
|
.append("updateTime", getUpdateTime()) |
|
|
|
.append("warehouseStorageOrderDetailList",getWarehouseStorageOrderDetailList()) |
|
|
|
.toString(); |
|
|
|
} |
|
|
|
} |
|
|
|