Better capacity support
Build / build (push) Successful in 2m36s
Deploy / build (push) Successful in 2m40s

This commit is contained in:
2025-06-09 15:03:16 +02:00
parent 85de1c0c9f
commit 5d1c65a4c5
6 changed files with 35 additions and 58 deletions
@@ -5,8 +5,6 @@ import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;
import java.math.BigInteger;
/**
* Represents a RAM DIMM or similar memory asset in the inventory system.
*/
@@ -30,7 +28,7 @@ public class RamAsset implements Asset
@Property("Capacity")
@Capacity
private BigInteger capacity;
private Long capacity;
@Description("The type of memory. E.g.: DDR2, SDRAM, ISA-8, etc...")
@Property("Type")
@@ -39,5 +37,5 @@ public class RamAsset implements Asset
@Description("The speed of the memory in MHz.")
@Property("Speed")
private Long speed;
private Integer speed;
}