gws.base.model.value¶
Source code: gws.base.model.value
Module Contents¶
- class gws.base.model.value.Config(*args, **kwargs)¶
Configuration for the model value.
- forCreate: bool = True¶
The value is applied when creating a new object.
- forRead: bool = True¶
The value is applied when reading an object.
- forUpdate: bool = True¶
The value is applied when updating an existing object.
- isDefault: bool = False¶
If True, this value is the default for the model.