| | |
| | | import jakarta.persistence.Entity; |
| | | import jakarta.persistence.Transient; |
| | | import lombok.Data; |
| | | import org.hibernate.annotations.Table; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import org.hibernate.annotations.Comment; |
| | | |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import jakarta.persistence.Table; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | **/ |
| | | @Data |
| | | @Entity |
| | | @Table(appliesTo = "production_plan", comment = "排产计划") |
| | | @Table(name = "production_plan") |
| | | @Comment("排产计划") |
| | | public class ProductionPlan extends BaseModel<BusinessCustomer> { |
| | | |
| | | @Schema(description = "所属合同编号") |
| | |
| | | |
| | | @Schema(description = "甲方id") |
| | | @Column(columnDefinition = "bigint comment '甲方id'") |
| | | private Long partyAId; |
| | | private Long partyaid; |
| | | |
| | | @Schema(description = "甲方名称") |
| | | @Column(columnDefinition = "VARCHAR(100) comment '甲方名称'") |
| | | private String partyA; |
| | | private String partya; |
| | | |
| | | @Schema(description = "乙方id") |
| | | @Column(columnDefinition = "bigint comment '乙方id'") |
| | | private Long partyBId; |
| | | private Long partybid; |
| | | |
| | | @Schema(description = "乙方名称") |
| | | @Column(columnDefinition = "VARCHAR(100) comment '乙方名称'") |
| | | private String partyB; |
| | | private String partyb; |
| | | |
| | | @Schema(description = "金额") |
| | | @Column(columnDefinition = "double comment '金额'") |
| | |
| | | @Column(columnDefinition = "datetime comment '审批时间'") |
| | | private String approveTime; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | @Schema(description = "转成合同时间") |
| | | @Column(columnDefinition = "datetime comment '转成合同时间'") |
| | | private String contractTime; |
| | | |
| | | /** |
| | | * 标的物 |
| | | */ |