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.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity; import com.ktg.common.core.domain.BaseEntity;
import java.util.List;
/** /**
* 入库计划明细对象 WMS_IN_PLAN_DETAILS * 入库计划明细对象 WMS_IN_PLAN_DETAILS
* *
@ -20,9 +22,11 @@ public class WmsInPlanDetails extends BaseEntity
/** 入库计划ID */ /** 入库计划ID */
@Excel(name = "入库计划ID") @Excel(name = "入库计划ID")
private String planId; private Long planId;
/** 物料ID */ /**
* 物料ID
*/
@Excel(name = "物料ID") @Excel(name = "物料ID")
private String materialId; private String materialId;
@ -54,8 +58,9 @@ public class WmsInPlanDetails extends BaseEntity
@Excel(name = "删除标识(0未删除1删除)") @Excel(name = "删除标识(0未删除1删除)")
private String isDelete; private String isDelete;
public void setDetailsId(Long detailsId) private List<WmsInPlanDetailEntity> wmsInPlanDetailEntityList;
{
public void setDetailsId(Long detailsId) {
this.detailsId = detailsId; this.detailsId = detailsId;
} }
@ -63,13 +68,12 @@ public class WmsInPlanDetails extends BaseEntity
{ {
return detailsId; return detailsId;
} }
public void setPlanId(String planId)
{ public void setPlanId(Long planId) {
this.planId = planId; this.planId = planId;
} }
public String getPlanId() public Long getPlanId() {
{
return planId; return planId;
} }
public void setMaterialId(String materialId) public void setMaterialId(String materialId)
@ -145,9 +149,17 @@ public class WmsInPlanDetails extends BaseEntity
return isDelete; return isDelete;
} }
public List<WmsInPlanDetailEntity> getWmsInPlanDetailEntityList() {
return wmsInPlanDetailEntityList;
}
public void setWmsInPlanDetailEntityList(List<WmsInPlanDetailEntity> wmsInPlanDetailEntityList) {
this.wmsInPlanDetailEntityList = wmsInPlanDetailEntityList;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("detailsId", getDetailsId()) .append("detailsId", getDetailsId())
.append("planId", getPlanId()) .append("planId", getPlanId())
.append("materialId", getMaterialId()) .append("materialId", getMaterialId())
@ -163,6 +175,7 @@ public class WmsInPlanDetails extends BaseEntity
.append("updateTime", getUpdateTime()) .append("updateTime", getUpdateTime())
.append("isActivy", getIsActivy()) .append("isActivy", getIsActivy())
.append("isDelete", getIsDelete()) .append("isDelete", getIsDelete())
.append("wmsInPlanDetailEntityList", getWmsInPlanDetailEntityList())
.toString(); .toString();
} }
} }