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_user_background")
@ApiModel("对话用户聊天背景")
public class ChatUserBackground {
    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("对话用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("AI的id")
    @TableField("ai_id")
    private Long aiId;

    @ApiModelProperty("图片地址")
    @TableField("img_url")
    private String imgUrl;

    @ApiModelProperty("图片宽")
    @TableField("width")
    private String width;

    @ApiModelProperty("图片高")
    @TableField("height")
    private String height;

    @ApiModelProperty("排序")
    @TableField("img_order")
    private Integer imgOrder;

    @ApiModelProperty("是否删除")
    @TableField("is_delete")
    private Boolean isDelete;

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

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