package com.sonic.frog.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 对话模型字典
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("chat_model_dict")
@ApiModel("对话模型字典")
public class ChatModelDict {
    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("对话模型code")
    @TableField("code")
    private String code;

    @ApiModelProperty("对话模型名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("对话模型描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("文本价格")
    @TableField("text_price")
    private Long textPrice;

    @ApiModelProperty("语音价格")
    @TableField("voice_price")
    private Long voicePrice;

    @ApiModelProperty("语音聊天价格")
    @TableField("voice_chat_price")
    private Long voiceChatPrice;

    @ApiModelProperty("问号图标内容")
    @TableField("question_mark")
    private String questionMark;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("是否默认对话模型 1：是 0：不是")
    @TableField("is_default")
    private Boolean isDefault;

    @ApiModelProperty("是否删除 0：未删除 1：删除")
    @TableField("is_delete")
    private Boolean isDelete;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("edit_time")
    private LocalDateTime editTime;
}