xiaoyong931011
2022-07-08 fe87cd1b8168b9ef6f89e80bc5c1d6a5757af3c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.xcong.farmer.cms.modules.system.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
@Data
@ApiModel(value = "AdminSaveTemplateInfoDto", description = "参数接收类")
public class AdminSaveTemplateInfoDto {
 
    @ApiModelProperty(value = "模板Id")
    @NotNull(message = "参数不能为空")
    private Long id;
 
    @ApiModelProperty(value = "内容")
    @NotBlank(message = "参数不能为空")
    private String templateInfo;
 
}