26 lines
1.1 KiB
Java
26 lines
1.1 KiB
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,
|
|
com.baiyue.lastleg.returnreceipt.dto.ReturnOrderResponses.Detail returnReceipt
|
|
) {
|
|
public LastlegOrderDetailResponse(LastlegOrderSummary order, List<LastlegOrderCommandDtos.ManualNodeView> manualNodes,
|
|
List<LastlegOrderDetail> cargo, List<History> statusHistory, List<OverseasFeeSource> fees, List<Operation> operationHistory) {
|
|
this(order, manualNodes, cargo, statusHistory, fees, operationHistory, null);
|
|
}
|
|
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) {}
|
|
}
|