package com.infoepoch.pms.dispatchassistant.domain.langchain.history;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * generated by code-generator
 *
 */
public class Messages {

    /**
     * 主键
     */
    private String id;
    /**
     * 会话表主键
     */
    private String cid;
    /**
     * 会话id
     */
    private String sessionId;
    /**
     * 请求id
     */
    private String requestId;
    /**
     * 角色'user','assistant'
     */
    private String role;
    /**
     * 消息内容
     */
    private String content;
    /**
     * 父消息id
     */
    private String parentMsgId;
    /**
     * 关键词提取结果（用于快速检索上下文）
     */
    private String keyWords;
    /**
     * 使用的AI模型
     */
    private String modelName;
    /**
     * 记录时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date recordTime;

    /**
     * 排序
     */

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }

    public String getCid() {
        return cid;
    }
    public void setCid(String cid) {
        this.cid = cid;
    }
    public String getSessionId() {
        return sessionId;
    }
    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }
    public String getRequestId() {
        return requestId;
    }
    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getRole() {
        return role;
    }
    public void setRole(String role) {
        this.role = role;
    }

    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }

    public String getParentMsgId() {
        return parentMsgId;
    }
    public void setParentMsgId(String parentMsgId) {
        this.parentMsgId = parentMsgId;
    }
    public String getKeyWords() {
        return keyWords;
    }
    public void setKeyWords(String keyWords) {
        this.keyWords = keyWords;
    }
    public String getModelName() {
        return modelName;
    }
    public void setModelName(String modelName) {
        this.modelName = modelName;
    }
    public Date getRecordTime() {
        return recordTime;
    }
    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    private Integer sort;

    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
}