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_rating_record
 *
 * @author pengles
 */
@Data
@EqualsAndHashCode
@TableName("ai_rating_record")
public class AiRatingRecord implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 消息ID
     */
    private String messageId;

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

    /**
     * Provider名称
     */
    private String providerName;

    /**
     * 评分(1-5)
     */
    private Integer rating;

    /**
     * 反馈内容
     */
    private String feedback;

    /**
     * 评价维度
     */
    private String dimension;

    /**
     * 是否匿名(0否 1是)
     */
    private Integer anonymous;

    /**
     * 创建时间
     */
    private Date createTime;

}
