邮件模块swagger注释修改
parent
1a120cd07c
commit
f349fbf84a
@ -1,4 +1,9 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.mail.vo.log;
|
||||
|
||||
public class MailLogExportReqVO extends MailLogPageReqVO{
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
@ApiModel("管理后台 - 邮箱日志导出 Request VO")
|
||||
@Data
|
||||
public class MailLogExportReqVO extends MailLogPageReqVO {
|
||||
}
|
||||
|
||||
@ -1,10 +1,15 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.mail.vo.template;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.ToString;
|
||||
|
||||
@ApiModel("管理后台 - 邮箱模版创建 Request VO")
|
||||
@Data
|
||||
public class MailTemplateCreateReqVO extends MailTemplateBaseVO{
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class MailTemplateCreateReqVO extends MailTemplateBaseVO {
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -1,7 +1,20 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.mail.vo.template;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.ToString;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@ApiModel("管理后台 - 邮箱模版修改 Request VO")
|
||||
@Data
|
||||
public class MailTemplateUpdateReqVO extends MailTemplateBaseVO{
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class MailTemplateUpdateReqVO extends MailTemplateBaseVO {
|
||||
|
||||
@ApiModelProperty(value = "编号", required = true, example = "1024")
|
||||
@NotNull(message = "编号不能为空")
|
||||
private Long id;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue