Helius
2022-07-12 5e54f37b9bfd01874c22c017c768adb2f8fee24d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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 = "AdminUpdateColumnDto", description = "参数接收类")
public class AdminUpdateColumnDto {
 
    @NotNull(message = "参数不能为空")
    @ApiModelProperty(value = "栏目ID")
    private Long id;
 
    @ApiModelProperty(value = "栏目名称")
    @NotBlank(message = "请输入栏目名称")
    private String columnName;
 
    @ApiModelProperty(value = "栏目编码")
    @NotBlank(message = "请输入栏目编码")
    private String columnCode;
 
    @ApiModelProperty(value = "描述")
    private String remark;
 
    @ApiModelProperty(value = "排序")
    private Integer orderNum;
 
    @ApiModelProperty(value = "图片")
    private String pic;
 
    @ApiModelProperty(value = "上级类目ID")
    private Long parentId;
 
    @ApiModelProperty(value = "列表页模板")
    private String listTemplate;
 
    @ApiModelProperty(value = "文章页模板")
    private String articleTemplate;
 
    @ApiModelProperty(value = "栏目类型 1-普通栏目 2-标题栏目")
    private Integer type;
 
    @ApiModelProperty(value = "若栏目类型为标题类型 1-链接到内容 2-链接到栏目 3-外部地址")
    private Integer targetType;
 
    @ApiModelProperty(value = "目标地址")
    private String targetUrl;
 
    @ApiModelProperty(value = "是否为导航 1-是 2-否")
    private Integer isNav;
 
    @ApiModelProperty(value = "内容类型 1:文章 2:图片 3:文件 4:音频")
    private Integer contentType;
}