Constructor
new ClassificationlevelWithoutRequiredConstraint(data)
Create a new classificationlevel-without-required-constraint instance
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | Initial data |
Classes
Members
assignments :Array.<certificationcategoryassignment>
Array of certificationcategoryassignment's or array of FK's when creating / updating / not populated
Type:
- Array.<certificationcategoryassignment>
assignments :Array.<certificationcategoryassignment>
Array of certificationcategoryassignment's or array of FK's when creating / updating / not populated
Type:
- Array.<certificationcategoryassignment>
code :string
Unique identifier for the classification level
Type:
- string
code :string
Unique identifier for the classification level
Type:
- string
createdAt :number
Type:
- number
createdAt :number
Type:
- number
createdBy :any
The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated
Type:
- any
createdBy :any
The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated
Type:
- any
description :string
Detailed description of the classification level
Type:
- string
description :string
Detailed description of the classification level
Type:
- string
id :integer
Note Sails special attributes: autoIncrement
Type:
- integer
id :integer
Note Sails special attributes: autoIncrement
Type:
- integer
name :string
Display name of the classification level
Type:
- string
name :string
Display name of the classification level
Type:
- string
type :any
The certification type this classification level belongs to (optional) JSON dictionary representing the certificationtype instance or FK when creating / updating / not populated
Type:
- any
type :any
The certification type this classification level belongs to (optional) JSON dictionary representing the certificationtype instance or FK when creating / updating / not populated
Type:
- any
updatedAt :number
Type:
- number
updatedAt :number
Type:
- number
value :number
Numerical/ordinal value for sorting and comparison
Type:
- number
value :number
Numerical/ordinal value for sorting and comparison
Type:
- number
Methods
toJSON() → {Object}
Convert the model to a plain object
Returns:
- Plain object representation
- Type
- Object
toJSON() → {Object}
Convert the model to a plain object
Returns:
- Plain object representation
- Type
- Object
validate() → {Object}
Validate the model
Returns:
- Validation result {valid: boolean, errors: Object}
- Type
- Object
validate() → {Object}
Validate the model
Returns:
- Validation result {valid: boolean, errors: Object}
- Type
- Object
(static) fromJSON(data)
Create a classificationlevel-without-required-constraint instance from JSON data
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | JSON data |
Returns:
ClassificationlevelWithoutRequiredConstraint - New model instance
(static) fromJSON(data)
Create a classificationlevel-without-required-constraint instance from JSON data
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | JSON data |
Returns:
ClassificationlevelWithoutRequiredConstraint - New model instance