|
@@ -0,0 +1,36 @@
|
|
|
+package cn.iocoder.yudao.module.system.controller.admin.userAchievement.vo;
|
|
|
+
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import javax.validation.constraints.NotEmpty;
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
+
|
|
|
+@Schema(description = "管理后台 - 成果新增/修改 Request VO")
|
|
|
+@Data
|
|
|
+public class SelfAchievementSaveReqVO {
|
|
|
+
|
|
|
+ @Schema(description = "自增id", requiredMode = Schema.RequiredMode.REQUIRED, example = "7131")
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+ @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25783")
|
|
|
+ private Long userId;
|
|
|
+
|
|
|
+ @Schema(description = "成果名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
|
|
|
+ @NotEmpty(message = "成果名称不能为空")
|
|
|
+ private String achievementName;
|
|
|
+
|
|
|
+ @Schema(description = "1论文,2专利,3著作", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
|
|
+ @NotEmpty(message = "成果类型不能为空")
|
|
|
+ private String achievementType;
|
|
|
+
|
|
|
+ @Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
|
|
|
+ private String userName;
|
|
|
+
|
|
|
+ @Schema(description = "照片详情url")
|
|
|
+ private String detail;
|
|
|
+
|
|
|
+ @Schema(description = "工作间id")
|
|
|
+ private Long dept_id;
|
|
|
+
|
|
|
+}
|