This commit is contained in:
ire 2025-01-04 10:54:38 +08:00
parent 43c2aa1c42
commit ae7a81b123

View File

@ -17,7 +17,7 @@ public class PromptTemplatesBackupSaveReqVO {
private Long srcId;
@Schema(description = "模板名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
@NotEmpty(message = "模板名称不能为空")
// @NotEmpty(message = "模板名称不能为空")
private String name;
@Schema(description = "模板分类")
@ -35,4 +35,4 @@ public class PromptTemplatesBackupSaveReqVO {
@Schema(description = "模板类型", example = "1")
private Integer templateType;
}
}