mirror of
https://gitee.com/lucinox/dsapi_pub.git
synced 2026-12-07 02:55:00 +08:00
73 lines
1.5 KiB
Java
73 lines
1.5 KiB
Java
package com.dsapi.entity;
|
|
|
|
import jakarta.persistence.Column;
|
|
import jakarta.persistence.Entity;
|
|
import jakarta.persistence.GeneratedValue;
|
|
import jakarta.persistence.GenerationType;
|
|
import jakarta.persistence.Id;
|
|
import jakarta.persistence.Table;
|
|
|
|
/**
|
|
* Web 聊天会话表 biz_conversation。
|
|
*/
|
|
@Entity
|
|
@Table(name = "biz_conversation")
|
|
public class BizConversation extends BaseEntity {
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
private Long id;
|
|
|
|
@Column(name = "user_id", nullable = false)
|
|
private Long userId;
|
|
|
|
@Column(name = "title")
|
|
private String title;
|
|
|
|
@Column(name = "deep_thinking", nullable = false)
|
|
private Integer deepThinking = 0;
|
|
|
|
@Column(name = "smart_search", nullable = false)
|
|
private Integer smartSearch = 0;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getUserId() {
|
|
return userId;
|
|
}
|
|
|
|
public void setUserId(Long userId) {
|
|
this.userId = userId;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public Integer getDeepThinking() {
|
|
return deepThinking;
|
|
}
|
|
|
|
public void setDeepThinking(Integer deepThinking) {
|
|
this.deepThinking = deepThinking;
|
|
}
|
|
|
|
public Integer getSmartSearch() {
|
|
return smartSearch;
|
|
}
|
|
|
|
public void setSmartSearch(Integer smartSearch) {
|
|
this.smartSearch = smartSearch;
|
|
}
|
|
}
|