This commit is contained in:
jack ning
2025-03-11 18:29:28 +08:00
parent fc2e9faa1e
commit a0bfa2ad81
2 changed files with 8 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-12-24 17:43:48
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-01-17 12:16:28
* @LastEditTime: 2025-03-11 18:26:34
* @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.
@@ -13,6 +13,7 @@
*/
package com.bytedesk.core.ip.access;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
@@ -22,6 +23,7 @@ import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
import com.bytedesk.core.base.BaseEntity;
import com.bytedesk.core.constant.TypeConsts;
import lombok.EqualsAndHashCode;
@@ -37,6 +39,8 @@ public class IpAccessEntity extends BaseEntity {
private String ip;
private String ipLocation;
private String endpoint; // 访问的接口
@Column(columnDefinition = TypeConsts.COLUMN_TYPE_TEXT)
private String params; // 访问的参数
private LocalDateTime accessTime;