提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.report.controller.admin.goview.vo.project; |
H |
2 |
|
|
3 |
import com.iailab.framework.common.enums.CommonStatusEnum; |
|
4 |
import com.iailab.framework.common.validation.InEnum; |
|
5 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
6 |
import lombok.*; |
|
7 |
|
|
8 |
import javax.validation.constraints.*; |
|
9 |
|
|
10 |
@Schema(description = "管理后台 - GoView 项目更新 Request VO") |
|
11 |
@Data |
|
12 |
public class GoViewProjectUpdateReqVO { |
|
13 |
|
|
14 |
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18993") |
|
15 |
@NotNull(message = "编号不能为空") |
|
16 |
private Long id; |
|
17 |
|
|
18 |
@Schema(description = "项目名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五") |
|
19 |
private String name; |
|
20 |
|
|
21 |
@Schema(description = "发布状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
22 |
@InEnum(value = CommonStatusEnum.class, message = "发布状态必须是 {value}") |
|
23 |
private Integer status; |
|
24 |
|
|
25 |
@Schema(description = "报表内容") // JSON 格式 |
|
26 |
private String content; |
|
27 |
|
|
28 |
@Schema(description = "预览图片 URL", example = "https://www.baidu.com") |
|
29 |
private String picUrl; |
|
30 |
|
|
31 |
@Schema(description = "项目备注", example = "你猜") |
|
32 |
private String remark; |
|
33 |
|
|
34 |
} |