package com.ruoyi.home.dto; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.time.LocalDate; @Data public class ProductionProgressOrderDto { @Schema(description = "生产订单号") private String npsNo; @Schema(description = "销售合同号") private String salesContractNo; @Schema(description = "项目名称") private String projectName; @Schema(description = "客户名称") private String customerName; @Schema(description = "产品名称") private String productCategory; @Schema(description = "规格型号") private String specificationModel; @Schema(description = "工艺路线编号") private String processRouteCode; @Schema(description = "需求数量") private BigDecimal quantity; @Schema(description = "完成数量") private BigDecimal completeQuantity; @Schema(description = "完成进度") private BigDecimal completionStatus; @Schema(description = "BOM编号") private String bomNo; @Schema(description = "交期偏差") private Integer deliveryDaysDiff; @Schema(description = "交期") @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate deliveryDate; @Schema(description = "是否发货") private Boolean isFh; }