20 lines
648 B
Java
20 lines
648 B
Java
package com.baiyue.lastleg.dto;
|
|
|
|
import com.baiyue.lastleg.entity.LastlegOrderDetail;
|
|
import com.baiyue.lastleg.entity.LastlegOrderFee;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
import java.util.List;
|
|
|
|
public record LastlegOrderDetailResponse(
|
|
LastlegOrderSummary order,
|
|
List<LastlegOrderDetail> cargo,
|
|
List<History> statusHistory,
|
|
List<LastlegOrderFee> fees,
|
|
List<Operation> operationHistory
|
|
) {
|
|
public record History(Long id, String fromStatus, String toStatus, String remark, LocalDateTime createdAt) {}
|
|
public record Operation(Long id, String operationNode, String operatorName, String result, LocalDateTime createdAt) {}
|
|
}
|