package cn.iocoder.yudao.module.trade.controller.admin.foreign.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 TradeForeignOrderRespVO { @Schema(description = "编号", example = "1024") @ExcelProperty("编号") private Long id; @Schema(description = "外贸订单号", example = "WMDD20260916000001") @ExcelProperty("外贸订单号") private String no; @Schema(description = "客户编号") private Long customerId; @Schema(description = "客户名称") @ExcelProperty("客户") private String customerName; @Schema(description = "业务员用户编号") private Long saleUserId; @Schema(description = "业务员名称") @ExcelProperty("业务员") private String saleUserName; @Schema(description = "订单日期") @ExcelProperty("订单日期") private LocalDateTime orderTime; @Schema(description = "国别") @ExcelProperty("国别") private String country; @Schema(description = "币种") @ExcelProperty("币种") private String currency; @Schema(description = "汇率") @ExcelProperty("汇率") private BigDecimal exchangeRate; @Schema(description = "出货模式") private Integer deliveryMode; @Schema(description = "出货模式名") @ExcelProperty("出货模式") private String deliveryModeName; @Schema(description = "港口") @ExcelProperty("港口") private String port; @Schema(description = "收汇账期(天)") @ExcelProperty("收汇账期") private Integer receiveTerm; @Schema(description = "关联报价单号") @ExcelProperty("关联报价单号") private String quotationNo; @Schema(description = "港口入库批次号") @ExcelProperty("港口入库批次号") private String portBatchCode; @Schema(description = "合计数量") @ExcelProperty("合计数量") private BigDecimal totalCount; @Schema(description = "外币合计") @ExcelProperty("外币合计") private BigDecimal totalForeignPrice; @Schema(description = "人民币合计") @ExcelProperty("人民币合计") private BigDecimal totalPrice; @Schema(description = "已收汇外币金额") private BigDecimal receivedForeignAmount; @Schema(description = "未收汇外币金额") private BigDecimal unreceivedForeignAmount; @Schema(description = "状态") private Integer status; @Schema(description = "状态名") @ExcelProperty("状态") private String statusName; @Schema(description = "工作流编号") private String processInstanceId; @Schema(description = "出库状态") private Integer outStatus; @Schema(description = "已出库数量") private BigDecimal outCount; @Schema(description = "厂区出库单编号") private Long outProductSalesId; @Schema(description = "厂区出库单号") private String outProductSalesCode; @Schema(description = "备注") @ExcelProperty("备注") private String remark; @Schema(description = "创建时间") @ExcelProperty("创建时间") private LocalDateTime createTime; @Schema(description = "创建人") private String creator; @Schema(description = "创建人名字") @ExcelProperty("创建人") private String creatorName; @Schema(description = "缺失必填单据数量(0 表示单据齐全)") private Integer missingDocCount; @Schema(description = "缺失的必填单据名称列表") private List missingDocs; @Schema(description = "明细列表") private List items; @Schema(description = "外贸订单明细") @Data public static class Item { @Schema(description = "编号") private Long id; @Schema(description = "物料编号") private Long itemId; @Schema(description = "物料编码") private String itemCode; @Schema(description = "物料名称") private String itemName; @Schema(description = "规格型号") private String itemSpecification; @Schema(description = "计量单位编号") private Long itemUnitId; @Schema(description = "计量单位") private String itemUnitName; @Schema(description = "外币单价") private BigDecimal foreignPrice; @Schema(description = "汇率") private BigDecimal exchangeRate; @Schema(description = "人民币单价") private BigDecimal itemPrice; @Schema(description = "数量") private BigDecimal count; @Schema(description = "外币小计") private BigDecimal totalForeignPrice; @Schema(description = "人民币小计") private BigDecimal totalPrice; @Schema(description = "批次号") private String batchCode; @Schema(description = "已出库数量") private BigDecimal outCount; @Schema(description = "备注") private String remark; } }