21 lines
725 B
Java
21 lines
725 B
Java
package com.baiyue.lastleg.dto;
|
|
|
|
import com.baiyue.lastleg.entity.LastlegOrderDetail;
|
|
import com.baiyue.lastleg.financefee.entity.OverseasFeeSource;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
import java.util.List;
|
|
|
|
public record LastlegOrderDetailResponse(
|
|
LastlegOrderSummary order,
|
|
List<LastlegOrderCommandDtos.ManualNodeView> manualNodes,
|
|
List<LastlegOrderDetail> cargo,
|
|
List<History> statusHistory,
|
|
List<OverseasFeeSource> 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) {}
|
|
}
|