2 天以前 3e5e22f5358156ff7430ee117546123ffe042611
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
56
57
58
59
60
61
62
63
64
65
66
67
package com.ruoyi.outsourcing.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.outsourcing.pojo.OutsourcingOrderProduct;
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;
import java.util.List;
 
/**
 * 委外订单 DTO
 */
@Data
public class OutsourcingOrderDto {
 
    @Schema(description = "订单主键")
    private Long id;
 
    @Schema(description = "委外订单号")
    private String orderNo;
 
    @Schema(description = "合作商id")
    private Long partnerId;
 
    @Schema(description = "合作商名称")
    private String partnerName;
 
    @Schema(description = "申请日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate applyDate;
 
    @Schema(description = "期望交付日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate expectedDeliveryDate;
 
    @Schema(description = "项目名称")
    private String projectName;
 
    @Schema(description = "委外金额(含税总价)")
    private BigDecimal contractAmount;
 
    @Schema(description = "付款方式")
    private String paymentMethod;
 
    @Schema(description = "备注")
    private String remarks;
 
    @Schema(description = "状态 0草稿 1已确认 2已完成 3已作废")
    private Integer status;
 
    @Schema(description = "作废原因")
    private String cancelReason;
 
    @Schema(description = "申请日期查询开始(yyyy-MM-dd)")
    private String startDate;
 
    @Schema(description = "申请日期查询结束(yyyy-MM-dd)")
    private String endDate;
 
    @Schema(description = "委外产品明细")
    private List<OutsourcingOrderProduct> productData;
}