优化
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package com.baiyue.lastleg.dto;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/** 平台柜子工作台使用的整柜到仓时间事实。 */
|
||||
public record ContainerArrivalTimeView(
|
||||
String sourceContainerBookingId,
|
||||
LocalDateTime estimatedWarehouseArrivalAt,
|
||||
LocalDateTime actualWarehouseArrivalAt,
|
||||
int version
|
||||
) { }
|
||||
@@ -61,6 +61,16 @@ public final class LastlegOrderRequests {
|
||||
@Size(max = 500) String remark
|
||||
) { }
|
||||
|
||||
public record ContainerArrivalTimeQuery(
|
||||
@NotEmpty @Size(max = 200) List<@NotBlank @Size(max = 128) String> sourceContainerBookingIds
|
||||
) { }
|
||||
|
||||
public record ChangeExpectedWarehouseArrival(
|
||||
@NotNull LocalDateTime estimatedWarehouseArrivalAt,
|
||||
@NotNull @Min(0) Integer expectedVersion,
|
||||
@Size(max = 500) String remark
|
||||
) { }
|
||||
|
||||
public record TransferDestination(
|
||||
@NotEmpty @Size(max = 200) List<Long> orderIds,
|
||||
@NotBlank @Size(max = 128) String warehouseId,
|
||||
|
||||
Reference in New Issue
Block a user