package jnpf.entity.cultivate;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 学习课程日志表
 *
 * @author JNPF
 * @since 2026-04-08
 */
@Data
@Accessors(chain = true)
@TableName("ftb_cultivate_course_learning_log")
@Builder
public class FtbCultivateCourseLearningLogEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "唯一标识符")
    @TableId("F_Id")
    private String id;

    @Schema(description = "课程id")
    @TableField("F_CourseId")
    private String courseId;

    @Schema(description = "学习时长,单位秒")
    @TableField("F_LearnTime")
    private Integer learnTime;

    @Schema(description = "创建用户")
    @TableField("F_CreatorUserId")
    private String creatorUserId;

    @Schema(description = "创建时间")
    @TableField("F_CreatorTime")
    private Date creatorTime;

    @Schema(description = "有效标志")
    @TableField("F_EnabledMark")
    private Integer enabledMark;

    @Schema(description = "租户id")
    @TableField("F_TenantId")
    private String tenantId;

    @Schema(description = "状态 0-未完成 1-已完成")
    @TableField("F_Status")
    private Integer status;

}
