liyong
5 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.ruoyi.production.bean.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.production.pojo.ProductionPlan;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;
 
@EqualsAndHashCode(callSuper = true)
@Data
public class ProductionPlanDto extends ProductionPlan {
 
    @Schema(description = "产品名称")
    @Excel(name = "产品名称")
    private String productName;
 
    @Schema(description = "产品规格")
    @Excel(name = "产品规格")
    private String model;
 
    @Schema(description = "产品单位")
    @Excel(name = "产品单位")
    private String unit;
 
    @Schema(description = "生产计划id集合")
    private List<Long> ids;
 
    @Schema(description = "下发数量")
    private BigDecimal totalAssignedQuantity;
 
    @Schema(description = "计划完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate planCompleteTime;
 
    @Schema(description = "产品ID")
    private Long productId;
 
    @Schema(description = "筛选开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate requiredDateStart;
 
    @Schema(description = "筛选结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate requiredDateEnd;
 
}