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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class ToProductImageResult implements Serializable {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "elementId")
    private Long elementId;

    /**
     * 取值类型： DesignOutfit 以design的结果作为图片来源
     * ProductElement 上传的图片
     * ToProductImage 以to product image的结果作为图片来源(relight)
     */
    @ApiModelProperty(value = "elementType 图片来源：DesignOutfit(design的结果) | ProductElement(上传的图片) | ToProductImage(生成的结果)")
    private String elementType;

    @ApiModelProperty(value = "url")
    private String url;

    @ApiModelProperty(value = "isLike 1是0否")
    private Integer isLike;

    @ApiModelProperty(value = "createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "toProductImageRecordId")
    private Long toProductImageRecordId;

    @ApiModelProperty(value = "taskId")
    private String taskId;

    @ApiModelProperty(value = "userLikeGroupId")
    private Long userLikeGroupId;

    @ApiModelProperty(value = "generate 结果类型")
    private String resultType;

    private Double brightenValue;

    private BigDecimal imageStrength;

    private String direction;

    private Long projectId;

    private String taskIdBatch;

    private String modelName;

    private String status;

    @ApiModelProperty(value = "是否删除1:是 0:否")
    @TableField
    private byte isDeleted = 0;
}
