2026-08-19 16:24:02 +08:00
|
|
|
package com.baiyue.lastleg.dto;
|
|
|
|
|
|
|
|
|
|
import com.baiyue.lastleg.entity.LastlegOrderDetail;
|
2026-08-26 11:05:26 +08:00
|
|
|
import com.baiyue.lastleg.entity.LastlegOrderFee;
|
2026-08-20 18:02:38 +08:00
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
2026-08-19 16:24:02 +08:00
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
public record LastlegOrderDetailResponse(
|
2026-08-20 18:02:38 +08:00
|
|
|
LastlegOrderSummary order,
|
2026-09-07 23:58:18 +08:00
|
|
|
List<LastlegOrderCommandDtos.ManualNodeView> manualNodes,
|
2026-08-19 16:24:02 +08:00
|
|
|
List<LastlegOrderDetail> cargo,
|
2026-08-26 11:05:26 +08:00
|
|
|
List<History> statusHistory,
|
|
|
|
|
List<LastlegOrderFee> fees,
|
|
|
|
|
List<Operation> operationHistory
|
2026-08-19 16:24:02 +08:00
|
|
|
) {
|
2026-08-20 18:02:38 +08:00
|
|
|
public record History(Long id, String fromStatus, String toStatus, String remark, LocalDateTime createdAt) {}
|
2026-08-26 11:05:26 +08:00
|
|
|
public record Operation(Long id, String operationNode, String operatorName, String result, LocalDateTime createdAt) {}
|
2026-08-19 16:24:02 +08:00
|
|
|
}
|