tuqin
2026-11-03 9494075e6d9d2a4b2b884b4ed740dee0c434734c
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
package cn.iocoder.yudao.module.trade.controller.admin.domestic.vo;
 
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
 
@Schema(description = "管理后台 - 内贸订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TradeDomesticOrderRespVO {
 
    @Schema(description = "编号", example = "1024")
    @ExcelProperty("编号")
    private Long id;
 
    @Schema(description = "内贸订单号", example = "NMDD20260916000001")
    @ExcelProperty("内贸订单号")
    private String no;
 
    @Schema(description = "客户编号", example = "18336")
    private Long customerId;
    @Schema(description = "客户名称", example = "客户A")
    @ExcelProperty("客户名称")
    private String customerName;
 
    @Schema(description = "业务员用户编号", example = "17144")
    private Long saleUserId;
    @Schema(description = "业务员名称", example = "张三")
    @ExcelProperty("业务员")
    private String saleUserName;
 
    @Schema(description = "订单日期")
    @ExcelProperty("订单日期")
    private LocalDateTime orderTime;
 
    @Schema(description = "交货地址", example = "新疆乌鲁木齐市")
    @ExcelProperty("交货地址")
    private String deliveryAddress;
 
    @Schema(description = "合计数量", example = "10")
    @ExcelProperty("合计数量")
    private BigDecimal totalCount;
 
    @Schema(description = "合计金额(元)", example = "1230")
    @ExcelProperty("合计金额")
    private BigDecimal totalPrice;
 
    @Schema(description = "已回款金额(元)", example = "500")
    @ExcelProperty("已回款金额")
    private BigDecimal receivedPrice;
 
    @Schema(description = "未结余额(元)", example = "730")
    @ExcelProperty("未结余额")
    private BigDecimal unpaidPrice;
 
    @Schema(description = "状态", example = "20")
    private Integer status;
    @Schema(description = "状态名", example = "审核通过")
    @ExcelProperty("状态")
    private String statusName;
 
    @Schema(description = "工作流编号", example = "1043")
    private String processInstanceId;
 
    @Schema(description = "出库状态(0 未出库 / 1 部分出库 / 2 全部出库)", example = "0")
    @ExcelProperty("出库状态")
    private Integer outStatus;
    @Schema(description = "已出库数量", example = "0")
    private BigDecimal outCount;
 
    @Schema(description = "备注", example = "备注信息")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
    @Schema(description = "创建人", example = "25682")
    private String creator;
    @Schema(description = "创建人名字", example = "张三")
    @ExcelProperty("创建人")
    private String creatorName;
 
    @Schema(description = "明细列表")
    private List<Item> items;
 
    @Schema(description = "内贸订单明细")
    @Data
    public static class Item {
 
        @Schema(description = "编号", example = "888")
        private Long id;
 
        @Schema(description = "MDM 物料编号", example = "20529")
        private Long itemId;
        @Schema(description = "物料编码", example = "ITEM001")
        private String itemCode;
        @Schema(description = "物料名称", example = "物料A")
        private String itemName;
        @Schema(description = "规格型号", example = "M8*20")
        private String itemSpecification;
 
        @Schema(description = "计量单位编号", example = "1")
        private Long itemUnitId;
        @Schema(description = "计量单位名称", example = "个")
        private String itemUnitName;
 
        @Schema(description = "单价(元)", example = "100.00")
        private BigDecimal itemPrice;
        @Schema(description = "数量", example = "10")
        private BigDecimal count;
        @Schema(description = "小计金额(元)", example = "1000.00")
        private BigDecimal totalPrice;
        @Schema(description = "税率(%)", example = "13.00")
        private BigDecimal taxPercent;
        @Schema(description = "税额(元)", example = "130.00")
        private BigDecimal taxPrice;
        @Schema(description = "上游原料车次批次", example = "PC20260916000001")
        private String batchCode;
        @Schema(description = "已出库数量", example = "0")
        private BigDecimal outCount;
        @Schema(description = "备注", example = "备注")
        private String remark;
 
    }
 
}