fix: limit dispatch vehicles to 15 and 30 pallets

This commit is contained in:
2026-09-15 12:17:16 +08:00
parent 37c3e676a4
commit 9888072d8c
7 changed files with 20 additions and 4 deletions
@@ -23,7 +23,7 @@ public final class DeliveryRequests {
@NotBlank @Size(max = 64) String pickupMethod,
@NotBlank @Size(max = 64) String loadingType,
@Size(max = 64) String vehicleType,
@Size(max = 64) String vehicleSize,
@jakarta.validation.constraints.Pattern(regexp = "15托|30托") String vehicleSize,
@Size(max = 128) String driverName,
@Size(max = 64) String driverPhone,
@Size(max = 64) String vehiclePlate,