From a39e023677a9c5c68ba3b6577f0d7da24b9dc65e Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Wed, 30 Oct 2024 11:14:08 +0800
Subject: [PATCH] update
---
exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyPeriodVO.java | 11 +++++++++++
1 files changed, 11 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 0c9082a..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;
@@ -34,4 +38,11 @@
@ApiModelProperty(value = "课时学习更新时间")
private LocalDateTime updateTime;
+
+ @ApiModelProperty(value = "资源id")
+ private Long resourceId;
+
+ @ApiModelProperty(value = "资源种类(1:视频2:音频;3:文档)")
+ private Integer resourceType;
+
}
--
Gitblit v1.9.2