package com.seer.teach.teacher.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 章节信息表
 * </p>
 *
 * @author Captain
 * @since 2025-06-13
 */
@Getter
@Setter
@TableName("teacher_book_chapters")
@Schema(name = "BookChaptersEntity对象", description = "章节信息表")
public class BookChaptersEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "关联书籍ID")
    @TableField("book_id")
    private Integer bookId;

    @Schema(description = "章节序号")
    @TableField("sort")
    private Integer sort;

    @Schema(description = "章节标题")
    @TableField("title")
    private String title;

    @Schema(description = "章节原文内容")
    @TableField("content")
    private String content;

    @Schema(description = "页数")
    @TableField("page_count")
    private Integer pageCount;

    @Schema(description = "高效阅读文本内容")
    @TableField("description_content")
    private String descriptionContent;


}
