package com.red.circle.other.app.dto.clientobject.ai.qianfan;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * 千帆AI聊天.
 * </p>
 *
 * @author pengshigang
 * @since 2023-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class QianFanChatCO implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String content;

    private String userMessage;

    private String ttsFile;

    /**
     * 赞或踩 1-赞 2-踩 默认为0
     */
    private Integer status;

    private Timestamp createTime;

    private String qianFanId;

}
