inleft
2022-02-21 a9c4c99791e4d43971afd863946a2b0c4db44708
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
 
package vip.xiaonuo.modular.blogarticle.param;
 
import lombok.Data;
import vip.xiaonuo.core.pojo.base.param.BaseParam;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
/**
* blog文章参数类
 *
 * @author inleft
 * @date 2022-02-09 18:21:14
*/
@Data
public class BlogArticleAddDto extends BaseParam {
 
 
 
    /**
     * 文章标题
     */
    @NotBlank(message = "文章标题不能为空,请检查title参数", groups = {add.class, edit.class})
    private String title;
 
    /**
     * 文章文件id
     */
    @NotNull(message = "文章文件id不能为空,请检查articleFileId参数", groups = {add.class, edit.class})
    private Long articleFileId;
 
    /**
     * 文件类型
     */
    private Integer articleFileType;
 
    /**
     * 文章分类
     */
    @NotNull(message = "文章分类不能为空,请检查articleTypeId参数", groups = {add.class, edit.class})
    private Long articleTypeId;
 
    /**
     * 文章引言
     */
    private String introduce;
 
    /**
     * 封面文件
     */
    private Long coverFileId;
 
    /**
     * 上次编辑时间
     */
    private String lastEditorDate;
 
    /**
     * 发布时间
     */
    private String publishDate;
 
    /**
     * 是否置顶
     */
    @NotNull(message = "是否置顶不能为空,请检查isTop参数", groups = {add.class, edit.class})
    private Integer isTop;
 
    /**
     * 置顶值
     */
    private Integer topValue;
 
    /**
     * 公开状态
     */
    private Integer authStatus;
 
    /**
     * 授权密码
     */
    private String authPassword;
 
    /**
     * 编辑状态
     */
    private Integer editorStatus;
 
 
}