Constructor
new CertificationmetaWithoutRequiredConstraint(data)
Create a new certificationmeta-without-required-constraint instance
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | Initial data |
Classes
Members
certification :any
The certification this metadata belongs to JSON dictionary representing the certification instance or FK when creating / updating / not populated
Type:
- any
certification :any
The certification this metadata belongs to JSON dictionary representing the certification instance or FK when creating / updating / not populated
Type:
- any
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
Optional description of this metadata field
Type:
- string
description :string
Optional description of this metadata field
Type:
- string
id :integer
Note Sails special attributes: autoIncrement
Type:
- integer
id :integer
Note Sails special attributes: autoIncrement
Type:
- integer
key :string
Metadata key (e.g., "contractDate", "soaCode", "revisionExpiry")
Type:
- string
key :string
Metadata key (e.g., "contractDate", "soaCode", "revisionExpiry")
Type:
- string
updatedAt :number
Type:
- number
updatedAt :number
Type:
- number
value :string
Metadata value stored as text, can be parsed based on valueType
Type:
- string
value :string
Metadata value stored as text, can be parsed based on valueType
Type:
- string
valueType :string
The data type of the value for proper parsing and validation
Type:
- string
valueType :string
The data type of the value for proper parsing and validation
Type:
- string
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 certificationmeta-without-required-constraint instance from JSON data
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | JSON data |
Returns:
CertificationmetaWithoutRequiredConstraint - New model instance
(static) fromJSON(data)
Create a certificationmeta-without-required-constraint instance from JSON data
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | JSON data |
Returns:
CertificationmetaWithoutRequiredConstraint - New model instance