diff --git a/modules/core/src/main/java/com/bytedesk/core/action/ActionEntity.java b/modules/core/src/main/java/com/bytedesk/core/action/ActionEntity.java index 438758b69b..97d28081af 100644 --- a/modules/core/src/main/java/com/bytedesk/core/action/ActionEntity.java +++ b/modules/core/src/main/java/com/bytedesk/core/action/ActionEntity.java @@ -2,7 +2,7 @@ * @Author: jackning 270580156@qq.com * @Date: 2024-04-25 15:31:38 * @LastEditors: jackning 270580156@qq.com - * @LastEditTime: 2025-03-20 12:42:51 + * @LastEditTime: 2025-05-26 18:20:27 * @Description: bytedesk.com https://github.com/Bytedesk/bytedesk * Please be aware of the BSL license restrictions before installing Bytedesk IM – * selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license. @@ -58,23 +58,14 @@ public class ActionEntity extends BaseEntity { @Builder.Default // @Enumerated(EnumType.STRING) @Column(name = "action_type", nullable = false) - // private String type = TypeConsts.ACTION_TYPE_LOG; - // private ActionTypeEnum type = ActionTypeEnum.LOG; private String type = ActionTypeEnum.LOG.name(); // action failed object @Builder.Default - // json字段格式,搜索时,对数据库有依赖,不方便迁移 - // @Column(columnDefinition = TypeConsts.COLUMN_TYPE_JSON) - // @JdbcTypeCode(SqlTypes.JSON) @Column(length = BytedeskConsts.COLUMN_EXTRA_LENGTH) private String extra = BytedeskConsts.EMPTY_JSON_STRING; - // private String userUid; @ManyToOne(fetch = FetchType.LAZY) private UserEntity user; - // @Builder.Default - // private String platform = PlatformEnum.BYTEDESK.name(); - }