From ffe4413db421aabb7446007ff76d4e9943c6fc84 Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期五, 24 四月 2026 14:53:14 +0800
Subject: [PATCH] 删除废弃文件上传接口
---
src/main/java/com/ruoyi/projectManagement/pojo/Plan.java | 40 ++++++++++++++++++++++++----------------
1 files changed, 24 insertions(+), 16 deletions(-)
diff --git a/src/main/java/com/ruoyi/projectManagement/pojo/Plan.java b/src/main/java/com/ruoyi/projectManagement/pojo/Plan.java
index 3fa3a98..a45409b 100644
--- a/src/main/java/com/ruoyi/projectManagement/pojo/Plan.java
+++ b/src/main/java/com/ruoyi/projectManagement/pojo/Plan.java
@@ -7,8 +7,7 @@
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
@@ -17,68 +16,77 @@
*/
@TableName(value ="project_management_plan")
@Data
-@ApiModel(description="椤圭洰绠$悊璁″垝琛�(椤圭洰绠$悊绫诲瀷)")
+@Schema(description = "椤圭洰绠$悊璁″垝琛�(椤圭洰绠$悊绫诲瀷)")
public class Plan {
/**
*
*/
@TableId(value = "id", type = IdType.AUTO)
- @ApiModelProperty(value="涓婚敭ID")
+ @Schema(description = "涓婚敭ID")
private Long id;
/**
* 璁″垝鍚嶇О
*/
@TableField(value = "name")
- @ApiModelProperty(value="璁″垝鍚嶇О")
+ @Schema(description = "璁″垝鍚嶇О")
private String name;
/**
* 璁″垝鎻忚堪
*/
- @TableField(value = "describe")
- @ApiModelProperty(value="璁″垝鎻忚堪")
- private String describe;
+ @TableField(value = "description")
+ @Schema(description = "璁″垝鎻忚堪")
+ private String description;
/**
* 闄勪欢 ,杩涜鍒嗗壊
*/
@TableField(value = "attachment")
- @ApiModelProperty(value="闄勪欢")
+ @Schema(description = "闄勪欢")
private String attachment;
/**
*
*/
@TableField(value = "is_delete")
- @ApiModelProperty(value="鏄惁鍒犻櫎")
+ @Schema(description = "鏄惁鍒犻櫎")
private Integer isDelete;
/**
*
*/
@TableField(value = "create_time",fill = FieldFill.INSERT)
- @ApiModelProperty(value="鍒涘缓鏃堕棿")
+ @Schema(description = "鍒涘缓鏃堕棿")
private LocalDateTime createTime;
/**
*
*/
@TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
- @ApiModelProperty(value="鏇存柊鏃堕棿")
+ @Schema(description = "鏇存柊鏃堕棿")
private LocalDateTime updateTime;
/**
*
*/
@TableField(value = "create_user",fill = FieldFill.INSERT)
- @ApiModelProperty(value="鍒涘缓浜�")
- private String createUser;
+ @Schema(description = "鍒涘缓浜�")
+ private Integer createUser;
/**
*
*/
@TableField(value = "update_user",fill = FieldFill.INSERT_UPDATE)
- @ApiModelProperty(value="鏇存柊浜�")
- private String updateUser;
+ @Schema(description = "鏇存柊浜�")
+ private Integer updateUser;
+
+ @TableField(value = "create_user_name", fill = FieldFill.INSERT)
+ private String createUserName;
+
+ @TableField(value = "update_user_name", fill = FieldFill.INSERT_UPDATE)
+ private String updateUserName;
+
+ @TableField(fill = FieldFill.INSERT)
+ private Long deptId;
}
\ No newline at end of file
--
Gitblit v1.9.3