2026-08-19 16:24:02 +08:00
|
|
|
package com.baiyue.lastleg.dto;
|
|
|
|
|
|
|
|
|
|
import com.baiyue.lastleg.entity.LastlegOrderDetail;
|
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-08-19 16:24:02 +08:00
|
|
|
List<LastlegOrderDetail> cargo,
|
2026-08-20 18:02:38 +08:00
|
|
|
List<History> statusHistory
|
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-19 16:24:02 +08:00
|
|
|
}
|