package com.ai.da.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PoseTransformationVO implements AllCollectionVO{

    private Long id;

    private String taskId;

    private String productImage;

    private String lastFrameProductImage;

    private String gifUrl;

    private String videoUrl;
    // GIF第一帧截图
    private String firstFrameUrl;

    private byte isLiked;

    // Success || Executing || Invalid || Failed
    private String status;
    private String collectionType;

    private String resultType;
    private Integer sort;
    private Long userLikeSortId;
    private String relationType;

    private Long parentId;

    private String modelName;

    private int poseId;

    private String prompt;

    public PoseTransformationVO(Long id, String taskId, String gifUrl, String videoUrl, String firstFrameUrl, byte isLiked, String status) {
        this.id = id;
        this.taskId = taskId;
        this.gifUrl = gifUrl;
        this.videoUrl = videoUrl;
        this.firstFrameUrl = firstFrameUrl;
        this.isLiked = isLiked;
        this.status = status;
    }

    public PoseTransformationVO(String taskId, String status) {
        this.taskId = taskId;
        this.status = status;
    }
}
