refactor: lombok

This commit is contained in:
Kelvin 2025-01-03 14:56:22 +08:00
parent eaf2b3ee82
commit 89eeea78a5

View File

@ -4,6 +4,8 @@ import com.fasterxml.jackson.annotation.JsonFormat;
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 com.ktg.mes.wm.domain.WmsInPlanDetailEntity; import com.ktg.mes.wm.domain.WmsInPlanDetailEntity;
import lombok.Getter;
import lombok.Setter;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
@ -15,6 +17,8 @@ import java.util.List;
* @author yinjinlu * @author yinjinlu
* @date 2024-10-31 * @date 2024-10-31
*/ */
@Setter
@Getter
public class BaseKnife extends BaseEntity { public class BaseKnife extends BaseEntity {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -177,254 +181,6 @@ public class BaseKnife extends BaseEntity {
*/ */
private List<BaseKnife> baseKnifeList; private List<BaseKnife> baseKnifeList;
public Long getBaseKnifeId() {
return baseKnifeId;
}
public void setBaseKnifeId(Long baseKnifeId) {
this.baseKnifeId = baseKnifeId;
}
public Long getMbbBdMrlId() {
return mbbBdMrlId;
}
public void setMbbBdMrlId(Long mbbBdMrlId) {
this.mbbBdMrlId = mbbBdMrlId;
}
public String getRfid() {
return rfid;
}
public void setRfid(String rfid) {
this.rfid = rfid;
}
public String getKnifeCode() {
return knifeCode;
}
public List<BaseKnife> getBaseKnifeList() {
return baseKnifeList;
}
public void setBaseKnifeList(List<BaseKnife> baseKnifeList) {
this.baseKnifeList = baseKnifeList;
}
public Integer getIsLocked() {
return isLocked;
}
public void setIsLocked(Integer isLocked) {
this.isLocked = isLocked;
}
public Date getLockedStartTime() {
return lockedStartTime;
}
public void setLockedStartTime(Date lockedStartTime) {
this.lockedStartTime = lockedStartTime;
}
public Date getLockedEndTime() {
return lockedEndTime;
}
public void setLockedEndTime(Date lockedEndTime) {
this.lockedEndTime = lockedEndTime;
}
public String getPlanSheet() {
return planSheet;
}
public void setPlanSheet(String planSheet) {
this.planSheet = planSheet;
}
public Integer getResetCount() {
return resetCount;
}
public void setResetCount(Integer resetCount) {
this.resetCount = resetCount;
}
public void setKnifeCode(String knifeCode) {
this.knifeCode = knifeCode;
}
public String getKnifeName() {
return knifeName;
}
public void setKnifeName(String knifeName) {
this.knifeName = knifeName;
}
public String getKnifeUnit() {
return knifeUnit;
}
public void setKnifeUnit(String knifeUnit) {
this.knifeUnit = knifeUnit;
}
public String getKnifeType() {
return knifeType;
}
public void setKnifeType(String knifeType) {
this.knifeType = knifeType;
}
public Integer getSafeStock() {
return safeStock;
}
public String getItemOrProduct() {
return itemOrProduct;
}
public void setItemOrProduct(String itemOrProduct) {
this.itemOrProduct = itemOrProduct;
}
public void setSafeStock(Integer safeStock) {
this.safeStock = safeStock;
}
public String getStandardQuantity() {
return standardQuantity;
}
public void setStandardQuantity(String standardQuantity) {
this.standardQuantity = standardQuantity;
}
public String getAreaCode() {
return areaCode;
}
public void setAreaCode(String areaCode) {
this.areaCode = areaCode;
}
public Integer getKnifeLife() {
return knifeLife;
}
public void setKnifeLife(Integer knifeLife) {
this.knifeLife = knifeLife;
}
public Integer getKnifeFineState() {
return knifeFineState;
}
public void setKnifeFineState(Integer knifeFineState) {
this.knifeFineState = knifeFineState;
}
public Long getAttr1() {
return attr1;
}
public void setAttr1(Long attr1) {
this.attr1 = attr1;
}
public String getAttr2() {
return attr2;
}
public void setAttr2(String attr2) {
this.attr2 = attr2;
}
public String getAttr3() {
return attr3;
}
public void setAttr3(String attr3) {
this.attr3 = attr3;
}
public String getAttr4() {
return attr4;
}
public void setAttr4(String attr4) {
this.attr4 = attr4;
}
public List<MdItem> getMdItemList() {
return mdItemList;
}
public void setMdItemList(List<MdItem> mdItemList) {
this.mdItemList = mdItemList;
}
public Date getScrapTime() {
return scrapTime;
}
public void setScrapTime(Date scrapTime) {
this.scrapTime = scrapTime;
}
public List<HashMap<String, Object>> getOutInfoList() {
return outInfoList;
}
public void setOutInfoList(List<HashMap<String, Object>> outInfoList) {
this.outInfoList = outInfoList;
}
public List<WmsInPlanDetailEntity> getInInfoList() {
return inInfoList;
}
public void setInInfoList(List<WmsInPlanDetailEntity> inInfoList) {
this.inInfoList = inInfoList;
}
public Long getParentId() {
return parentId;
}
public void setParentId(Long parentId) {
this.parentId = parentId;
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
public Long getZdTaskId() {
return zdTaskId;
}
public void setZdTaskId(Long zdTaskId) {
this.zdTaskId = zdTaskId;
}
public String getAreaName() {
return areaName;
}
public void setAreaName(String areaName) {
this.areaName = areaName;
}
@Override @Override
public String toString() { public String toString() {
return "BaseKnife{" + return "BaseKnife{" +