From f0f00e9ba8a755e4317e029d73b69a92ad9f9df1 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期六, 14 九月 2024 17:02:41 +0800
Subject: [PATCH] update

---
 exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyPeriodVO.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyPeriodVO.java b/exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyPeriodVO.java
index 0c7d62b..0b6e742 100644
--- a/exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyPeriodVO.java
+++ b/exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyPeriodVO.java
@@ -1,5 +1,6 @@
 package com.gkhy.exam.system.domain.vo;
 
+import com.fasterxml.jackson.annotation.JsonInclude;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Getter;
@@ -9,10 +10,13 @@
 import java.math.BigDecimal;
 import java.time.LocalDateTime;
 
+import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL;
+
 @Getter
 @Setter
 @Accessors(chain = true)
 @ApiModel(description = "课程用户学习日志")
+@JsonInclude(NON_NULL)
 public class StudentStudyPeriodVO {
     @ApiModelProperty(value = "课时id")
     private Long periodId;
@@ -37,4 +41,8 @@
 
     @ApiModelProperty(value = "资源id")
     private Long resourceId;
+
+    @ApiModelProperty(value = "资源种类(1:视频2:音频;3:文档)")
+    private Integer resourceType;
+
 }

--
Gitblit v1.9.2