Better capacity support
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user