forked from luyan/epmet-cloud-lingshan
9 changed files with 276 additions and 1 deletions
@ -0,0 +1,33 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/7/15 2:05 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class SubjectArticleListFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 7657974985102791998L; |
||||
|
|
||||
|
public interface SubjectArticleListForm extends CustomerClientShowGroup{}; |
||||
|
|
||||
|
@NotBlank(message = "网格ID不能为空",groups = SubjectArticleListForm.class) |
||||
|
private String gridId; |
||||
|
|
||||
|
@NotBlank(message = "标签ID不能为空",groups = SubjectArticleListForm.class) |
||||
|
private String tagId; |
||||
|
|
||||
|
@NotNull(message = "pageSize不能为空",groups = SubjectArticleListForm.class) |
||||
|
private Integer pageSize; |
||||
|
|
||||
|
@NotNull(message = "pageNo不能为空",groups = SubjectArticleListForm.class) |
||||
|
private Integer pageNo; |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/7/15 4:34 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class SubjectListFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 6397877545890473794L; |
||||
|
|
||||
|
public interface SubjectListForm extends CustomerClientShowGroup{} |
||||
|
|
||||
|
@NotBlank(message = "网格ID不能为空",groups = SubjectListForm.class) |
||||
|
private String gridId; |
||||
|
} |
@ -0,0 +1,47 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/7/15 2:11 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class SubjectArticleListResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 2580894348808140034L; |
||||
|
|
||||
|
/** |
||||
|
* 文章标题 |
||||
|
*/ |
||||
|
private String articleTitle; |
||||
|
|
||||
|
/** |
||||
|
* 文章内容 |
||||
|
*/ |
||||
|
private String articleContent; |
||||
|
|
||||
|
/** |
||||
|
* 文章ID |
||||
|
*/ |
||||
|
private String articleId; |
||||
|
|
||||
|
/** |
||||
|
* 发布者姓名 |
||||
|
*/ |
||||
|
private String publisherName; |
||||
|
|
||||
|
/** |
||||
|
* 发布时间 |
||||
|
*/ |
||||
|
private String publishDate; |
||||
|
|
||||
|
/** |
||||
|
* 标签名字集合 |
||||
|
*/ |
||||
|
private String tagNames; |
||||
|
|
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/7/15 4:46 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class SubjectListResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -7761847964768693672L; |
||||
|
|
||||
|
/** |
||||
|
* 专题ID |
||||
|
*/ |
||||
|
private String specialSubjectId; |
||||
|
|
||||
|
/** |
||||
|
* 标签ID |
||||
|
*/ |
||||
|
private String tagId; |
||||
|
|
||||
|
/** |
||||
|
* 专题名字 |
||||
|
*/ |
||||
|
private String tagName; |
||||
|
} |
Loading…
Reference in new issue