wks 3 năm trước cách đây
mục cha
commit
c7a7de8b5f

+ 4 - 1
src/main/java/com/ydtech/modules/order/components/zj/ZijinVehicleTypeErrorComponents.java

@@ -67,7 +67,6 @@ public class ZijinVehicleTypeErrorComponents {
     }
 
 
-    @AllArgsConstructor
     @Data
     public static class CarType {
 
@@ -80,6 +79,10 @@ public class ZijinVehicleTypeErrorComponents {
          */
         private String platVehicleCode;
 
+        public CarType(String modelCode, String platVehicleCode) {
+            this.modelCode = modelCode;
+            this.platVehicleCode = platVehicleCode;
+        }
     }