TASK:LLM;
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.ChatMessage;
|
||||
|
||||
public interface ChatMessageMapper extends CommonMapper<ChatMessage> {
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("chat_message")
|
||||
public class ChatMessage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
private Long projectId;
|
||||
|
||||
private String role;
|
||||
|
||||
private Integer seq;
|
||||
|
||||
private String content;
|
||||
|
||||
private Long accountId;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
}
|
||||
@@ -101,5 +101,9 @@ public class Workspace implements Serializable {
|
||||
|
||||
private Long projectId;
|
||||
|
||||
private Integer userBrandDna;
|
||||
|
||||
private Integer brandPercentage;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user