hejianhao
2026-08-20 fababb22599c8a4b3034bdfc98ee7502aa73bf4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.tcm.training.admin.live.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
 
import java.time.LocalDateTime;
 
/**
 * 养生课程视频播放记录。
 */
@TableName("tcm_health_course_play_record")
@Getter
@Setter
@NoArgsConstructor
public class HealthCoursePlayRecord {
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    @TableField("course_id")
    private Long courseId;
 
    @TableField("video_id")
    private Long videoId;
 
    @TableField("app_user_id")
    private Long appUserId;
 
    @TableField("play_start")
    private LocalDateTime playStart;
 
    @TableField("play_end")
    private LocalDateTime playEnd;
 
    @TableField("duration_seconds")
    private Integer durationSeconds;
 
    @TableField("is_completed")
    private Integer isCompleted;
 
    @TableField("last_play_position_seconds")
    private Integer lastPlayPositionSeconds;
}