package org.jeecg.modules.ctop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

/**
 * 剧本内容信息
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2020-03-06
 */
@Data
@TableName("ctop_drama_item_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_drama_item_info对象", description = "剧本内容信息")
public class DramaItemInfo {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 元素类型1：描述 2：对话
     */
    @Excel(name = "元素类型1：情节描述 2：对话", width = 15)
    @ApiModelProperty(value = "元素类型1：描述 2：对话")
    private Integer type;
    private Integer plainSeq;
    /**
     * 剧本id
     */
    @Excel(name = "剧本id", width = 15)
    @ApiModelProperty(value = "剧本id")
    private Long dramaId;
    /**
     * roleId
     */
    @Excel(name = "roleId", width = 15)
    @ApiModelProperty(value = "roleId")
    private Long roleId;
    /**
     * 台词
     */
    @Excel(name = "line", width = 15)
    @ApiModelProperty(value = "content")
    private String line;
    /**
     * 排序号
     */
    @Excel(name = "排序号", width = 15)
    @ApiModelProperty(value = "排序号")
    private Integer rank;
    /**
     * enabled
     */
    @Excel(name = "enabled", width = 15)
    @ApiModelProperty(value = "enabled")
    private Integer enabled;
    /**
     * createTime
     */
    @ApiModelProperty(value = "createTime")
    private Date createTime;
    /**
     * updateTime
     */
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;

    /**
     * 场景
     */
    private String scene;
    /**
     * 剪辑描述
     */
    private String clipRemark;
    /**
     * 画面内容
     */
    private String picContent;

    @TableField(exist = false)
    private String roleName;

}
