| | |
| | | package com.ycl.jxkg.domain.vo; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ycl.jxkg.domain.base.AbsVo; |
| | | import com.ycl.jxkg.domain.entity.Classes; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.ycl.jxkg.enums.general.ClassesStatusEnum; |
| | | import org.springframework.lang.NonNull; |
| | | import org.springframework.beans.BeanUtils; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | |
| | | /** 班级名称 */ |
| | | private String className; |
| | | |
| | | /** 老师 */ |
| | | private List<Integer> teacherList; |
| | | private String teacherNamesStr; |
| | | |
| | | /** 创建人 */ |
| | | private Integer createUser; |
| | | private String createUserName; |
| | | private String teacherPhone; |
| | | |
| | | /** 创建时间 */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | |
| | | /** 班级人数 */ |
| | | private Integer classesNumber; |
| | | |
| | | /** 班级状态 */ |
| | | private String status; |
| | | private ClassesStatusEnum status; |
| | | |
| | | /** 验证状态 */ |
| | | private String verifyStatus; |
| | | |
| | | /** 开始时间 */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date startTime; |
| | | |
| | | /** 结束时间 */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date endTime; |
| | | |
| | | /** 备注 */ |
| | | private String remark; |
| | | |
| | | public static ClassesVO getVoByEntity(@NonNull Classes entity, ClassesVO vo) { |
| | | if(vo == null) { |
| | | vo = new ClassesVO(); |