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; }