| | |
| | | package com.ycl.jxkg.domain.vo.admin.education; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.models.auth.In; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | |
| | | */ |
| | | @Data |
| | | public class EducationResourceVO { |
| | | |
| | | /** 当前页大小 */ |
| | | private Integer pageSize = 10; |
| | | |
| | | /** 当前页 */ |
| | | private Integer pageNum = 1; |
| | | |
| | | private Integer id; |
| | |
| | | private UploadFile contentUrl; |
| | | private String contentUrlString; |
| | | |
| | | /** 所属分类 */ |
| | | @NotNull(message = "请选择分类") |
| | | private Integer belongType; |
| | | /** 所属学科 */ |
| | | @NotNull(message = "请选择学科") |
| | | private Integer subjectId; |
| | | |
| | | /** 学科名 */ |
| | | private String typeName; |
| | | |
| | | /** 班级 */ |
| | | @NotNull(message = "请选择班级") |
| | | private Integer classId; |
| | | /** 学生端分页查询条件 */ |
| | | private List<Integer> classIds; |
| | | /** 班级名 */ |
| | | private String className; |
| | | |
| | | /** 主题 */ |
| | | @NotBlank(message = "请输入主题简介") |
| | |
| | | private List<UploadFile> attachment; |
| | | private String attachmentString; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Integer createUser; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createTime; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateTime; |
| | | |
| | | private String visitUrl; |
| | | @Data |
| | | public static class UploadFile { |
| | | |