This commit is contained in:
jack ning
2025-01-17 12:38:20 +08:00
parent 4b4e01c49a
commit 90133e5dc8
8 changed files with 49 additions and 23 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 10:51:52
* @LastEditTime: 2025-01-17 12:16:28
* @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,13 +13,8 @@
*/
package com.bytedesk.core.ip.access;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
@@ -39,14 +34,6 @@ import lombok.EqualsAndHashCode;
@NoArgsConstructor
public class IpAccessEntity extends BaseEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@NotBlank(message = "uid is required")
@Column(name = "uuid", unique = true, nullable = false)
private String uid;
private String ip;
private String ipLocation;
private String endpoint; // 访问的接口

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-12-24 17:44:03
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-01-17 10:53:47
* @LastEditTime: 2025-01-17 12:20:00
* @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.