Add BigInteger support for capacity handling and enhance UI for capacity selection

This commit is contained in:
2025-06-09 14:53:23 +02:00
parent a4b88f6dfd
commit 85de1c0c9f
7 changed files with 146 additions and 14 deletions
@@ -5,6 +5,8 @@ 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.
*/
@@ -28,7 +30,7 @@ public class RamAsset implements Asset
@Property("Capacity")
@Capacity
private Long capacity;
private BigInteger capacity;
@Description("The type of memory. E.g.: DDR2, SDRAM, ISA-8, etc...")
@Property("Type")