Number Property

Concrete property with number type.

Example

Creating the property:

property = NumberProperty(1)
class gsf.core.entity.properties.number_property.NumberProperty(value: Union[decimal.Decimal, int])

Bases: Generic[gsf.core.entity.core.entity_property.T]

Number property

Defines a property with an integer or decimal type.

get_value()decimal.Decimal

Returns the value of the property