package com.lesingle.edu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 课程活动实体
 */
@Schema(description = "课程活动实体")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("course_activity")
public class CourseActivity extends BaseEntity {

    @Schema(description = "课程 ID")
    private Long courseId;

    @Schema(description = "活动标题")
    private String title;

    @Schema(description = "活动类型")
    private String type;

    @Schema(description = "活动内容")
    private String content;

    @Schema(description = "活动材料")
    private String materials;

    @Schema(description = "活动时长（分钟）")
    private Integer durationMinutes;

    @Schema(description = "排序号")
    private Integer sortOrder;

}
