Browse Source

feat: 游轮信息添加封面图和介绍字段

luofeiyun 5 days ago
parent
commit
4f519ea36b

+ 12 - 0
ship-module-resource/ship-module-resource-biz/src/main/java/com/yc/ship/module/resource/controller/admin/ship/vo/ResourceShipRespVO.java

@@ -83,4 +83,16 @@ public class ResourceShipRespVO {
     @ExcelProperty("创建时间")
     private LocalDateTime createTime;
 
+    /**
+     * 封面图
+     */
+    @Schema(description = "封面图")
+    private String img;
+
+    /**
+     * 游轮介绍
+     */
+    @Schema(description = "游轮介绍")
+    private String introduction;
+
 }

+ 14 - 0
ship-module-resource/ship-module-resource-biz/src/main/java/com/yc/ship/module/resource/controller/admin/ship/vo/ResourceShipSaveReqVO.java

@@ -52,4 +52,18 @@ public class ResourceShipSaveReqVO {
     @NotNull(message = "状态不能为空")
     private Integer status;
 
+    /**
+     * 封面图
+     */
+    @Schema(description = "封面图")
+    private String img;
+
+    /**
+     * 游轮介绍
+     */
+    @Schema(description = "游轮介绍")
+    private String introduction;
+
+
+
 }

+ 10 - 0
ship-module-resource/ship-module-resource-biz/src/main/java/com/yc/ship/module/resource/dal/dataobject/ship/ResourceShipDO.java

@@ -83,4 +83,14 @@ public class ResourceShipDO extends TenantBaseDO {
      */
     private Integer status;
 
+    /**
+     * 封面图
+     */
+    private String img;
+
+    /**
+     * 游轮介绍
+     */
+    private String introduction;
+
 }

+ 1 - 0
ship-module-resource/ship-module-resource-biz/src/main/java/com/yc/ship/module/resource/service/port/ResourcePortServiceImpl.java

@@ -92,4 +92,5 @@ public class ResourcePortServiceImpl implements ResourcePortService {
         return portMapper.selectList();
     }
 
+
 }