package jnpf.entity.training;

import com.baomidou.mybatisplus.annotation.TableName;
import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.*;

/**
 * <p>
 * 阅读记录表
 * </p>
 *
 * @author ahua
 * @since 2023-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ftb_training_reading_log")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TrainingReadingLogEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("F_Id")
    private String id;

    /**
     * 课程id
     */
    @TableField("F_CourseId")
    private String courseId;

    /**
     * 用户id
     */
    @TableField("F_UserId")
    private String userId;

    /**
     * 开始时间
     */
    @TableField("F_Start")
    private Date start;

    /**
     * 结束时间
     */
    @TableField("F_End")
    private Date end;

    /**
     * 时长(s)
     */
    @TableField("F_Duration")
    private Long duration;

    /**
     * 最后阅读章节id
     */
    @TableField("F_LastChapterId")
    private String lastChapterId;

    /**
     * 租户id
     */
    @TableField("F_TenantId")
    private String tenantId;


}
