mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 11:07:06 +00:00
(improvement)(chat)Remove unused DO objects.
(improvement)(chat)Remove unused DO objects.
This commit is contained in:
@@ -1,11 +1,16 @@
|
|||||||
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 {
|
||||||
|
|
||||||
private long chatId;
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long chatId;
|
||||||
private Integer agentId;
|
private Integer agentId;
|
||||||
private String chatName;
|
private String chatName;
|
||||||
private String createTime;
|
private String createTime;
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
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;
|
|
||||||
}
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
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