From 790c2ba4a0b46edf191e3bac84931f796bd42b8f Mon Sep 17 00:00:00 2001 From: zhangf <1603559716@qq.com> Date: 星期三, 24 七月 2024 09:02:49 +0800 Subject: [PATCH] 三方对接接口优化 --- exam-system/src/main/java/com/gkhy/exam/institutionalaccess/entity/ThBatchCourseChapter.java | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/entity/ThBatchCourseChapter.java b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/entity/ThBatchCourseChapter.java new file mode 100644 index 0000000..900af30 --- /dev/null +++ b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/entity/ThBatchCourseChapter.java @@ -0,0 +1,54 @@ +package com.gkhy.exam.institutionalaccess.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; +import nonapi.io.github.classgraph.json.Id; + +import java.math.BigDecimal; +import java.time.LocalDateTime; + + +@Data +@TableName("th_batch_course_chapter") +public class ThBatchCourseChapter { + @Id + @TableId(type = IdType.AUTO) + private Long id; + private String batchUuid; + private String courseUuid; + private String chapterUuid; + private String chapterCode; + private String chapterName; + //有无资源(10无,20有) + private Byte haveResource; + //资源类型(0视频,1音频) + private Byte resourceType; + private BigDecimal lessonNum; + private Long duration; + //视频路径 + private String url; + private String parentUuid; + private Long institutionId; + //删除标志(0代表存在 2代表删除) + private Byte delFlag; + + /** 创建者 */ + private String createBy; + + /** 创建时间 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private LocalDateTime createTime; + + /** 更新者 */ + private String updateBy; + + /** 更新时间 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private LocalDateTime updateTime; + + private Integer serialno; + +} -- Gitblit v1.9.2