fix: remove unused pallet carton mark override
This commit is contained in:
+1
-14
@@ -7,7 +7,6 @@ import jakarta.validation.constraints.NotNull;
|
|||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import jakarta.validation.Valid;
|
import jakarta.validation.Valid;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
@@ -31,19 +30,7 @@ public final class DeliveryRequests {
|
|||||||
@Size(max = 128) String appointmentAccount,
|
@Size(max = 128) String appointmentAccount,
|
||||||
@Size(max = 128) String sellerName,
|
@Size(max = 128) String sellerName,
|
||||||
@Size(max = 1000) String remark,
|
@Size(max = 1000) String remark,
|
||||||
@NotNull @Valid @Size(min = 1, max = 20) List<FeeItem> fees,
|
@NotNull @Valid @Size(min = 1, max = 20) List<FeeItem> fees) {}
|
||||||
Map<String, List<@NotBlank @Size(max = 128) String>> palletCartonMarks) {
|
|
||||||
public Transfer(String idempotencyKey, LocalDateTime plannedDeliveryAt, String deliveryMethod, String waybillNo,
|
|
||||||
String carrierName, String pickupMethod, String loadingType, String vehicleType, String vehicleSize,
|
|
||||||
String driverName, String driverPhone, String vehiclePlate, String appointmentAccount,
|
|
||||||
String sellerName, String remark, List<FeeItem> fees) {
|
|
||||||
this(idempotencyKey, plannedDeliveryAt, deliveryMethod, waybillNo, carrierName, pickupMethod, loadingType,
|
|
||||||
vehicleType, vehicleSize, driverName, driverPhone, vehiclePlate, appointmentAccount, sellerName, remark, fees, Map.of());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public record PalletCartonSelection(@NotBlank @Size(max = 128) String palletNo,
|
|
||||||
@NotNull @Size(min = 1, max = 500) List<@NotBlank @Size(max = 128) String> cartonMarks) {}
|
|
||||||
|
|
||||||
public record FeeItem(@NotBlank @Size(max = 64) String feeType,
|
public record FeeItem(@NotBlank @Size(max = 64) String feeType,
|
||||||
@NotBlank @Size(max = 128) String feeName,
|
@NotBlank @Size(max = 128) String feeName,
|
||||||
|
|||||||
Reference in New Issue
Block a user