Cui Zhi Feng
2024-09-18 3a6c70ccfece562accad0a3e3ae67745815d73a7
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
package com.mzl.flower.dto.response.payment;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mzl.flower.base.AbstractTransDTO;
import com.mzl.flower.base.annotation.DictTrans;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Data
public class OrderSettlementDetailDTO extends AbstractTransDTO {
    private String flowerName;
 
    @ApiModelProperty(value = "商品等级")
    @DictTrans(target = "flowerLevelStr", codeType = "FLOWER_LEVEL")
    private String flowerLevel;
    private String flowerLevelStr;
 
    @ApiModelProperty(value = "结算单价")
    private BigDecimal price;
 
    @ApiModelProperty(value = "数量")
    private Integer num;
 
    @ApiModelProperty(value = "结算合计")
    private BigDecimal totalAmount;
 
    @ApiModelProperty(value = "降级扣款")
    private BigDecimal checkFee;
 
    @ApiModelProperty(value = "缺货扣款")
    private BigDecimal lackFee;
 
    @ApiModelProperty(value = "补货扣款")
    private BigDecimal replaceFee;
 
    @ApiModelProperty(value = "集货站运费")
    private BigDecimal stationFee;
 
    @ApiModelProperty(value = "售后理赔")
    private BigDecimal salesFee;
 
    @ApiModelProperty(value = "收货日期")
    @JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8")
    @DateTimeFormat
    private LocalDateTime receiveTime;
 
    @ApiModelProperty(value = "质检日期")
    @JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8")
    @DateTimeFormat
    private LocalDateTime checkTime;
 
    @ApiModelProperty(value = "订单号")
    private String orderNo;
}