package org.dromara.ai.domain.vo;

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

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

/**
 * AI Provider配置历史视图对象 ai_provider_config_history
 *
 * @author pengles
 */
@Data
@EqualsAndHashCode
@AutoMapper(target = AiProviderConfigHistory.class)
public class AiProviderConfigHistoryVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 配置ID
     */
    private Long configId;

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

    /**
     * 配置数据(JSON字符串)
     */
    private String configData;

    /**
     * 操作类型(CREATE/UPDATE/DELETE)
     */
    private String operationType;

    /**
     * 操作类型（字符串显示）
     */
    private String operationTypeStr;

    /**
     * 操作时间
     */
    private Date operationTime;

    /**
     * 操作者
     */
    private String operationBy;

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

}