package org.dromara.ai.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.ai.domain.AiPaintingFavorite;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * AI绘画作品收藏视图对象 ai_painting_favorite
 *
 * @author pengles
 */
@Data
@EqualsAndHashCode
@AutoMapper(target = AiPaintingFavorite.class)
public class AiPaintingFavoriteVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

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

    /**
     * 绘画记录ID
     */
    private Long paintingRecordId;

    /**
     * 任务ID
     */
    private String taskId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 收藏时间
     */
    private Date createTime;

    /**
     * 绘画记录信息（关联查询）
     */
    private AiPaintingRecordVo paintingRecord;

}
