:tocdepth: 3 :py:mod:`gws.base.model.value` ============================== .. py:module:: gws.base.model.value **Source code:** :source:`gws.base.model.value` Module Contents --------------- .. py:class:: Config(*args, **kwargs) Bases: :py:obj:`gws.Config` Configuration for the model value. .. py:attribute:: forCreate :type: bool :value: True The value is applied when creating a new object. .. py:attribute:: forRead :type: bool :value: True The value is applied when reading an object. .. py:attribute:: forUpdate :type: bool :value: True The value is applied when updating an existing object. .. py:attribute:: isDefault :type: bool :value: False If True, this value is the default for the model. .. py:class:: Object Bases: :py:obj:`gws.ModelValue` Model value. .. py:method:: configure() Configuration hook.