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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@TableName("t_pose_transformation")
@Data
public class PoseTransformation extends BaseEntity {

    private Long projectId;

    private Long accountId;

    private String uniqueId;

    private String taskIdBatch;

    private String productImage;

    private String lastFrameProductImage;

    private int poseId;

    private String gifUrl;

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

    private byte isLiked;

    @TableField("is_deleted")
    private byte isDeleted;

    private String modelName;

    private String taskStatus;

    private String prompt;

    public PoseTransformation() {
    }

    public PoseTransformation(Long projectId, Long accountId, String uniqueId, String productImage, int poseId) {
        this.projectId = projectId;
        this.accountId = accountId;
        this.uniqueId = uniqueId;
        this.productImage = productImage;
        this.poseId = poseId;
    }
}
