| | |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 合同标的物明细实体类 |
| | |
| | | private String materialCode; |
| | | |
| | | @Schema(description = "标的物编码(内部唯一名称)") |
| | | @Column(columnDefinition = "VARCHAR(64) comment '标的物名称(内部)'") |
| | | @Column(columnDefinition = "VARCHAR(200) comment '标的物名称(内部)'") |
| | | private String materialInternalName; |
| | | |
| | | @Schema(description = "标的物规格/型号") |
| | |
| | | @Column(columnDefinition = "VARCHAR(500) comment '交货/交付地点'") |
| | | private String deliveryPlace; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Schema(description = "计划交付日期") |
| | | @Column(columnDefinition = "VARCHAR(64) comment '计划交付日期'") |
| | | private String plannedDeliveryDate; |
| | | @Column(columnDefinition = "date comment '计划交付日期'") |
| | | private Date plannedDeliveryDate; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm") |
| | |
| | | @Schema(description = "最近一次交付数量") |
| | | @Column(columnDefinition = "decimal(10,2) comment '最近一次交付数量'") |
| | | private BigDecimal lastDeliveredQuantity; |
| | | |
| | | @Schema(description = "抄表编号") |
| | | @Column(columnDefinition="VARCHAR(64) comment '抄表表号'") |
| | | private String meterReadCode; |
| | | |
| | | @Schema(description = "抄表数字") |
| | | @Column(columnDefinition="decimal(10,0) comment '抄表数字'") |
| | | private BigDecimal meterReadNum; |
| | | |
| | | @Schema(description = "抄表单据名称") |
| | | @Column(columnDefinition="text comment '单据名称'") |
| | | private String meterReadAttNames; |
| | | |
| | | @Schema(description = "抄表单据路径") |
| | | @Column(columnDefinition="text comment '单据路径'") |
| | | private String meterReadAttPaths; |
| | | |
| | | @Schema(description = "单重") |
| | | @Column(columnDefinition = "decimal(10,2) comment '单重 /kg'") |
| | | private BigDecimal singleWight; |
| | | |
| | | @Schema(description = "总重") |
| | | @Column(columnDefinition = "decimal(10,2) comment '总重 /kg'") |
| | | private BigDecimal totalWight; |
| | | |
| | | @Schema(description = "备注") |
| | | @Column(columnDefinition="text comment '备注'") |
| | | private String remarks; |
| | | |
| | | } |