From c93bdeb8ed528d015865f763dfc240cbad7aa00b Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 05 六月 2024 11:45:08 +0800 Subject: [PATCH] feat:题目表移除分数字段 --- src/main/java/com/ycl/jxkg/domain/vo/ClassesVO.java | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/vo/ClassesVO.java b/src/main/java/com/ycl/jxkg/domain/vo/ClassesVO.java index 8d51133..963d76d 100644 --- a/src/main/java/com/ycl/jxkg/domain/vo/ClassesVO.java +++ b/src/main/java/com/ycl/jxkg/domain/vo/ClassesVO.java @@ -1,11 +1,14 @@ 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.domain.enums.general.ClassesStatusEnum; import org.springframework.lang.NonNull; import org.springframework.beans.BeanUtils; import io.swagger.annotations.ApiModel; @@ -26,19 +29,33 @@ /** 鍒涘缓浜� */ 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(); -- Gitblit v1.8.0