| | |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class ContractSubjectMatter extends BaseModel<ContractSubjectMatter> { |
| | | |
| | | @Schema(description = "排产计划ID") |
| | | @Column(columnDefinition = "bigint comment '排产计划ID'") |
| | | private Long productionPlanId; |
| | | |
| | | @Schema(description = "排产计划名称") |
| | | @Column(columnDefinition = "VARCHAR(200) comment '排产计划名称'") |
| | | private String productionPlanName; |
| | | |
| | | @Schema(description = "关联合同ID") |
| | | @Column(columnDefinition = "bigint comment '关联合同ID'") |
| | | private Long contractId; |
| | | |
| | | @Schema(description = "合同名称") |
| | | @Column(columnDefinition = "VARCHAR(200) comment '合同名称'") |
| | | private String contractName; |
| | | @Schema(description = "标的物行号") |
| | | @Column(columnDefinition = "VARCHAR(10) comment '标的物行号'") |
| | | private String lineNo; |
| | | |
| | | @Schema(description = "标的物名称") |
| | | @Column(columnDefinition = "VARCHAR(200) comment '标的物名称'") |
| | |
| | | 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") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Schema(description = "实际交付日期") |
| | | @Column(columnDefinition = "VARCHAR(64) comment '实际交付日期'") |
| | | private String actualDeliveryDate; |
| | | @Column(columnDefinition = "date comment '实际交付日期'") |
| | | private Date actualDeliveryDate; |
| | | |
| | | @Schema(description = "交付状态(0-未交付 1-部分交付 2-已交付)") |
| | | @Column(columnDefinition = "tinyint(2) default 0 comment '交付状态'") |
| | |
| | | @Schema(description = "总重") |
| | | @Column(columnDefinition = "decimal(10,2) comment '总重 /kg'") |
| | | private BigDecimal totalWight; |
| | | |
| | | @Schema(description = "备注") |
| | | @Column(columnDefinition="text comment '备注'") |
| | | private String remarks; |
| | | |
| | | } |