@Int32 decorator is syntactic sugar for @Relation(PrimitiveSymbol.i32).
@Int32
@Relation(PrimitiveSymbol.i32)
Using this decorator specifies that the decorated should be interpreted as a signed 32 bits integer.
The type of the class the decorator is applied to.
The type of the decorated property.
class Protocol { @Int32 data: number} Copy
class Protocol { @Int32 data: number}
Relation
@Int32
decorator is syntactic sugar for@Relation(PrimitiveSymbol.i32)
.Using this decorator specifies that the decorated should be interpreted as a signed 32 bits integer.