Files
baiyue-firstleg/lastleg-service/src/main/java/com/baiyue/lastleg/dto/LastlegOrderSummary.java
T

80 lines
2.8 KiB
Java
Raw Normal View History

2026-08-19 16:24:02 +08:00
package com.baiyue.lastleg.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.time.LocalDateTime;
2026-08-28 16:30:02 +08:00
import java.util.List;
2026-08-19 16:24:02 +08:00
2026-08-20 15:25:40 +08:00
@Schema(description = "按入仓单编码粒度展示的尾程订单列表行")
2026-08-19 16:24:02 +08:00
public record LastlegOrderSummary(
Long id,
String orderNo,
String orderType,
2026-08-22 12:35:32 +08:00
String orderTypeName,
2026-08-24 17:15:48 +08:00
@Schema(description = "跨区冻结目的类型", allowableValues = {"FBA", "OVERSEAS"})
String destinationType,
2026-08-19 16:24:02 +08:00
String sourceInboundId,
@Schema(description = "真实来源入仓码;无入仓关系的海外本土业务为空")
2026-08-19 16:24:02 +08:00
String inboundCode,
2026-09-06 16:02:11 +08:00
String lxCode,
2026-08-19 16:24:02 +08:00
String sourceOrderNo,
2026-08-21 10:43:25 +08:00
String customerId,
2026-08-19 16:24:02 +08:00
String customerName,
2026-09-15 16:39:44 +08:00
@Schema(description = "头程与尾程共享的稳定柜身份;用于加载整柜入库计划预览")
String sourceContainerBookingId,
2026-08-19 16:24:02 +08:00
String overseasWarehouseId,
2026-09-07 15:07:34 +08:00
String overseasWarehouseCode,
2026-08-19 16:24:02 +08:00
String overseasWarehouseName,
String transferWarehouseId,
String transferWarehouseCode,
String transferWarehouseName,
String fbaWarehouseCode,
String containerNo,
2026-09-11 16:17:16 +08:00
@Schema(description = "由柜级船节点门禁读取的最新标准货柜节点")
String containerNode,
2026-08-19 16:24:02 +08:00
Boolean abnormal,
Boolean detained,
Boolean heldChargeable,
String holdReason,
boolean manualOverrideEnabled,
String nodeSource,
int version,
2026-08-19 16:24:02 +08:00
Integer palletCount,
2026-09-17 17:37:29 +08:00
@Schema(description = "客户预报箱数")
2026-08-19 16:24:02 +08:00
Integer packageCount,
2026-09-17 17:37:29 +08:00
@Schema(description = "PDA 实收箱数;尚未完成收货时为空")
Integer receivedPackageCount,
@Schema(description = "实收减预报箱数;尚未完成收货时为空")
Integer packageDifference,
@Schema(description = "头程冻结货物毛重(千克)")
BigDecimal grossWeightKg,
@Schema(description = "头程冻结货物净重(千克)")
BigDecimal netWeightKg,
2026-08-19 16:24:02 +08:00
BigDecimal volumeCbm,
Integer productQuantity,
BigDecimal volumeWeightKg,
LocalDateTime estimatedArrivalAt,
LocalDateTime actualArrivalAt,
LocalDateTime estimatedWarehouseAt,
String inboundOrderNo,
2026-09-14 09:58:30 +08:00
@Schema(description = "排车状态", allowableValues = {"SCHEDULED", "UNSCHEDULED"})
String dispatchStatus,
2026-08-19 16:24:02 +08:00
String relabelOrderNo,
String relabelStatus,
String palletMergeFlag,
2026-08-28 16:30:02 +08:00
String palletMergeBatchId,
2026-08-31 14:39:40 +08:00
@Schema(description = "同一合托组内其他来源入仓单的入仓码")
List<String> palletMergeInboundNos,
2026-08-19 16:24:02 +08:00
String currentStatus,
String subOrderStatus,
String privateRemark,
String customerRemark,
String warehouseRemark,
2026-08-20 18:02:38 +08:00
LocalDateTime createdAt,
2026-09-22 08:49:21 +08:00
LocalDateTime updatedAt,
@Schema(description = "同一主单关联的全部换标子单及各自状态,按创建时间排序")
List<RelabelSubOrder> relabelApplications
2026-08-19 16:24:02 +08:00
) {
}