package com.yaoai.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("episodes")
public class Episode {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long outlineId;
    private Long projectId;
    private Long tenantId;

    private Integer episodeNumber;
    private String title;
    private String summary;
    private String script;

    /** draft / ready */
    private String status;

    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
