From 57e6046dc69c46e7c826c37db601443e0a9e40f7 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Fri, 3 Jan 2025 21:49:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=AE=BE=E7=BD=AElombok?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ktg/mes/md/domain/WmsOutPlan.java | 100 +------------ .../ktg/mes/md/domain/WmsOutPlanDetail.java | 140 +----------------- 2 files changed, 8 insertions(+), 232 deletions(-) diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/domain/WmsOutPlan.java b/ktg-mes/src/main/java/com/ktg/mes/md/domain/WmsOutPlan.java index eaa6e5f..5b78526 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/domain/WmsOutPlan.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/domain/WmsOutPlan.java @@ -2,6 +2,8 @@ package com.ktg.mes.md.domain; import com.ktg.common.annotation.Excel; import com.ktg.common.core.domain.BaseEntity; +import lombok.Getter; +import lombok.Setter; import java.util.List; @@ -11,6 +13,8 @@ import java.util.List; * @author yinjinlu * @date 2024-11-01 */ +@Setter +@Getter public class WmsOutPlan extends BaseEntity { private static final long serialVersionUID = 1L; @@ -76,102 +80,6 @@ public class WmsOutPlan extends BaseEntity { */ private List wmsOutPlanDetailList; - public Long getWmsOutPlanId() { - return wmsOutPlanId; - } - - public void setWmsOutPlanId(Long wmsOutPlanId) { - this.wmsOutPlanId = wmsOutPlanId; - } - - public String getPlanCode() { - return planCode; - } - - public void setPlanCode(String planCode) { - this.planCode = planCode; - } - - public Long getWmsBusinessTypeId() { - return wmsBusinessTypeId; - } - - public void setWmsBusinessTypeId(Long wmsBusinessTypeId) { - this.wmsBusinessTypeId = wmsBusinessTypeId; - } - - public String getPlanState() { - return planState; - } - - public void setPlanState(String planState) { - this.planState = planState; - } - - public String getPlanType() { - return planType; - } - - public void setPlanType(String planType) { - this.planType = planType; - } - - public String getRecipientUsername() { - return recipientUsername; - } - - public void setRecipientUsername(String recipientUsername) { - this.recipientUsername = recipientUsername; - } - - public String getAttr1() { - return attr1; - } - - public void setAttr1(String attr1) { - this.attr1 = attr1; - } - - public String getAttr2() { - return attr2; - } - - public void setAttr2(String attr2) { - this.attr2 = attr2; - } - - public Integer getAttr3() { - return attr3; - } - - public void setAttr3(Integer attr3) { - this.attr3 = attr3; - } - - public Integer getAttr4() { - return attr4; - } - - public void setAttr4(Integer attr4) { - this.attr4 = attr4; - } - - public List getWmsOutPlanDetailList() { - return wmsOutPlanDetailList; - } - - public void setWmsOutPlanDetailList(List wmsOutPlanDetailList) { - this.wmsOutPlanDetailList = wmsOutPlanDetailList; - } - - public WmsBusinessType getWmsBusinessType() { - return wmsBusinessType; - } - - public void setWmsBusinessType(WmsBusinessType wmsBusinessType) { - this.wmsBusinessType = wmsBusinessType; - } - @Override public String toString() { return "WmsOutPlan{" + diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/domain/WmsOutPlanDetail.java b/ktg-mes/src/main/java/com/ktg/mes/md/domain/WmsOutPlanDetail.java index 46a27d2..448f6ea 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/domain/WmsOutPlanDetail.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/domain/WmsOutPlanDetail.java @@ -2,6 +2,8 @@ package com.ktg.mes.md.domain; import com.ktg.common.annotation.Excel; import com.ktg.common.core.domain.BaseEntity; +import lombok.Getter; +import lombok.Setter; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; @@ -11,6 +13,8 @@ import org.apache.commons.lang3.builder.ToStringStyle; * @author yinjinlu * @date 2024-11-01 */ +@Setter +@Getter public class WmsOutPlanDetail extends BaseEntity { private static final long serialVersionUID = 1L; @@ -111,142 +115,6 @@ public class WmsOutPlanDetail extends BaseEntity { */ private Integer attr4; - public Long getWmsOutPlanDetailId() { - return wmsOutPlanDetailId; - } - - public void setWmsOutPlanDetailId(Long wmsOutPlanDetailId) { - this.wmsOutPlanDetailId = wmsOutPlanDetailId; - } - - public Long getWmsOutPlanId() { - return wmsOutPlanId; - } - - public void setWmsOutPlanId(Long wmsOutPlanId) { - this.wmsOutPlanId = wmsOutPlanId; - } - - public Long getMdItemId() { - return mdItemId; - } - - public void setMdItemId(Long mdItemId) { - this.mdItemId = mdItemId; - } - - public String getMdItemCode() { - return mdItemCode; - } - - public void setMdItemCode(String mdItemCode) { - this.mdItemCode = mdItemCode; - } - - public String getMdItemName() { - return mdItemName; - } - - public void setMdItemName(String mdItemName) { - this.mdItemName = mdItemName; - } - - public String getMdItemUnit() { - return mdItemUnit; - } - - public void setMdItemUnit(String mdItemUnit) { - this.mdItemUnit = mdItemUnit; - } - - public Integer getPlannedQuantity() { - return plannedQuantity; - } - - public void setPlannedQuantity(Integer plannedQuantity) { - this.plannedQuantity = plannedQuantity; - } - - public Integer getRealQuantity() { - return realQuantity; - } - - public void setRealQuantity(Integer realQuantity) { - this.realQuantity = realQuantity; - } - - public String getDetailBatchNum() { - return detailBatchNum; - } - - public void setDetailBatchNum(String detailBatchNum) { - this.detailBatchNum = detailBatchNum; - } - - public Long getWmStorageAreaId() { - return wmStorageAreaId; - } - - public void setWmStorageAreaId(Long wmStorageAreaId) { - this.wmStorageAreaId = wmStorageAreaId; - } - - public String getWmStorageAreaCode() { - return wmStorageAreaCode; - } - - public void setWmStorageAreaCode(String wmStorageAreaCode) { - this.wmStorageAreaCode = wmStorageAreaCode; - } - - public String getWmStorageAreaName() { - return wmStorageAreaName; - } - - public void setWmStorageAreaName(String wmStorageAreaName) { - this.wmStorageAreaName = wmStorageAreaName; - } - - public String getDetailState() { - return detailState; - } - - public void setDetailState(String detailState) { - this.detailState = detailState; - } - - public String getAttr1() { - return attr1; - } - - public void setAttr1(String attr1) { - this.attr1 = attr1; - } - - public String getAttr2() { - return attr2; - } - - public void setAttr2(String attr2) { - this.attr2 = attr2; - } - - public Integer getAttr3() { - return attr3; - } - - public void setAttr3(Integer attr3) { - this.attr3 = attr3; - } - - public Integer getAttr4() { - return attr4; - } - - public void setAttr4(Integer attr4) { - this.attr4 = attr4; - } - @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)