package com.pavis.admin.aigc.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serial;
import java.io.Serializable;

/**
 * 智能体规划记录创建或修改参数
 *
 * @author semi
 * @since 2025/05/28 16:59
 */
@Data
@Schema(description = "智能体规划记录创建或修改参数")
public class AgentPlanReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long userId;

    /**
     * 所属会话ID
     */
    @Schema(description = "所属会话ID")
    private Long conversationId;

    /**
     * 对话消息Id
     */
    @Schema(description = "对话消息Id")
    private Long messageId;

    /**
     * 对话消息内容
     */
    @Schema(description = "对话消息内容")
    @NotBlank(message = "对话消息内容不能为空")
    @Length(max = 2147483647, message = "对话消息内容长度不能超过 {max} 个字符")
    private String messageContent;
}