Constructor
-
new Model(options)
-
Constructor function for generic Model
Parameters:
Name Type Argument Description options
Object <optional>
Model options
Members
-
data :object
-
Generic object in which to store model data
Type:
- object
-
id :string
-
A unique identifier for this model instance
Type:
- string
-
isNew :boolean
-
Flag to indicate if model instance is new
Type:
- boolean