| | |
| | | import lombok.ToString; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | private String partyB; |
| | | |
| | | @Schema(description = "合同金额") |
| | | @Column(columnDefinition = "double comment '合同金额'") |
| | | private Double amount; |
| | | @Column(columnDefinition = "decimal(10,2) comment '合同金额'") |
| | | private BigDecimal amount; |
| | | |
| | | @Schema(description = "币种(CNY/USD等)") |
| | | @Column(columnDefinition = "VARCHAR(10) default 'CNY' comment '币种'") |
| | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @Schema(description = "签署日期") |
| | | @Column(columnDefinition = "VARCHAR(64) comment '签署日期'") |
| | | private String signDate; |
| | | @Column(columnDefinition = "date comment '签署日期'") |
| | | private Date signDate; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @Schema(description = "生效日期") |
| | | @Column(columnDefinition = "VARCHAR(64) comment '生效日期'") |
| | | private String effectiveDate; |
| | | @Column(columnDefinition = "date comment '生效日期'") |
| | | private Date effectiveDate; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @Schema(description = "交付周期") |
| | | @Column(columnDefinition = "int default 0 comment '交付周期'") |
| | | private Integer deliveryCycle; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Schema(description = "到期日期") |
| | | @Column(columnDefinition = "VARCHAR(64) comment '到期日期'") |
| | | private String expirationDate; |
| | | @Column(columnDefinition = "date comment '到期日期'") |
| | | private Date expirationDate; |
| | | |
| | | @Schema(description = "合同附件URL") |
| | | @Column(columnDefinition = "VARCHAR(500) comment '合同附件URL'") |
| | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @Schema(description = "审批时间") |
| | | @Column(columnDefinition = "datetime comment '审批时间'") |
| | | private String approveTime; |
| | | private Date approveTime; |
| | | |
| | | @Schema(description = "到货节点ID") |
| | | @Column(columnDefinition = "bigint comment '到货节点ID'") |
| | | private Long arrivalScheduleId; |
| | | |
| | | @Schema(description = "验收节点ID") |
| | | @Column(columnDefinition = "bigint comment '验收节点ID'") |
| | | private Long acceptScheduleId; |
| | | |
| | | @Schema(description = "erp推送标识") |
| | | @Column(columnDefinition = "char comment 'erp推送标识 0 未推 1 已推'") |
| | | private String erpPushFlag; |
| | | |
| | | @Schema(description = "开票状态") |
| | | @Column(columnDefinition = "char comment '开票状态 0 不能开票 1 部分可开 2 待开 3 已开'") |
| | | private String billingStatus; |
| | | |
| | | @Schema(description = "已开票金额") |
| | | @Column(columnDefinition = "decimal(10,2) comment '已开票金额'") |
| | | private BigDecimal billingAmout; |
| | | |
| | | @Schema(description = "下一阶段") |
| | | @Column(columnDefinition = "VARCHAR(128) comment '下一阶段'") |
| | | private String nextScheduleName; |
| | | |
| | | @Schema(description = "模版ID") |
| | | @Column(columnDefinition = "bigint comment '模版ID'") |
| | | private Long templateId; |
| | | |
| | | /** |
| | | * 临时字段 - 用于接收审批人名称等关联查询结果 |