Files
baiyue-firstleg/lastleg-service/src/main/java/com/baiyue/lastleg/dto/LastlegOrderSummary.java
T
2026-09-22 08:49:21 +08:00

80 lines
2.8 KiB
Java

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