package com.ruoyi.production.dto; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import com.ruoyi.production.pojo.ProductOrder; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.time.LocalDate; @Data @ExcelIgnoreUnannotated public class ProductOrderDto extends ProductOrder { @ApiModelProperty(value = "产品名称") @Excel(name = "产品名称") private String productName; @ApiModelProperty(value = "规格") @Excel(name = "规格") private String model; @ApiModelProperty(value = "产品类型") @Excel(name = "产品类型") private String strength; @ApiModelProperty(value = "工艺路线描述") @Excel(name = "工艺路线描述") private String description; @ApiModelProperty(value = "工艺路线产品类型") @Excel(name = "工艺路线产品类型") private String dictLabel; @ApiModelProperty(value = "物料编码") @Excel(name = "物料编码") private String materialCode; @ApiModelProperty(value = "工艺路线编号") @Excel(name = "工艺路线编号") private String processRouteCode; @ApiModelProperty(value = "完成进度") @Excel(name = "完成进度", suffix = "%") private BigDecimal completionStatus; @ApiModelProperty(value = "BOM ID") @Excel(name = "BOM ID") private String bomId; @ApiModelProperty(value = "BOM编号") @Excel(name = "BOM编号") private String bomNo; @ApiModelProperty(value = "交期偏差") private Integer deliveryDaysDiff; @ApiModelProperty(value = "交期") @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate deliveryDate; //是否发货(台账页面颜色控制) private Boolean isFh; }