提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.notify.vo.template; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import java.time.LocalDateTime; |
|
7 |
import java.util.List; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - 站内信模版 Response VO") |
|
10 |
@Data |
|
11 |
public class NotifyTemplateRespVO { |
|
12 |
|
|
13 |
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
14 |
private Long id; |
|
15 |
|
|
16 |
@Schema(description = "模版名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "测试模版") |
|
17 |
private String name; |
|
18 |
|
|
19 |
@Schema(description = "模版编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "SEND_TEST") |
|
20 |
private String code; |
|
21 |
|
|
22 |
@Schema(description = "模版类型,对应 system_notify_template_type 字典", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
23 |
private Integer type; |
|
24 |
|
|
25 |
@Schema(description = "发送人名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "土豆") |
|
26 |
private String nickname; |
|
27 |
|
|
28 |
@Schema(description = "模版内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "我是模版内容") |
|
29 |
private String content; |
|
30 |
|
|
31 |
@Schema(description = "参数数组", example = "name,code") |
|
32 |
private List<String> params; |
|
33 |
|
|
34 |
@Schema(description = "状态,参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
35 |
private Integer status; |
|
36 |
|
|
37 |
@Schema(description = "备注", example = "我是备注") |
|
38 |
private String remark; |
|
39 |
|
|
40 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
41 |
private LocalDateTime createTime; |
|
42 |
|
|
43 |
} |