|
@@ -1,7 +1,9 @@
|
|
package com.rongwei.bsentity.dto;
|
|
package com.rongwei.bsentity.dto;
|
|
|
|
|
|
|
|
+import com.alibaba.fastjson.annotation.JSONField;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import lombok.*;
|
|
import lombok.*;
|
|
@@ -17,6 +19,7 @@ import java.util.Date;
|
|
public class OutsideInspactionSyncDto {
|
|
public class OutsideInspactionSyncDto {
|
|
|
|
|
|
@TableField("ID")
|
|
@TableField("ID")
|
|
|
|
+ @JSONField(serialize = false)
|
|
@JsonIgnore
|
|
@JsonIgnore
|
|
private String id;
|
|
private String id;
|
|
|
|
|
|
@@ -24,12 +27,14 @@ public class OutsideInspactionSyncDto {
|
|
* 项目工号
|
|
* 项目工号
|
|
*/
|
|
*/
|
|
@TableField("PROJECTCODE")
|
|
@TableField("PROJECTCODE")
|
|
|
|
+ @JSONField(name = "projectnumber")
|
|
@JsonProperty(value = "projectnumber")
|
|
@JsonProperty(value = "projectnumber")
|
|
private String projectcode;
|
|
private String projectcode;
|
|
/**
|
|
/**
|
|
* 项目名称
|
|
* 项目名称
|
|
*/
|
|
*/
|
|
@TableField("PROJECTNAME")
|
|
@TableField("PROJECTNAME")
|
|
|
|
+ @JSONField(name = "projectname")
|
|
@JsonProperty(value = "projectname")
|
|
@JsonProperty(value = "projectname")
|
|
private String projectname;
|
|
private String projectname;
|
|
|
|
|
|
@@ -37,6 +42,7 @@ public class OutsideInspactionSyncDto {
|
|
* 结构机号
|
|
* 结构机号
|
|
*/
|
|
*/
|
|
@TableField("STRUCTUREMACHINENO")
|
|
@TableField("STRUCTUREMACHINENO")
|
|
|
|
+ @JSONField(name = "stampnumber")
|
|
@JsonProperty(value = "stampnumber")
|
|
@JsonProperty(value = "stampnumber")
|
|
private String structuremachineno;
|
|
private String structuremachineno;
|
|
|
|
|
|
@@ -44,6 +50,7 @@ public class OutsideInspactionSyncDto {
|
|
* 构件名称
|
|
* 构件名称
|
|
*/
|
|
*/
|
|
@TableField("STRUCTURENAME")
|
|
@TableField("STRUCTURENAME")
|
|
|
|
+ @JSONField(name = "componentname")
|
|
@JsonProperty(value = "componentname")
|
|
@JsonProperty(value = "componentname")
|
|
private String structurename;
|
|
private String structurename;
|
|
|
|
|
|
@@ -51,6 +58,7 @@ public class OutsideInspactionSyncDto {
|
|
* 报验类型
|
|
* 报验类型
|
|
*/
|
|
*/
|
|
@TableField("INSPECTIONTYPE")
|
|
@TableField("INSPECTIONTYPE")
|
|
|
|
+ @JSONField(name = "jobs")
|
|
@JsonProperty(value = "jobs")
|
|
@JsonProperty(value = "jobs")
|
|
private String inspectiontype;
|
|
private String inspectiontype;
|
|
|
|
|
|
@@ -58,6 +66,7 @@ public class OutsideInspactionSyncDto {
|
|
* 报验数量
|
|
* 报验数量
|
|
*/
|
|
*/
|
|
@TableField("QTY")
|
|
@TableField("QTY")
|
|
|
|
+ @JSONField(name = "count")
|
|
@JsonProperty(value = "count")
|
|
@JsonProperty(value = "count")
|
|
private BigDecimal qty;
|
|
private BigDecimal qty;
|
|
|
|
|
|
@@ -65,6 +74,7 @@ public class OutsideInspactionSyncDto {
|
|
* 机号
|
|
* 机号
|
|
*/
|
|
*/
|
|
@TableField("MACHINENO")
|
|
@TableField("MACHINENO")
|
|
|
|
+ @JSONField(name = "totalinstallationnumber")
|
|
@JsonProperty(value = "totalinstallationnumber")
|
|
@JsonProperty(value = "totalinstallationnumber")
|
|
private String machineno;
|
|
private String machineno;
|
|
|
|
|
|
@@ -72,6 +82,7 @@ public class OutsideInspactionSyncDto {
|
|
* 外协
|
|
* 外协
|
|
*/
|
|
*/
|
|
@TableField("ISSUPP")
|
|
@TableField("ISSUPP")
|
|
|
|
+ @JSONField(name = "outsourcing")
|
|
@JsonProperty(value = "outsourcing")
|
|
@JsonProperty(value = "outsourcing")
|
|
private String issupp;
|
|
private String issupp;
|
|
|
|
|
|
@@ -79,26 +90,21 @@ public class OutsideInspactionSyncDto {
|
|
* 报验内容
|
|
* 报验内容
|
|
*/
|
|
*/
|
|
@TableField("INSPECTIONCONTENT")
|
|
@TableField("INSPECTIONCONTENT")
|
|
|
|
+ @JSONField(name = "reportcontent")
|
|
@JsonProperty(value = "reportcontent")
|
|
@JsonProperty(value = "reportcontent")
|
|
private String inspectioncontent;
|
|
private String inspectioncontent;
|
|
|
|
|
|
- /**
|
|
|
|
- * 一级单位
|
|
|
|
- */
|
|
|
|
- @JsonProperty(value = "base")
|
|
|
|
- private String base;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 二级单位
|
|
|
|
- */
|
|
|
|
- @JsonProperty(value = "twolevel")
|
|
|
|
- @TableField("DEPARTNAME")
|
|
|
|
- private String departName;
|
|
|
|
|
|
+// /**
|
|
|
|
+// * 二级单位
|
|
|
|
+// */
|
|
|
|
+// @TableField("DEPARTNAME")
|
|
|
|
+// private String departName;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 车间
|
|
* 车间
|
|
*/
|
|
*/
|
|
@TableField("WORKSHOPID")
|
|
@TableField("WORKSHOPID")
|
|
|
|
+ @JSONField(serialize = false)
|
|
@JsonIgnore
|
|
@JsonIgnore
|
|
private String workshopid;
|
|
private String workshopid;
|
|
|
|
|
|
@@ -106,27 +112,28 @@ public class OutsideInspactionSyncDto {
|
|
// * 车间
|
|
// * 车间
|
|
// */
|
|
// */
|
|
// @TableField("WORKSHOPNAME")
|
|
// @TableField("WORKSHOPNAME")
|
|
-// @JsonProperty(value = "threelevel")
|
|
|
|
|
|
+// @JSONField(name = "threelevel")
|
|
// private String workshopname;
|
|
// private String workshopname;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 车间
|
|
* 车间
|
|
*/
|
|
*/
|
|
- @TableField("threelevel")
|
|
|
|
- @JsonProperty(value = "threelevel")
|
|
|
|
- private String threelevel;
|
|
|
|
|
|
+// @TableField("threelevel")
|
|
|
|
+// @JSONField(name = "threelevel")
|
|
|
|
+// private String threelevel;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 分包商/劳务班组
|
|
* 分包商/劳务班组
|
|
*/
|
|
*/
|
|
- @TableField("fourbase")
|
|
|
|
- @JsonProperty(value = "fourbase")
|
|
|
|
- private String fourbase;
|
|
|
|
|
|
+// @TableField("fourbase")
|
|
|
|
+// @JSONField(name = "fourbase")
|
|
|
|
+// private String fourbase;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 递交
|
|
* 递交
|
|
*/
|
|
*/
|
|
@TableField("COMPANYSHORTNAME")
|
|
@TableField("COMPANYSHORTNAME")
|
|
|
|
+ @JSONField(name = "supervisingcompany")
|
|
@JsonProperty(value = "supervisingcompany")
|
|
@JsonProperty(value = "supervisingcompany")
|
|
private String companyshortname;
|
|
private String companyshortname;
|
|
|
|
|
|
@@ -134,6 +141,7 @@ public class OutsideInspactionSyncDto {
|
|
* 监理用户
|
|
* 监理用户
|
|
*/
|
|
*/
|
|
@TableField("SUPERVISION")
|
|
@TableField("SUPERVISION")
|
|
|
|
+ @JSONField(name = "supervisingname")
|
|
@JsonProperty(value = "supervisingname")
|
|
@JsonProperty(value = "supervisingname")
|
|
private String supervision;
|
|
private String supervision;
|
|
|
|
|
|
@@ -141,6 +149,7 @@ public class OutsideInspactionSyncDto {
|
|
* 报验次数
|
|
* 报验次数
|
|
*/
|
|
*/
|
|
@TableField("INSPECTIONCOUNT")
|
|
@TableField("INSPECTIONCOUNT")
|
|
|
|
+ @JSONField(name = "numberinternalinspections")
|
|
@JsonProperty(value = "numberinternalinspections")
|
|
@JsonProperty(value = "numberinternalinspections")
|
|
private Integer inspectioncount;
|
|
private Integer inspectioncount;
|
|
|
|
|
|
@@ -148,18 +157,23 @@ public class OutsideInspactionSyncDto {
|
|
* 预约报验时间
|
|
* 预约报验时间
|
|
*/
|
|
*/
|
|
@TableField("RESERVATIONINSPECTIONTIME")
|
|
@TableField("RESERVATIONINSPECTIONTIME")
|
|
|
|
+ @JSONField(name = "reportinspectiontime", format = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonProperty(value = "reportinspectiontime")
|
|
@JsonProperty(value = "reportinspectiontime")
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
private Date reservationinspectiontime;
|
|
private Date reservationinspectiontime;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 报验结论
|
|
* 报验结论
|
|
*/
|
|
*/
|
|
@TableField("INSPECTIONCONCLUSION")
|
|
@TableField("INSPECTIONCONCLUSION")
|
|
|
|
+ @JSONField(name = "reportresults")
|
|
@JsonProperty(value = "reportresults")
|
|
@JsonProperty(value = "reportresults")
|
|
private String inspectionconclusion;
|
|
private String inspectionconclusion;
|
|
|
|
|
|
//创建时间
|
|
//创建时间
|
|
@TableField(value = "CREATEDATE", fill = FieldFill.INSERT)
|
|
@TableField(value = "CREATEDATE", fill = FieldFill.INSERT)
|
|
|
|
+ @JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
private Date createdate;
|
|
private Date createdate;
|
|
|
|
|
|
@TableField(value = "CREATEUSERNAME", fill = FieldFill.INSERT)
|
|
@TableField(value = "CREATEUSERNAME", fill = FieldFill.INSERT)
|
|
@@ -169,6 +183,7 @@ public class OutsideInspactionSyncDto {
|
|
* 检验员
|
|
* 检验员
|
|
*/
|
|
*/
|
|
@TableField("CHECKERNAME")
|
|
@TableField("CHECKERNAME")
|
|
|
|
+ @JSONField(name = "inspector")
|
|
@JsonProperty(value = "inspector")
|
|
@JsonProperty(value = "inspector")
|
|
private String checkername;
|
|
private String checkername;
|
|
|
|
|
|
@@ -176,6 +191,7 @@ public class OutsideInspactionSyncDto {
|
|
* 自检员
|
|
* 自检员
|
|
*/
|
|
*/
|
|
@TableField("SELFTESTER")
|
|
@TableField("SELFTESTER")
|
|
|
|
+ @JSONField(name = "selfinspector")
|
|
@JsonProperty(value = "selfinspector")
|
|
@JsonProperty(value = "selfinspector")
|
|
private String selftester;
|
|
private String selftester;
|
|
|
|
|
|
@@ -183,6 +199,7 @@ public class OutsideInspactionSyncDto {
|
|
* 外部报验单号
|
|
* 外部报验单号
|
|
*/
|
|
*/
|
|
@TableField("INSPECTIONCODE")
|
|
@TableField("INSPECTIONCODE")
|
|
|
|
+ @JSONField(name = "serialnumber")
|
|
@JsonProperty(value = "serialnumber")
|
|
@JsonProperty(value = "serialnumber")
|
|
private String inspectioncode;
|
|
private String inspectioncode;
|
|
|
|
|
|
@@ -190,19 +207,84 @@ public class OutsideInspactionSyncDto {
|
|
* 检验员备注(拒收原因,取消原因)
|
|
* 检验员备注(拒收原因,取消原因)
|
|
*/
|
|
*/
|
|
@TableField("REFUSEREASON")
|
|
@TableField("REFUSEREASON")
|
|
|
|
+ @JSONField(name = "reasonrejection")
|
|
@JsonProperty(value = "reasonrejection")
|
|
@JsonProperty(value = "reasonrejection")
|
|
private String refusereason;
|
|
private String refusereason;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 分包商类型
|
|
* 分包商类型
|
|
*/
|
|
*/
|
|
|
|
+
|
|
|
|
+ @JSONField(serialize = false)
|
|
@JsonIgnore
|
|
@JsonIgnore
|
|
private String subcontractortype;
|
|
private String subcontractortype;
|
|
|
|
|
|
@TableField("LAUNCHTYPE")
|
|
@TableField("LAUNCHTYPE")
|
|
|
|
+ @JSONField(serialize = false)
|
|
@JsonIgnore
|
|
@JsonIgnore
|
|
private String launchtype;
|
|
private String launchtype;
|
|
|
|
|
|
|
|
+ @JSONField(serialize = false)
|
|
@JsonIgnore
|
|
@JsonIgnore
|
|
private String companyname;
|
|
private String companyname;
|
|
|
|
+
|
|
|
|
+ @TableField("BSFIRSTORGID")
|
|
|
|
+ @JSONField(serialize = false)
|
|
|
|
+ @JsonIgnore
|
|
|
|
+ private String bsfirstorgid;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSFIRSTORGNAME")
|
|
|
|
+ @JSONField(name = "base")
|
|
|
|
+ @JsonProperty(value = "base")
|
|
|
|
+ private String bsfirstorgname;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSFIRSTORGSHORTNAME")
|
|
|
|
+ @JSONField(serialize = false)
|
|
|
|
+ @JsonIgnore
|
|
|
|
+ private String bsfirstorgshortname;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSSECONDORGID")
|
|
|
|
+ @JSONField(serialize = false)
|
|
|
|
+ @JsonIgnore
|
|
|
|
+ private String bssecondorgid;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSSECONDORGNAME")
|
|
|
|
+ @JSONField(name = "twolevel")
|
|
|
|
+ @JsonProperty(value = "twolevel")
|
|
|
|
+ private String bssecondorgname;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSSECONDORGSHORTNAME")
|
|
|
|
+ @JSONField(serialize = false)
|
|
|
|
+ @JsonIgnore
|
|
|
|
+ private String bssecondorgshortname;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSTHIRDORGID")
|
|
|
|
+ @JSONField(serialize = false)
|
|
|
|
+ @JsonIgnore
|
|
|
|
+ private String bsthirdorgid;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSTHIRDORGNAME")
|
|
|
|
+ @JSONField(name = "threelevel")
|
|
|
|
+ @JsonProperty(value = "threelevel")
|
|
|
|
+ private String bsthirdorgname;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSTHIRDORGSHORTNAME")
|
|
|
|
+ @JSONField(serialize = false)
|
|
|
|
+ @JsonIgnore
|
|
|
|
+ private String bsthirdorgshortname;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSFOURTHORGID")
|
|
|
|
+ @JSONField(serialize = false)
|
|
|
|
+ @JsonIgnore
|
|
|
|
+ private String bsfourthorgid;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSFOURTHORGNAME")
|
|
|
|
+ @JSONField(name = "fourbase")
|
|
|
|
+ @JsonProperty(value = "fourbase")
|
|
|
|
+ private String bsfourthorgname;;
|
|
|
|
+
|
|
|
|
+ @TableField("BSFOURTHORGSHORTNAME")
|
|
|
|
+ @JSONField(serialize = false)
|
|
|
|
+ @JsonIgnore
|
|
|
|
+ private String bsfourthorgshortname;
|
|
}
|
|
}
|