|
|
@ -22,7 +22,7 @@ public class ArticleAddModel {
|
|
|
|
@ApiModelProperty(value = "文章标题")
|
|
|
|
@ApiModelProperty(value = "文章标题")
|
|
|
|
private String title;
|
|
|
|
private String title;
|
|
|
|
|
|
|
|
|
|
|
|
@Length(min = 1, max = 255, message = "文章标题长度在1-255之间")
|
|
|
|
@Length(min = 1, max = 255, message = "文章类型长度在1-255之间")
|
|
|
|
@NotBlank(message = "文章类型必填")
|
|
|
|
@NotBlank(message = "文章类型必填")
|
|
|
|
@ApiModelProperty(value = "文章类型")
|
|
|
|
@ApiModelProperty(value = "文章类型")
|
|
|
|
private String type;
|
|
|
|
private String type;
|
|
|
|