package com.huimv.employment.service.conversation.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 会话内 AI 对话请求（封装上游 console/chat 所需用户输入）。
 */
@Schema(description = "会话内 AI 对话请求")
public class ConversationChatRequest {

    @Schema(description = "用户本轮输入文本", example = "帮我招 10 个仓库临时工", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "消息内容不能为空")
    @Size(max = 8000, message = "消息内容不能超过 8000 字")
    private String message;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
