diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetails.java b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetails.java index 108e0a3..9fa49ff 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetails.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetails.java @@ -5,6 +5,8 @@ import org.apache.commons.lang3.builder.ToStringStyle; import com.ktg.common.annotation.Excel; import com.ktg.common.core.domain.BaseEntity; +import java.util.List; + /** * 入库计划明细对象 WMS_IN_PLAN_DETAILS * @@ -20,9 +22,11 @@ public class WmsInPlanDetails extends BaseEntity /** 入库计划ID */ @Excel(name = "入库计划ID") - private String planId; + private Long planId; - /** 物料ID */ + /** + * 物料ID + */ @Excel(name = "物料ID") private String materialId; @@ -54,8 +58,9 @@ public class WmsInPlanDetails extends BaseEntity @Excel(name = "删除标识(0未删除1删除)") private String isDelete; - public void setDetailsId(Long detailsId) - { + private List wmsInPlanDetailEntityList; + + public void setDetailsId(Long detailsId) { this.detailsId = detailsId; } @@ -63,13 +68,12 @@ public class WmsInPlanDetails extends BaseEntity { return detailsId; } - public void setPlanId(String planId) - { + + public void setPlanId(Long planId) { this.planId = planId; } - public String getPlanId() - { + public Long getPlanId() { return planId; } public void setMaterialId(String materialId) @@ -145,24 +149,33 @@ public class WmsInPlanDetails extends BaseEntity return isDelete; } + public List getWmsInPlanDetailEntityList() { + return wmsInPlanDetailEntityList; + } + + public void setWmsInPlanDetailEntityList(List wmsInPlanDetailEntityList) { + this.wmsInPlanDetailEntityList = wmsInPlanDetailEntityList; + } + @Override public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("detailsId", getDetailsId()) - .append("planId", getPlanId()) - .append("materialId", getMaterialId()) - .append("batch", getBatch()) - .append("cellId", getCellId()) - .append("quantity", getQuantity()) - .append("quantityIn", getQuantityIn()) - .append("planInStatus", getPlanInStatus()) - .append("remark", getRemark()) - .append("createBy", getCreateBy()) - .append("createTime", getCreateTime()) - .append("updateBy", getUpdateBy()) - .append("updateTime", getUpdateTime()) - .append("isActivy", getIsActivy()) - .append("isDelete", getIsDelete()) - .toString(); + return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) + .append("detailsId", getDetailsId()) + .append("planId", getPlanId()) + .append("materialId", getMaterialId()) + .append("batch", getBatch()) + .append("cellId", getCellId()) + .append("quantity", getQuantity()) + .append("quantityIn", getQuantityIn()) + .append("planInStatus", getPlanInStatus()) + .append("remark", getRemark()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("isActivy", getIsActivy()) + .append("isDelete", getIsDelete()) + .append("wmsInPlanDetailEntityList", getWmsInPlanDetailEntityList()) + .toString(); } }