package org.dromara.ai.domain;

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

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

/**
 * AI绘画作品收藏对象 ai_painting_favorite
 *
 * @author pengles
 */
@Data
@EqualsAndHashCode
@TableName("ai_painting_favorite")
public class AiPaintingFavorite implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId
    private Long id;

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

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

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

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

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

}
