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("outlines")
public class Outline {

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

    private Long projectId;
    private Long tenantId;

    private String title;
    private String genre;
    private Integer episodeCount;
    private String synopsis;
    private String rawJson;

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

    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
