ソースを参照

add 本地枚举接口返回

GITZYY 2 ヶ月 前
コミット
84ade44b5a

+ 12 - 0
egress-gateway-service-app/src/main/java/com/hrsk/cloud/eg/app/request/api/EgApiReq.java

@@ -30,4 +30,16 @@ public class EgApiReq implements Serializable  {
     @NotBlank(message = "API编码不能为空")
     private String apiCode;
 
+    /**
+     *技术负责人
+     */
+    private String techOwnerUsername;
+
+    private String techOwnerUserid;
+    /**
+     * 运维负责人不能为空
+     */
+    private String busiOwnerUsername;
+
+    private String busiOwnerUserid;
 }

+ 14 - 0
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/repository/database/entity/EgApiDo.java

@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.TableName;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
+import javax.validation.constraints.NotBlank;
 import java.io.Serializable;
 
 /**
@@ -30,4 +31,17 @@ public class EgApiDo extends BaseDo implements Serializable  {
      */
     private String apiCode;
 
+    /**
+     *技术负责人
+     */
+    private String techOwnerUsername;
+
+    private String techOwnerUserid;
+    /**
+     * 运维负责人不能为空
+     */
+    private String busiOwnerUsername;
+
+    private String busiOwnerUserid;
+
 }