package com.cyksj.model.entity;

import com.ejlchina.searcher.bean.SearchBean;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author zwhui
 * @date 2024/4/23 11:10
 */
@Data
@Accessors(chain = true)
@SearchBean(tables = "midjourney_user_conversation")
public class MidjourneyUserConversation extends BaseEntity implements Serializable {

    private Long userId;

    /**
     * plus服务任务id
     */
    private Long taskId;

    /**
     * IMAGINE,UPSCALE,VARIATION,ZOOM,PAN,DESCRIBE,BLEND,SHORTEN
     */
    private String action;

    /**
     * 频道id
     */
    private Long channelId;

    /**
     * plus服务实例id
     */
    private Long instanceId;

    /**
     * 模式 1:fast 2:relax
     */
    private Integer mode;

    /**
     * 开始时间
     */
    private Long startTime;

    /**
     * 完成时间
     */
    private Long finishTime;

    /**
     * 提示词
     */
    private String prompt;

    /**
     * 描述
     */
    private String description;

    /**
     * 任务状态,可用值:IN_PROGRESS,FAILURE,SUCCESS,CANCEL
     */
    private String status;

    /**
     * 失败原因
     */
    private String failReason;

    /**
     * 进度
     */
    private String progress;

    /**
     * 图片地址
     */
    private String imageUrl;

    /**
     * 按钮
     */
    private String buttons;

    /**
     * 属性
     */
    private String properties;

    /**
     * 书签
     */
    private Boolean bookmark;

}
