refactor(入库计划明细): 实体修改

This commit is contained in:
LJW 2024-11-08 14:46:44 +08:00
parent d6de6d9a38
commit 703ca49d2e

View File

@ -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<WmsInPlanDetailEntity> 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<WmsInPlanDetailEntity> getWmsInPlanDetailEntityList() {
return wmsInPlanDetailEntityList;
}
public void setWmsInPlanDetailEntityList(List<WmsInPlanDetailEntity> 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();
}
}