mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-30 04:54:25 +08:00
Compare commits
1 Commits
5e1c5fdc64
...
567e7999e0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
567e7999e0 |
@@ -1,16 +1,11 @@
|
|||||||
package com.tencent.supersonic.chat.server.persistence.dataobject;
|
package com.tencent.supersonic.chat.server.persistence.dataobject;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@TableName("s2_chat")
|
|
||||||
public class ChatDO {
|
public class ChatDO {
|
||||||
|
|
||||||
@TableId(type = IdType.AUTO)
|
private long chatId;
|
||||||
private Long chatId;
|
|
||||||
private Integer agentId;
|
private Integer agentId;
|
||||||
private String chatName;
|
private String chatName;
|
||||||
private String createTime;
|
private String createTime;
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
package com.tencent.supersonic.chat.server.persistence.dataobject;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class DictConfDO {
|
||||||
|
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
private Long modelId;
|
||||||
|
|
||||||
|
private String dimValueInfos;
|
||||||
|
|
||||||
|
private String createdBy;
|
||||||
|
private String updatedBy;
|
||||||
|
private Date createdAt;
|
||||||
|
private Date updatedAt;
|
||||||
|
}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
package com.tencent.supersonic.chat.server.persistence.dataobject;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.ToString;
|
||||||
|
import org.apache.commons.codec.digest.DigestUtils;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ToString
|
||||||
|
public class DictTaskDO {
|
||||||
|
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
private String description;
|
||||||
|
|
||||||
|
private String command;
|
||||||
|
|
||||||
|
private String commandMd5;
|
||||||
|
|
||||||
|
private String dimIds;
|
||||||
|
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
private String createdBy;
|
||||||
|
|
||||||
|
private Date createdAt;
|
||||||
|
|
||||||
|
private Double progress;
|
||||||
|
|
||||||
|
private Long elapsedMs;
|
||||||
|
|
||||||
|
public String getCommandMd5() {
|
||||||
|
return DigestUtils.md5Hex(command);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user