|
|
@@ -3,52 +3,145 @@
|
|
|
*/
|
|
|
package com.jeeplus.modules.projectmaterialstorage.entity;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.google.common.collect.Lists;
|
|
|
import com.jeeplus.common.persistence.ActEntity;
|
|
|
+import com.jeeplus.common.utils.excel.annotation.ExcelField;
|
|
|
import com.jeeplus.modules.project.entity.Project;
|
|
|
+import com.jeeplus.modules.sys.entity.Area;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 材料库导出模板
|
|
|
*/
|
|
|
public class ProjectMaterialStorageExport extends ActEntity<ProjectMaterialStorageExport> {
|
|
|
|
|
|
- public static final String SERIAL_BIZCODE ="1";
|
|
|
- public static final String PROJECT_COST_APPRAISAL ="100";//材料库鉴定模板key
|
|
|
- public static final String ECONOMIC_EVALUATION="101";//材料库模板key
|
|
|
- public static final String SERIAL_COST_BIZCODE ="1004";
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
+ private static final long serialVersionUID = 1707305231298038352L;
|
|
|
|
|
|
+ private String projectNumber; //项目号
|
|
|
|
|
|
- private String id;
|
|
|
+ private Double price ; //材料价格
|
|
|
|
|
|
- private String projectNumber; //项目id
|
|
|
-
|
|
|
- private double price ; //材料价格
|
|
|
|
|
|
private String materialName; //材料名称
|
|
|
+ private String brand; //品牌
|
|
|
+ private String specifications; //规格型号
|
|
|
+ private String unit; //单位
|
|
|
+ private Double projectPriceExcludingTax; //不含税工程价(元)
|
|
|
+ private Double projectPriceIncludingTax; //含税工程价(元)
|
|
|
+ private Double marketPriceExcludingTax; //不含税市场价(元)
|
|
|
+ private Double marketPriceIncludingTax; //含税市场价(元)
|
|
|
+ private Double taxRate; //税率
|
|
|
+ private String explain; //产品说明
|
|
|
+ private String supplier; //供应商
|
|
|
+ private String remarks; //备注
|
|
|
+ private String quotedPriceDate; //报价时间
|
|
|
|
|
|
private Date beginDate; //开始时间
|
|
|
|
|
|
private Date endDate; //结束时间
|
|
|
|
|
|
- private String status; //状态 0代表无文件 1 代表有文件 2代表已处理
|
|
|
-
|
|
|
private Project project; //项目
|
|
|
|
|
|
private String projectName; //项目名称
|
|
|
|
|
|
+ private String areaName; //地点
|
|
|
|
|
|
- @Override
|
|
|
- public String getId() {
|
|
|
- return id;
|
|
|
+ private Area area;
|
|
|
+
|
|
|
+ private String projectId; //报告号
|
|
|
+
|
|
|
+ private String distinctStr ; //用于去重用的临时参数
|
|
|
+ private String errorMessage ; //错误原因
|
|
|
+ private String monomerProjectDescription ; //单体工程描述
|
|
|
+ private String priceSource ; //价格来源。 1:甲供、2:乙供、3:概算价
|
|
|
+ private Double count; //数量
|
|
|
+
|
|
|
+ private Integer quotedPriceYear ; //报价时间-年份
|
|
|
+ private Integer quotedPriceMonth ; //报价时间-月份
|
|
|
+
|
|
|
+
|
|
|
+ private String beginProjectPriceExcludingTax; //开始工程价(元,不含税)
|
|
|
+ private String endProjectPriceExcludingTax; //结束工程价(元,不含税)
|
|
|
+ private String beginMarketPriceExcludingTax; //开始市场价(元,不含税)
|
|
|
+ private String endMarketPriceExcludingTax; //结束市场价(元,不含税)
|
|
|
+
|
|
|
+ private String beginProjectPriceIncludingTax; //开始含税工程价(元)
|
|
|
+ private String endProjectPriceIncludingTax; //结束含税工程价(元)
|
|
|
+ private String beginMarketPriceIncludingTax; //开始含税市场价(元)
|
|
|
+ private String endMarketPriceIncludingTax; //结束含税市场价(元)
|
|
|
+ private String beginTaxRate; //开始税率
|
|
|
+ private String endTaxRate; //结束税率
|
|
|
+ private Date beginQuotedPriceDate; //开始报价时间
|
|
|
+ private Date endQuotedPriceDate; //结束报价时间
|
|
|
+ private String storageFlag; //材料库判定参数
|
|
|
+ private String reportNumber;
|
|
|
+ private String areaId;
|
|
|
+
|
|
|
+ private String nuclearPricing; //核定价String
|
|
|
+ private String basisForApproval; //核定依据
|
|
|
+ private String purchasePlace; //购买地
|
|
|
+ private String quotationMode; //报价模式
|
|
|
+
|
|
|
+
|
|
|
+ //材料信息数据表集合
|
|
|
+ private List<ProjectMaterialStorageImport> projectMaterialStorageList = Lists.newArrayList();
|
|
|
+
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ public Date getBeginDate() {
|
|
|
+ return beginDate;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public void setId(String id) {
|
|
|
- this.id = id;
|
|
|
+ public void setBeginDate(Date beginDate) {
|
|
|
+ this.beginDate = beginDate;
|
|
|
+ }
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ public Date getEndDate() {
|
|
|
+ return endDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEndDate(Date endDate) {
|
|
|
+ this.endDate = endDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getProjectId() {
|
|
|
+ return projectId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setProjectId(String reportId) {
|
|
|
+ this.projectId = reportId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Area getArea() {
|
|
|
+ return area;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setArea(Area area) {
|
|
|
+ this.area = area;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="项目名称", align=2, sort=1)
|
|
|
+ public String getProjectName() {
|
|
|
+ return projectName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setProjectName(String projectName) {
|
|
|
+ this.projectName = projectName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAreaName() {
|
|
|
+ return areaName;
|
|
|
}
|
|
|
|
|
|
+ public void setAreaName(String areaName) {
|
|
|
+ this.areaName = areaName;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
public String getProjectNumber() {
|
|
|
return projectNumber;
|
|
|
}
|
|
|
@@ -57,14 +150,15 @@ public class ProjectMaterialStorageExport extends ActEntity<ProjectMaterialStora
|
|
|
this.projectNumber = projectNumber;
|
|
|
}
|
|
|
|
|
|
- public double getPrice() {
|
|
|
+ public Double getPrice() {
|
|
|
return price;
|
|
|
}
|
|
|
|
|
|
- public void setPrice(double price) {
|
|
|
+ public void setPrice(Double price) {
|
|
|
this.price = price;
|
|
|
}
|
|
|
|
|
|
+ @ExcelField(title="材料名称", align=2, sort=3)
|
|
|
public String getMaterialName() {
|
|
|
return materialName;
|
|
|
}
|
|
|
@@ -73,43 +167,345 @@ public class ProjectMaterialStorageExport extends ActEntity<ProjectMaterialStora
|
|
|
this.materialName = materialName;
|
|
|
}
|
|
|
|
|
|
- public Date getBeginDate() {
|
|
|
- return beginDate;
|
|
|
+ public Project getProject() {
|
|
|
+ return project;
|
|
|
}
|
|
|
|
|
|
- public void setBeginDate(Date beginDate) {
|
|
|
- this.beginDate = beginDate;
|
|
|
+ public void setProject(Project project) {
|
|
|
+ this.project = project;
|
|
|
}
|
|
|
|
|
|
- public Date getEndDate() {
|
|
|
- return endDate;
|
|
|
+ public List<ProjectMaterialStorageImport> getProjectMaterialStorageList() {
|
|
|
+ return projectMaterialStorageList;
|
|
|
}
|
|
|
|
|
|
- public void setEndDate(Date endDate) {
|
|
|
- this.endDate = endDate;
|
|
|
+ public void setProjectMaterialStorageList(List<ProjectMaterialStorageImport> projectMaterialStorageList) {
|
|
|
+ this.projectMaterialStorageList = projectMaterialStorageList;
|
|
|
}
|
|
|
|
|
|
- public String getStatus() {
|
|
|
- return status;
|
|
|
+ //@ExcelField(title="品牌", align=2, sort=10)
|
|
|
+ public String getBrand() {
|
|
|
+ return brand;
|
|
|
}
|
|
|
|
|
|
- public void setStatus(String status) {
|
|
|
- this.status = status;
|
|
|
+ public void setBrand(String brand) {
|
|
|
+ this.brand = brand;
|
|
|
}
|
|
|
|
|
|
- public Project getProject() {
|
|
|
- return project;
|
|
|
+ @ExcelField(title="规格型号", align=2, sort=4)
|
|
|
+ public String getSpecifications() {
|
|
|
+ return specifications;
|
|
|
}
|
|
|
|
|
|
- public void setProject(Project project) {
|
|
|
- this.project = project;
|
|
|
+ public void setSpecifications(String specifications) {
|
|
|
+ this.specifications = specifications;
|
|
|
}
|
|
|
|
|
|
- public String getProjectName() {
|
|
|
- return projectName;
|
|
|
+ public Double getProjectPriceIncludingTax() {
|
|
|
+ return projectPriceIncludingTax;
|
|
|
}
|
|
|
|
|
|
- public void setProjectName(String projectName) {
|
|
|
- this.projectName = projectName;
|
|
|
+ public void setProjectPriceIncludingTax(Double projectPriceIncludingTax) {
|
|
|
+ this.projectPriceIncludingTax = projectPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="材料价格", align=2, sort=6)
|
|
|
+ public Double getProjectPriceExcludingTax() {
|
|
|
+ return projectPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setProjectPriceExcludingTax(Double projectPriceExcludingTax) {
|
|
|
+ this.projectPriceExcludingTax = projectPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ //@ExcelField(title="市场价(元,不含税)", align=2, sort=6)
|
|
|
+ public Double getMarketPriceExcludingTax() {
|
|
|
+ return marketPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMarketPriceExcludingTax(Double marketPriceExcludingTax) {
|
|
|
+ this.marketPriceExcludingTax = marketPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getMarketPriceIncludingTax() {
|
|
|
+ return marketPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMarketPriceIncludingTax(Double marketPriceIncludingTax) {
|
|
|
+ this.marketPriceIncludingTax = marketPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ //@ExcelField(title="税率", align=2, sort=7)
|
|
|
+ public Double getTaxRate() {
|
|
|
+ return taxRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTaxRate(Double taxRate) {
|
|
|
+ this.taxRate = taxRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="单位", align=2, sort=5)
|
|
|
+ public String getUnit() {
|
|
|
+ return unit;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUnit(String unit) {
|
|
|
+ this.unit = unit;
|
|
|
+ }
|
|
|
+
|
|
|
+ //@ExcelField(title="产品说明", align=2, sort=11)
|
|
|
+ public String getExplain() {
|
|
|
+ return explain;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExplain(String explain) {
|
|
|
+ this.explain = explain;
|
|
|
+ }
|
|
|
+
|
|
|
+ //@ExcelField(title="供应商", align=2, sort=12)
|
|
|
+ public String getSupplier() {
|
|
|
+ return supplier;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSupplier(String supplier) {
|
|
|
+ this.supplier = supplier;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ //@ExcelField(title="备注", align=2, sort=13)
|
|
|
+ public String getRemarks() {
|
|
|
+ return remarks;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void setRemarks(String remarks) {
|
|
|
+ this.remarks = remarks;
|
|
|
+ }
|
|
|
+
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
+ @ExcelField(title="报价时间", align=2, sort=14, format="yyyy-MM-dd") // 添加Excel格式
|
|
|
+ public String getQuotedPriceDate() {
|
|
|
+ return quotedPriceDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setQuotedPriceDate(String quotedPriceDate) {
|
|
|
+ this.quotedPriceDate = quotedPriceDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getBeginProjectPriceIncludingTax() {
|
|
|
+ return beginProjectPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBeginProjectPriceIncludingTax(String beginProjectPriceIncludingTax) {
|
|
|
+ this.beginProjectPriceIncludingTax = beginProjectPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEndProjectPriceIncludingTax() {
|
|
|
+ return endProjectPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEndProjectPriceIncludingTax(String endProjectPriceIncludingTax) {
|
|
|
+ this.endProjectPriceIncludingTax = endProjectPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getBeginMarketPriceIncludingTax() {
|
|
|
+ return beginMarketPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBeginMarketPriceIncludingTax(String beginMarketPriceIncludingTax) {
|
|
|
+ this.beginMarketPriceIncludingTax = beginMarketPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEndMarketPriceIncludingTax() {
|
|
|
+ return endMarketPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEndMarketPriceIncludingTax(String endMarketPriceIncludingTax) {
|
|
|
+ this.endMarketPriceIncludingTax = endMarketPriceIncludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getBeginTaxRate() {
|
|
|
+ return beginTaxRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBeginTaxRate(String beginTaxRate) {
|
|
|
+ this.beginTaxRate = beginTaxRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEndTaxRate() {
|
|
|
+ return endTaxRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEndTaxRate(String endTaxRate) {
|
|
|
+ this.endTaxRate = endTaxRate;
|
|
|
+ }
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ public Date getBeginQuotedPriceDate() {
|
|
|
+ return beginQuotedPriceDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBeginQuotedPriceDate(Date beginQuotedPriceDate) {
|
|
|
+ this.beginQuotedPriceDate = beginQuotedPriceDate;
|
|
|
+ }
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ public Date getEndQuotedPriceDate() {
|
|
|
+ return endQuotedPriceDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEndQuotedPriceDate(Date endQuotedPriceDate) {
|
|
|
+ this.endQuotedPriceDate = endQuotedPriceDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getStorageFlag() {
|
|
|
+ return storageFlag;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStorageFlag(String storageFlag) {
|
|
|
+ this.storageFlag = storageFlag;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getDistinctStr() {
|
|
|
+ return distinctStr;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDistinctStr(String distinctStr) {
|
|
|
+ this.distinctStr = distinctStr;
|
|
|
+ }
|
|
|
+
|
|
|
+ //@ExcelField(title="提醒", align=2, sort=15, type = 1)
|
|
|
+ public String getErrorMessage() {
|
|
|
+ return errorMessage;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setErrorMessage(String errorMessage) {
|
|
|
+ this.errorMessage = errorMessage;
|
|
|
+ }
|
|
|
+
|
|
|
+ //@ExcelField(title="单体项目描述", align=2, sort=9)
|
|
|
+ public String getMonomerProjectDescription() {
|
|
|
+ return monomerProjectDescription;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMonomerProjectDescription(String monomerProjectDescription) {
|
|
|
+ this.monomerProjectDescription = monomerProjectDescription;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="价格来源", align=2, sort=9)
|
|
|
+ public String getPriceSource() {
|
|
|
+ return priceSource;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPriceSource(String priceSource) {
|
|
|
+ this.priceSource = priceSource;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="数量", align=2, sort=4, type = 2)
|
|
|
+ public Double getCount() {
|
|
|
+ return count;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCount(Double count) {
|
|
|
+ this.count = count;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getQuotedPriceYear() {
|
|
|
+ return quotedPriceYear;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setQuotedPriceYear(Integer quotedPriceYear) {
|
|
|
+ this.quotedPriceYear = quotedPriceYear;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getQuotedPriceMonth() {
|
|
|
+ return quotedPriceMonth;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setQuotedPriceMonth(Integer quotedPriceMonth) {
|
|
|
+ this.quotedPriceMonth = quotedPriceMonth;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getBeginProjectPriceExcludingTax() {
|
|
|
+ return beginProjectPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBeginProjectPriceExcludingTax(String beginProjectPriceExcludingTax) {
|
|
|
+ this.beginProjectPriceExcludingTax = beginProjectPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEndProjectPriceExcludingTax() {
|
|
|
+ return endProjectPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEndProjectPriceExcludingTax(String endProjectPriceExcludingTax) {
|
|
|
+ this.endProjectPriceExcludingTax = endProjectPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getBeginMarketPriceExcludingTax() {
|
|
|
+ return beginMarketPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBeginMarketPriceExcludingTax(String beginMarketPriceExcludingTax) {
|
|
|
+ this.beginMarketPriceExcludingTax = beginMarketPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEndMarketPriceExcludingTax() {
|
|
|
+ return endMarketPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEndMarketPriceExcludingTax(String endMarketPriceExcludingTax) {
|
|
|
+ this.endMarketPriceExcludingTax = endMarketPriceExcludingTax;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ExcelField(title="报告号", align=2, sort=2)
|
|
|
+ public String getReportNumber() {
|
|
|
+ return reportNumber;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setReportNumber(String reportNumber) {
|
|
|
+ this.reportNumber = reportNumber;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAreaId() {
|
|
|
+ return areaId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAreaId(String areaId) {
|
|
|
+ this.areaId = areaId;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @ExcelField(title="核定价", align=2, sort=7)
|
|
|
+ public String getNuclearPricing() {
|
|
|
+ return nuclearPricing;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNuclearPricing(String nuclearPricing) {
|
|
|
+ this.nuclearPricing = nuclearPricing;
|
|
|
+ }
|
|
|
+
|
|
|
+ //@ExcelField(title="核定依据", align=2, sort=17)
|
|
|
+ public String getBasisForApproval() {
|
|
|
+ return basisForApproval;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBasisForApproval(String basisForApproval) {
|
|
|
+ this.basisForApproval = basisForApproval;
|
|
|
+ }
|
|
|
+ @ExcelField(title="购买地", align=2, sort=8)
|
|
|
+ public String getPurchasePlace() {
|
|
|
+ return purchasePlace;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPurchasePlace(String purchasePlace) {
|
|
|
+ this.purchasePlace = purchasePlace;
|
|
|
+ }
|
|
|
+
|
|
|
+ //@ExcelField(title="报价模式", align=2, sort=19)
|
|
|
+ public String getQuotationMode() {
|
|
|
+ return quotationMode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setQuotationMode(String quotationMode) {
|
|
|
+ this.quotationMode = quotationMode;
|
|
|
}
|
|
|
}
|