package com.ai.da.mapper.primary.entity;


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

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_generate")
public class Generate {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long accountId;

    /**
     * 唯一id
     */
    private String uniqueId;

    /**
     * Sketchboard  Printboard
     */
    private String level1Type;

    /**
     * 图片来源 collection | library
     */
    private String elementSource;

    /**
     * 关联collection element id
     */
    private Long elementId;

    /**
     * caption的内容
     */
    private String text;

    /**
     * 选择生成类型：text、image、text-image
     */
    private String generateType;

    /**
     * 模型名
     */
    private String modelName;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 更新时间
     */
    private Date updateDate;

}
