update modules/core: mod 1 files

This commit is contained in:
jack ning
2025-05-26 18:27:38 +08:00
parent df9cb95008
commit 4eb5adc8a9

View File

@@ -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();
}