|
@@ -9,9 +9,9 @@ import javax.validation.constraints.NotEmpty;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
|
/**
|
|
|
-* 站内信模版 Base VO,提供给添加、修改、详细的子 VO 使用
|
|
|
-* 如果子 VO 存在差异的字段,请不要添加到这里,影响 Swagger 文档生成
|
|
|
-*/
|
|
|
+ * 站内信模版 Base VO,提供给添加、修改、详细的子 VO 使用
|
|
|
+ * 如果子 VO 存在差异的字段,请不要添加到这里,影响 Swagger 文档生成
|
|
|
+ */
|
|
|
@Data
|
|
|
public class NotifyTemplateBaseVO {
|
|
|
|
|
@@ -23,7 +23,7 @@ public class NotifyTemplateBaseVO {
|
|
|
@NotNull(message = "模版编码不能为空")
|
|
|
private String code;
|
|
|
|
|
|
- @Schema(description = "模版类型 - 对应 system_notify_template_type 字典", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
+ @Schema(description = "模版类型,对应 system_notify_template_type 字典", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
@NotNull(message = "模版类型不能为空")
|
|
|
private Integer type;
|
|
|
|
|
@@ -35,7 +35,7 @@ public class NotifyTemplateBaseVO {
|
|
|
@NotEmpty(message = "模版内容不能为空")
|
|
|
private String content;
|
|
|
|
|
|
- @Schema(description = "状态 - 参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
+ @Schema(description = "状态,参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
@NotNull(message = "状态不能为空")
|
|
|
@InEnum(value = CommonStatusEnum.class, message = "状态必须是 {value}")
|
|
|
private Integer status;
|