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_live_watch_record") @Getter @Setter @NoArgsConstructor public class LiveWatchRecord { @TableId(type = IdType.AUTO) private Long id; @TableField("live_course_id") private Long liveCourseId; @TableField("session_id") private Long sessionId; @TableField("app_user_id") private Long userId; @TableField("watch_start") private LocalDateTime watchStart; @TableField("watch_end") private LocalDateTime watchEnd; @TableField("duration_seconds") private Integer durationSeconds; @TableField("is_completed") private Integer isCompleted; @TableField("is_effective") private Integer isEffective; }