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("task_template")
public class TaskTemplate extends BaseEntity {

    @Schema(description = "租户 ID")
    private Long tenantId;

    @Schema(description = "模板名称")
    private String name;

    @Schema(description = "模板描述")
    private String description;

    @Schema(description = "模板类型")
    private String type;

    @Schema(description = "任务类型")
    private String taskType;

    @Schema(description = "关联课程 ID")
    private Long relatedCourseId;

    @Schema(description = "默认持续时间 (天)")
    private Integer defaultDuration;

    @Schema(description = "是否默认模板")
    private Integer isDefault;

    @Schema(description = "状态")
    private String status;

    @Schema(description = "创建人 ID")
    private Long createdBy;

    @Schema(description = "模板内容")
    private String content;

    @Schema(description = "是否公开")
    private Integer isPublic;

}
