working version with new Kotlin frontend!!!

This commit is contained in:
2024-02-21 08:52:00 +08:00
parent d4306555df
commit b14862fc7d
20 changed files with 828 additions and 191 deletions

View File

@@ -6,9 +6,12 @@ import lombok.RequiredArgsConstructor;
import java.io.Serializable;
@RequiredArgsConstructor
public enum CompressionFormat {
public enum CompressionFormat implements Comparable<CompressionFormat> {
XZ("xz"), GZIP("gz"), Z_STANDARD("zst");
@Getter
private final String value;
}

View File

@@ -84,6 +84,8 @@ public class PkgData implements Serializable {
private long size;
private long installedSize;
@Getter(onMethod_ = {
@ManyToMany,
@JoinTable(name = "PkgData_license")