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
package com.ruoyi.sales.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 发货信息-销售退货用VO
 */
@Data
@Schema(name = "ShippingInfoForReturnVo", description = "发货信息(销售退货用)")
public class ShippingInfoForReturnVo {
 
    @Schema(description = "发货单ID")
    private Long shippingId;
 
    @Schema(description = "发货单号")
    private String shippingNo;
 
    @Schema(description = "销售合同号")
    private String salesContractNo;
 
    @Schema(description = "客户名称")
    private String customerName;
 
    @Schema(description = "产品名称")
    private String productName;
 
    @Schema(description = "规格型号")
    private String model;
 
    @Schema(description = "发货数量")
    private BigDecimal shippingQuantity;
 
    @Schema(description = "已退货数量")
    private BigDecimal returnedQuantity;
 
    @Schema(description = "退货状态:无退货/部分退货/全部退货")
    private String returnStatus;
 
    @Schema(description = "批次号")
    private String batchNo;
 
    @Schema(description = "车牌号")
    private String shippingCarNumber;
 
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @Schema(description = "显示标签(批次号-车牌号-创建时间)")
    private String displayLabel;
}