package com.qxueyou.scc.portal.information.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import org.hibernate.validator.constraints.NotBlank;
|
|
//import javax.validation.constraints.NotBlank;
|
|
/**
|
* @author angy
|
* @created by 2021/3/1
|
*/
|
@ApiModel("保存文章VO")
|
public class SaveArticleVO {
|
|
//文章标题
|
@NotBlank(message = "文章标题不能为空!")
|
@ApiModelProperty(name = "title", value = "文章标题", dataType = "string", required = true)
|
private String title;
|
|
//文章类型
|
@NotBlank(message = "文章类型")
|
@ApiModelProperty(name = "type", value = "文章类型", dataType = "string", required = true)
|
private String type;
|
|
@ApiModelProperty(name = "dateTime", value = "时间", dataType = "string")
|
private String dateTime;
|
|
//缩略图
|
@ApiModelProperty(name = "thumbnailUrl", value = "缩略图url", dataType = "string")
|
private String thumbnailUrl;
|
|
//文章内容
|
@ApiModelProperty(name = "content", value = "文章内容", dataType = "string")
|
private String content;
|
|
@ApiModelProperty(name = "attachment", value = "文章附件", dataType = "string")
|
private String attachment;
|
|
@ApiModelProperty(name = "subColumn", value ="子栏目",dataType = "string")
|
private String subColumn;
|
|
@ApiModelProperty(name = "numbers", value ="届数",dataType = "string")
|
private String numbers;
|
|
@ApiModelProperty(name = "competition", value ="竞赛文件",dataType = "string")
|
private String competition;
|
|
@ApiModelProperty(name = "preliminaries", value ="初赛成绩",dataType = "string")
|
private String preliminaries;
|
|
@ApiModelProperty(name = "finals", value ="决赛成绩",dataType = "string")
|
private String finals;
|
|
private String videoUrl;
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getThumbnailUrl() {
|
return thumbnailUrl;
|
}
|
|
public void setThumbnailUrl(String thumbnailUrl) {
|
this.thumbnailUrl = thumbnailUrl;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
public String getAttachment() {
|
return attachment;
|
}
|
|
public void setAttachment(String attachment) {
|
this.attachment = attachment;
|
}
|
|
public String getDateTime() {
|
return dateTime;
|
}
|
|
public void setDateTime(String dateTime) {
|
this.dateTime = dateTime;
|
}
|
|
public String getSubColumn() {
|
return subColumn;
|
}
|
|
public void setSubColumn(String subColumn) {
|
this.subColumn = subColumn;
|
}
|
|
public String getNumbers() {
|
return numbers;
|
}
|
|
public void setNumbers(String numbers) {
|
this.numbers = numbers;
|
}
|
|
public String getCompetition() {
|
return competition;
|
}
|
|
public void setCompetition(String competition) {
|
this.competition = competition;
|
}
|
|
public String getPreliminaries() {
|
return preliminaries;
|
}
|
|
public void setPreliminaries(String preliminaries) {
|
this.preliminaries = preliminaries;
|
}
|
|
public String getFinals() {
|
return finals;
|
}
|
|
public void setFinals(String finals) {
|
this.finals = finals;
|
}
|
|
public String getVideoUrl() {
|
return videoUrl;
|
}
|
|
public void setVideoUrl(String videoUrl) {
|
this.videoUrl = videoUrl;
|
}
|
}
|