refactor(codegen): 更新Swagger注解版本
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
lsym004933
2026-01-17 13:54:59 +08:00
parent 5730ae5046
commit c3b925cc13
82 changed files with 573 additions and 573 deletions

View File

@@ -2,7 +2,7 @@ package cn.fateverse.notice.dto;
import cn.fateverse.notice.enums.ActionEnums;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
@@ -17,36 +17,36 @@ import java.util.List;
@ApiModel("公告发送实体")
public class NoticeDto implements Serializable {
@ApiModelProperty("公告标题")
@Schema(description = "公告标题")
@NotNull(message = "公告标题不能为空")
private String noticeTitle;
@ApiModelProperty("公告类型1通知 2公告")
@Schema(description = "公告类型1通知 2公告")
@NotNull(message = "公告类型不能为空")
private String noticeType;
@ApiModelProperty("发送类型,用户:user,用户数组:user,角色:role,部门:dept,全发:all")
@Schema(description = "发送类型,用户:user,用户数组:user,角色:role,部门:dept,全发:all")
@NotNull(message = "发送类型不能为空")
private String sendType;
private ActionEnums action;
@ApiModelProperty("发送类型的id")
@Schema(description = "发送类型的id")
@NotNull(message = "发送对象id不能为空")
private List<Long> senderIds;
@ApiModelProperty("公告内容")
@Schema(description = "公告内容")
private String noticeContent;
@ApiModelProperty("内容类型: html,text 等")
@Schema(description = "内容类型: html,text 等")
@NotNull(message = "内容类型不能为空")
private String contentType;
@ApiModelProperty("发送群组")
@Schema(description = "发送群组")
@NotNull(message = "消息发送群组不能为空")
private String cluster;
@ApiModelProperty("公告备注")
@Schema(description = "公告备注")
private String remark;
}