XuqmGroup-Server/xuqm-log-service/src/main/java/com/xuqm/log/entity/LogSourcemapEntity.java

53 行
1.6 KiB
Java

package com.xuqm.log.entity;
import jakarta.persistence.*;
import java.time.LocalDateTime;
@Entity
@Table(name = "log_sourcemaps")
public class LogSourcemapEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(nullable = false, length = 64)
private String appKey;
@Column(nullable = false, length = 16)
private String platform;
@Column(nullable = false, length = 32)
private String appVersion;
@Column(nullable = false, length = 128)
private String bundleName = "index";
@Column(nullable = false, length = 512)
private String storageKey;
@Column(nullable = false)
private LocalDateTime uploadedAt;
public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public String getAppKey() { return appKey; }
public void setAppKey(String appKey) { this.appKey = appKey; }
public String getPlatform() { return platform; }
public void setPlatform(String platform) { this.platform = platform; }
public String getAppVersion() { return appVersion; }
public void setAppVersion(String appVersion) { this.appVersion = appVersion; }
public String getBundleName() { return bundleName; }
public void setBundleName(String bundleName) { this.bundleName = bundleName; }
public String getStorageKey() { return storageKey; }
public void setStorageKey(String storageKey) { this.storageKey = storageKey; }
public LocalDateTime getUploadedAt() { return uploadedAt; }
public void setUploadedAt(LocalDateTime uploadedAt) { this.uploadedAt = uploadedAt; }
}