Ver Fonte

新增车牌类型

guoshuai há 4 semanas atrás
pai
commit
e7e8517672

+ 6 - 0
src/main/java/com/qmrb/system/pojo/entity/MyCarPlateNumber.java

@@ -37,6 +37,12 @@ public class MyCarPlateNumber extends BaseEntity {
      */
     @TableField("user_id")
     private Long userId;
+    
+    /**
+     * 1:蓝牌 2:绿牌
+     */
+    @TableField("car_type")
+    private String  carType;
 
 
 }

+ 6 - 1
src/main/java/com/qmrb/system/pojo/form/MyCarPlateNumberForm.java

@@ -1,5 +1,6 @@
 package com.qmrb.system.pojo.form;
 
+import com.baomidou.mybatisplus.annotation.TableField;
 import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 
@@ -26,5 +27,9 @@ public class MyCarPlateNumberForm {
 	@Schema(description = "用户ID",type="Long")
     private Long userId;
 
-
+    /**
+     * 车牌类型 1:蓝牌 2:绿牌
+     */
+    @Schema(description = "车牌类型",type="String")
+    private String carType;
 }

+ 5 - 1
src/main/java/com/qmrb/system/pojo/query/MyCarPlateNumberQuery.java

@@ -32,5 +32,9 @@ public class MyCarPlateNumberQuery extends BasePageQuery{
 	@Schema(description = "用户ID",type="Long")
     private Long userId;
 
-
+    /**
+     * 车牌类型 1:蓝牌 2:绿牌
+     */
+    @Schema(description = "车牌类型",type="String")
+    private String carType;
 }

+ 5 - 1
src/main/java/com/qmrb/system/pojo/vo/MyCarPlateNumberVO.java

@@ -30,5 +30,9 @@ public class MyCarPlateNumberVO {
 	@Schema(description = "子分类")
     private List<MyCarPlateNumberVO> children;
 
-
+    /**
+     * 车牌类型 1:蓝牌 2:绿牌
+     */
+    @Schema(description = "车牌类型",type="String")
+    private String carType;
 }