package com.ruoyi.production.dto;
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
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;
|
import java.time.LocalDateTime;
|
|
@Data
|
@ExcelIgnoreUnannotated
|
public class ProductOrderDto extends ProductOrder {
|
|
@ApiModelProperty(value = "销售合同号")
|
@Excel(name = "单号",sort = 2)
|
private String salesContractNo;
|
|
@ApiModelProperty(value = "项目名")
|
private String projectName;
|
|
@ApiModelProperty(value = "客户名称")
|
@Excel(name = "厂家",sort = 3)
|
private String customerName;
|
|
@ApiModelProperty(value = "产品名称")
|
@Excel(name = "产品名称",sort = 4)
|
private String productCategory;
|
|
@ApiModelProperty(value = "规格")
|
@Excel(name = "纸张规格",sort = 5)
|
private String specificationModel;
|
|
@ApiModelProperty(value = "工艺路线编号")
|
private String processRouteCode;
|
|
@ApiModelProperty(value = "完成进度")
|
private BigDecimal completionStatus;
|
|
@ApiModelProperty(value = "BOM编号")
|
private String bomNo;
|
|
@ApiModelProperty(value = "交期偏差")
|
private Integer deliveryDaysDiff;
|
|
@ApiModelProperty(value = "计划交货日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "计划交货日期",sort = 10)
|
private LocalDate deliveryDate;
|
|
@ApiModelProperty(value = "实际交货日期")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "实际交货日期",sort = 11)
|
private LocalDateTime actuallyDeliveryDate;
|
|
@ApiModelProperty(value = "签订日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "下单日期",sort = 1)
|
private LocalDate executionDate;
|
|
//是否发货(台账页面颜色控制)
|
private Boolean isFh;
|
|
private Long saleLedgerId;
|
|
/**
|
* 尺寸
|
*/
|
private String cutSize;
|
|
/**
|
* 小盒数量
|
*/
|
@Excel(name = "小盒数量",sort = 7)
|
private String smallBoxQty;
|
|
/**
|
* 中盒数量
|
*/
|
@Excel(name = "小盒数量",sort = 8)
|
private String mediumBoxQty;
|
|
/**
|
* 色数
|
*/
|
@Excel(name = "色数",sort = 9)
|
private String printColorCount;
|
|
}
|