优化
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.baiyue.lastleg.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import jakarta.validation.constraints.Positive;
|
||||
import java.util.List;
|
||||
|
||||
public final class CustomerOrderProgress {
|
||||
private CustomerOrderProgress() {}
|
||||
public record Request(@NotNull @Positive Long customerId) {}
|
||||
public record Source(String orderId, long packages, long scheduledPackages, long deliveringPackages) {}
|
||||
public record Progress(long orderId, String stage, boolean partial) {}
|
||||
public record Response(List<Progress> progress) {}
|
||||
}
|
||||
Reference in New Issue
Block a user