refactor: 设置lombok

This commit is contained in:
Kelvin 2025-01-03 21:49:40 +08:00
parent f5908f1ce4
commit 57e6046dc6
2 changed files with 8 additions and 232 deletions

View File

@ -2,6 +2,8 @@ package com.ktg.mes.md.domain;
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 lombok.Getter;
import lombok.Setter;
import java.util.List; import java.util.List;
@ -11,6 +13,8 @@ import java.util.List;
* @author yinjinlu * @author yinjinlu
* @date 2024-11-01 * @date 2024-11-01
*/ */
@Setter
@Getter
public class WmsOutPlan extends BaseEntity { public class WmsOutPlan extends BaseEntity {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -76,102 +80,6 @@ public class WmsOutPlan extends BaseEntity {
*/ */
private List<WmsOutPlanDetail> wmsOutPlanDetailList; private List<WmsOutPlanDetail> 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<WmsOutPlanDetail> getWmsOutPlanDetailList() {
return wmsOutPlanDetailList;
}
public void setWmsOutPlanDetailList(List<WmsOutPlanDetail> wmsOutPlanDetailList) {
this.wmsOutPlanDetailList = wmsOutPlanDetailList;
}
public WmsBusinessType getWmsBusinessType() {
return wmsBusinessType;
}
public void setWmsBusinessType(WmsBusinessType wmsBusinessType) {
this.wmsBusinessType = wmsBusinessType;
}
@Override @Override
public String toString() { public String toString() {
return "WmsOutPlan{" + return "WmsOutPlan{" +

View File

@ -2,6 +2,8 @@ package com.ktg.mes.md.domain;
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 lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.commons.lang3.builder.ToStringStyle;
@ -11,6 +13,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
* @author yinjinlu * @author yinjinlu
* @date 2024-11-01 * @date 2024-11-01
*/ */
@Setter
@Getter
public class WmsOutPlanDetail extends BaseEntity { public class WmsOutPlanDetail extends BaseEntity {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -111,142 +115,6 @@ public class WmsOutPlanDetail extends BaseEntity {
*/ */
private Integer attr4; 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 @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)