package com.jeesharp.business.modules.ai.dto;

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class AiChatMessageSaveDTO extends BaseSaveDTO {

    @NotBlank(message = "会话ID不能为空")
    private String sessionId;

    @NotBlank(message = "会员ID不能为空")
    private String memberId;

    @NotBlank(message = "消息角色不能为空")
    private String messageRole;

    @NotBlank(message = "消息类型不能为空")
    private String messageType;

    @NotBlank(message = "消息内容不能为空")
    private String messageContent;

    private String messageStatus;
    private String traceId;
    private String quoteMessageId;
    private String extJson;
}
