|
@@ -1,6 +1,7 @@
|
|
package com.jeeplus.modules.sg.managementcenter.materialplan.entity;
|
|
package com.jeeplus.modules.sg.managementcenter.materialplan.entity;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
+import com.jeeplus.common.utils.excel.annotation.ExcelField;
|
|
import com.jeeplus.core.persistence.DataEntity;
|
|
import com.jeeplus.core.persistence.DataEntity;
|
|
|
|
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
@@ -23,6 +24,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
private String numberFrozen;//冻结数量
|
|
private String numberFrozen;//冻结数量
|
|
private String supplierName;//供应商名称
|
|
private String supplierName;//供应商名称
|
|
|
|
|
|
|
|
+ @ExcelField(title="物资唯一码", align=2, sort=1)
|
|
public String getUniqueCode() {
|
|
public String getUniqueCode() {
|
|
return uniqueCode;
|
|
return uniqueCode;
|
|
}
|
|
}
|
|
@@ -30,7 +32,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setUniqueCode(String uniqueCode) {
|
|
public void setUniqueCode(String uniqueCode) {
|
|
this.uniqueCode = uniqueCode;
|
|
this.uniqueCode = uniqueCode;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="需求物资编码", align=2, sort=2)
|
|
public String getRequireCoding() {
|
|
public String getRequireCoding() {
|
|
return requireCoding;
|
|
return requireCoding;
|
|
}
|
|
}
|
|
@@ -38,7 +40,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setRequireCoding(String requireCoding) {
|
|
public void setRequireCoding(String requireCoding) {
|
|
this.requireCoding = requireCoding;
|
|
this.requireCoding = requireCoding;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="物料描述", align=2, sort=3)
|
|
public String getDescription() {
|
|
public String getDescription() {
|
|
return description;
|
|
return description;
|
|
}
|
|
}
|
|
@@ -46,7 +48,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setDescription(String description) {
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
this.description = description;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="物料扩展编码", align=2, sort=4)
|
|
public String getExpansionCode() {
|
|
public String getExpansionCode() {
|
|
return expansionCode;
|
|
return expansionCode;
|
|
}
|
|
}
|
|
@@ -54,7 +56,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setExpansionCode(String expansionCode) {
|
|
public void setExpansionCode(String expansionCode) {
|
|
this.expansionCode = expansionCode;
|
|
this.expansionCode = expansionCode;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="物料扩展描述", align=2, sort=5)
|
|
public String getExpansionDescription() {
|
|
public String getExpansionDescription() {
|
|
return expansionDescription;
|
|
return expansionDescription;
|
|
}
|
|
}
|
|
@@ -62,7 +64,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setExpansionDescription(String expansionDescription) {
|
|
public void setExpansionDescription(String expansionDescription) {
|
|
this.expansionDescription = expansionDescription;
|
|
this.expansionDescription = expansionDescription;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="大类描述", align=2, sort=6)
|
|
public String getBigDescribe() {
|
|
public String getBigDescribe() {
|
|
return bigDescribe;
|
|
return bigDescribe;
|
|
}
|
|
}
|
|
@@ -70,7 +72,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setBigDescribe(String bigDescribe) {
|
|
public void setBigDescribe(String bigDescribe) {
|
|
this.bigDescribe = bigDescribe;
|
|
this.bigDescribe = bigDescribe;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="中类描述", align=2, sort=7)
|
|
public String getModerateDescribe() {
|
|
public String getModerateDescribe() {
|
|
return moderateDescribe;
|
|
return moderateDescribe;
|
|
}
|
|
}
|
|
@@ -78,7 +80,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setModerateDescribe(String moderateDescribe) {
|
|
public void setModerateDescribe(String moderateDescribe) {
|
|
this.moderateDescribe = moderateDescribe;
|
|
this.moderateDescribe = moderateDescribe;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="小类描述", align=2, sort=8)
|
|
public String getSmallDescribe() {
|
|
public String getSmallDescribe() {
|
|
return smallDescribe;
|
|
return smallDescribe;
|
|
}
|
|
}
|
|
@@ -86,7 +88,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setSmallDescribe(String smallDescribe) {
|
|
public void setSmallDescribe(String smallDescribe) {
|
|
this.smallDescribe = smallDescribe;
|
|
this.smallDescribe = smallDescribe;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="需求数量", align=2, sort=9)
|
|
public String getRequireNumber() {
|
|
public String getRequireNumber() {
|
|
return requireNumber;
|
|
return requireNumber;
|
|
}
|
|
}
|
|
@@ -94,7 +96,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setRequireNumber(String requireNumber) {
|
|
public void setRequireNumber(String requireNumber) {
|
|
this.requireNumber = requireNumber;
|
|
this.requireNumber = requireNumber;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="单位", align=2, sort=10)
|
|
public String getUtil() {
|
|
public String getUtil() {
|
|
return util;
|
|
return util;
|
|
}
|
|
}
|
|
@@ -102,7 +104,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setUtil(String util) {
|
|
public void setUtil(String util) {
|
|
this.util = util;
|
|
this.util = util;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="计划批次", align=2, sort=11)
|
|
public String getPlanToBatch() {
|
|
public String getPlanToBatch() {
|
|
return planToBatch;
|
|
return planToBatch;
|
|
}
|
|
}
|
|
@@ -110,15 +112,16 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setPlanToBatch(String planToBatch) {
|
|
public void setPlanToBatch(String planToBatch) {
|
|
this.planToBatch = planToBatch;
|
|
this.planToBatch = planToBatch;
|
|
}
|
|
}
|
|
- @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
|
|
|
+ @ExcelField(title="供货计划到日", align=2, sort=12)
|
|
|
|
+ @JsonFormat(pattern = "YYYY-MM-DD HH:mm:ss")
|
|
public Date getDeliverySchedule() {
|
|
public Date getDeliverySchedule() {
|
|
return deliverySchedule;
|
|
return deliverySchedule;
|
|
}
|
|
}
|
|
- @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
|
|
|
+ @JsonFormat(pattern = "YYYY-MM-DD HH:mm:ss")
|
|
public void setDeliverySchedule(Date deliverySchedule) {
|
|
public void setDeliverySchedule(Date deliverySchedule) {
|
|
this.deliverySchedule = deliverySchedule;
|
|
this.deliverySchedule = deliverySchedule;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ @ExcelField(title="是否入库", align=2, sort=13)
|
|
public String getFlagStorage() {
|
|
public String getFlagStorage() {
|
|
return flagStorage;
|
|
return flagStorage;
|
|
}
|
|
}
|
|
@@ -126,6 +129,8 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
public void setFlagStorage(String flagStorage) {
|
|
public void setFlagStorage(String flagStorage) {
|
|
this.flagStorage = flagStorage;
|
|
this.flagStorage = flagStorage;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @ExcelField(title="库存数量", align=2, sort=14)
|
|
public String getInventoryQuantity() {
|
|
public String getInventoryQuantity() {
|
|
return inventoryQuantity;
|
|
return inventoryQuantity;
|
|
}
|
|
}
|
|
@@ -133,6 +138,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
this.inventoryQuantity = inventoryQuantity;
|
|
this.inventoryQuantity = inventoryQuantity;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ExcelField(title="冻结数量", align=2, sort=15)
|
|
public String getNumberFrozen() {
|
|
public String getNumberFrozen() {
|
|
return numberFrozen;
|
|
return numberFrozen;
|
|
}
|
|
}
|
|
@@ -141,6 +147,7 @@ public class MaterialPlan extends DataEntity<MaterialPlan> {
|
|
this.numberFrozen = numberFrozen;
|
|
this.numberFrozen = numberFrozen;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ExcelField(title="供应商名称", align=2, sort=16)
|
|
public String getSupplierName() {
|
|
public String getSupplierName() {
|
|
return supplierName;
|
|
return supplierName;
|
|
}
|
|
}
|