2026-06-16 17:39:13 +08:00
|
|
|
package com.xuqm.bugcollect.entity;
|
2026-06-16 12:10:58 +08:00
|
|
|
|
|
|
|
|
import jakarta.persistence.*;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
|
|
@Entity
|
|
|
|
|
@Table(name = "log_issue_events")
|
|
|
|
|
public class LogIssueEventEntity {
|
|
|
|
|
|
|
|
|
|
@Id
|
|
|
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
|
|
private Long id;
|
|
|
|
|
|
|
|
|
|
@Column(nullable = false)
|
|
|
|
|
private Long issueId;
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
@Column(length = 64)
|
|
|
|
|
private String eventId;
|
|
|
|
|
|
2026-06-16 12:10:58 +08:00
|
|
|
@Column(nullable = false, length = 64)
|
|
|
|
|
private String appKey;
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
@Column(length = 20)
|
|
|
|
|
private String level;
|
|
|
|
|
|
2026-06-16 12:10:58 +08:00
|
|
|
@Column(length = 128)
|
|
|
|
|
private String userId;
|
|
|
|
|
|
|
|
|
|
@Column(length = 128)
|
|
|
|
|
private String sessionId;
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
@Column(length = 200)
|
|
|
|
|
private String exceptionType;
|
|
|
|
|
|
|
|
|
|
@Column(columnDefinition = "TEXT")
|
|
|
|
|
private String exceptionValue;
|
|
|
|
|
|
2026-06-16 12:10:58 +08:00
|
|
|
@Column(columnDefinition = "TEXT")
|
|
|
|
|
private String message;
|
|
|
|
|
|
|
|
|
|
@Column(columnDefinition = "LONGTEXT")
|
|
|
|
|
private String stack;
|
|
|
|
|
|
|
|
|
|
@Column(name = "stack_symbolicated", columnDefinition = "LONGTEXT")
|
|
|
|
|
private String stackSymbolicated;
|
|
|
|
|
|
|
|
|
|
@Column(columnDefinition = "JSON")
|
2026-06-17 15:30:05 +08:00
|
|
|
private String breadcrumbs;
|
|
|
|
|
|
|
|
|
|
@Column(columnDefinition = "JSON")
|
|
|
|
|
private String tags;
|
2026-06-16 12:10:58 +08:00
|
|
|
|
|
|
|
|
@Column(length = 16)
|
|
|
|
|
private String platform;
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
@Column(name = "app_version", length = 32)
|
|
|
|
|
private String release;
|
|
|
|
|
|
2026-06-22 16:47:34 +08:00
|
|
|
@Column(length = 32)
|
|
|
|
|
private String buildId;
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
@Column(length = 50)
|
|
|
|
|
private String environment;
|
|
|
|
|
|
|
|
|
|
@Column(columnDefinition = "JSON")
|
|
|
|
|
private String device;
|
|
|
|
|
|
|
|
|
|
@Column(length = 100)
|
|
|
|
|
private String sdkName;
|
|
|
|
|
|
|
|
|
|
@Column(length = 20)
|
|
|
|
|
private String sdkVersion;
|
2026-06-16 12:10:58 +08:00
|
|
|
|
|
|
|
|
@Column(nullable = false)
|
|
|
|
|
private LocalDateTime createdAt;
|
|
|
|
|
|
|
|
|
|
public Long getId() { return id; }
|
|
|
|
|
public void setId(Long id) { this.id = id; }
|
|
|
|
|
|
|
|
|
|
public Long getIssueId() { return issueId; }
|
|
|
|
|
public void setIssueId(Long issueId) { this.issueId = issueId; }
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
public String getEventId() { return eventId; }
|
|
|
|
|
public void setEventId(String eventId) { this.eventId = eventId; }
|
|
|
|
|
|
2026-06-16 12:10:58 +08:00
|
|
|
public String getAppKey() { return appKey; }
|
|
|
|
|
public void setAppKey(String appKey) { this.appKey = appKey; }
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
public String getLevel() { return level; }
|
|
|
|
|
public void setLevel(String level) { this.level = level; }
|
|
|
|
|
|
2026-06-16 12:10:58 +08:00
|
|
|
public String getUserId() { return userId; }
|
|
|
|
|
public void setUserId(String userId) { this.userId = userId; }
|
|
|
|
|
|
|
|
|
|
public String getSessionId() { return sessionId; }
|
|
|
|
|
public void setSessionId(String sessionId) { this.sessionId = sessionId; }
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
public String getExceptionType() { return exceptionType; }
|
|
|
|
|
public void setExceptionType(String exceptionType) { this.exceptionType = exceptionType; }
|
|
|
|
|
|
|
|
|
|
public String getExceptionValue() { return exceptionValue; }
|
|
|
|
|
public void setExceptionValue(String exceptionValue) { this.exceptionValue = exceptionValue; }
|
|
|
|
|
|
2026-06-16 12:10:58 +08:00
|
|
|
public String getMessage() { return message; }
|
|
|
|
|
public void setMessage(String message) { this.message = message; }
|
|
|
|
|
|
|
|
|
|
public String getStack() { return stack; }
|
|
|
|
|
public void setStack(String stack) { this.stack = stack; }
|
|
|
|
|
|
|
|
|
|
public String getStackSymbolicated() { return stackSymbolicated; }
|
|
|
|
|
public void setStackSymbolicated(String stackSymbolicated) { this.stackSymbolicated = stackSymbolicated; }
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
public String getBreadcrumbs() { return breadcrumbs; }
|
|
|
|
|
public void setBreadcrumbs(String breadcrumbs) { this.breadcrumbs = breadcrumbs; }
|
|
|
|
|
|
|
|
|
|
public String getTags() { return tags; }
|
|
|
|
|
public void setTags(String tags) { this.tags = tags; }
|
2026-06-16 12:10:58 +08:00
|
|
|
|
|
|
|
|
public String getPlatform() { return platform; }
|
|
|
|
|
public void setPlatform(String platform) { this.platform = platform; }
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
public String getRelease() { return release; }
|
|
|
|
|
public void setRelease(String release) { this.release = release; }
|
|
|
|
|
|
2026-06-22 16:47:34 +08:00
|
|
|
public String getBuildId() { return buildId; }
|
|
|
|
|
public void setBuildId(String buildId) { this.buildId = buildId; }
|
|
|
|
|
|
2026-06-17 15:30:05 +08:00
|
|
|
public String getEnvironment() { return environment; }
|
|
|
|
|
public void setEnvironment(String environment) { this.environment = environment; }
|
|
|
|
|
|
|
|
|
|
public String getDevice() { return device; }
|
|
|
|
|
public void setDevice(String device) { this.device = device; }
|
|
|
|
|
|
|
|
|
|
public String getSdkName() { return sdkName; }
|
|
|
|
|
public void setSdkName(String sdkName) { this.sdkName = sdkName; }
|
|
|
|
|
|
|
|
|
|
public String getSdkVersion() { return sdkVersion; }
|
|
|
|
|
public void setSdkVersion(String sdkVersion) { this.sdkVersion = sdkVersion; }
|
2026-06-16 12:10:58 +08:00
|
|
|
|
|
|
|
|
public LocalDateTime getCreatedAt() { return createdAt; }
|
|
|
|
|
public void setCreatedAt(LocalDateTime createdAt) { this.createdAt = createdAt; }
|
|
|
|
|
}
|