revised includes edited user entity

This commit is contained in:
heyethereum
2024-07-11 00:22:27 +08:00
parent 878c8e2349
commit ccd6baf0d7
24 changed files with 635 additions and 15 deletions

View File

@@ -0,0 +1,28 @@
package com.safeqr.app.qrcode.entity;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import java.util.UUID;
@Data
@Entity
@Table(name = "safe_browsing_cache", schema = "safeqr")
public class SafeBrowsingCache {
@Id
@GeneratedValue(generator = "UUID")
@GenericGenerator(name = "UUID", strategy = "org.hibernate.id.UUIDGenerator")
private UUID id;
private String hashPrefix;
private String threatType;
private String platformType;
private String threatEntryType;
private String fullHash;
}