Class: DocumentrequestitemWithoutRequiredConstraint

DocumentrequestitemWithoutRequiredConstraint(data)

documentrequestitem-without-required-constraint model class

Constructor

new DocumentrequestitemWithoutRequiredConstraint(data)

Create a new documentrequestitem-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

DocumentrequestitemWithoutRequiredConstraint
DocumentrequestitemWithoutRequiredConstraint

Members

createdAt :number

Type:
  • number
Source:

createdAt :number

Type:
  • number
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

documentRequest :any

JSON dictionary representing the documentrequest instance or FK when creating / updating / not populated

Type:
  • any
Source:

documentRequest :any

JSON dictionary representing the documentrequest instance or FK when creating / updating / not populated

Type:
  • any
Source:

documentType :any

JSON dictionary representing the documenttype instance or FK when creating / updating / not populated

Type:
  • any
Source:

documentType :any

JSON dictionary representing the documenttype instance or FK when creating / updating / not populated

Type:
  • any
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

status :string

Type:
  • string
Source:

status :string

Type:
  • string
Source:

submissions :Array.<documentsubmission>

Array of documentsubmission's or array of FK's when creating / updating / not populated

Type:
  • Array.<documentsubmission>
Source:

submissions :Array.<documentsubmission>

Array of documentsubmission's or array of FK's when creating / updating / not populated

Type:
  • Array.<documentsubmission>
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
Source:

year :number

Required for yearly documents (e.g. 2023, 2024, 2025)

Type:
  • number
Source:

year :number

Required for yearly documents (e.g. 2023, 2024, 2025)

Type:
  • number
Source:

Methods

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

(static) fromJSON(data)

Create a documentrequestitem-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

DocumentrequestitemWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

Create a documentrequestitem-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

DocumentrequestitemWithoutRequiredConstraint - New model instance

DocumentrequestitemWithoutRequiredConstraintDocumentrequestitemWithoutRequiredConstraint(data)

documentrequestitem-without-required-constraint model class

Constructor

new DocumentrequestitemWithoutRequiredConstraint(data)

Create a new documentrequestitem-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

DocumentrequestitemWithoutRequiredConstraint
DocumentrequestitemWithoutRequiredConstraint

Members

createdAt :number

Type:
  • number
Source:

createdAt :number

Type:
  • number
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

documentRequest :any

JSON dictionary representing the documentrequest instance or FK when creating / updating / not populated

Type:
  • any
Source:

documentRequest :any

JSON dictionary representing the documentrequest instance or FK when creating / updating / not populated

Type:
  • any
Source:

documentType :any

JSON dictionary representing the documenttype instance or FK when creating / updating / not populated

Type:
  • any
Source:

documentType :any

JSON dictionary representing the documenttype instance or FK when creating / updating / not populated

Type:
  • any
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

status :string

Type:
  • string
Source:

status :string

Type:
  • string
Source:

submissions :Array.<documentsubmission>

Array of documentsubmission's or array of FK's when creating / updating / not populated

Type:
  • Array.<documentsubmission>
Source:

submissions :Array.<documentsubmission>

Array of documentsubmission's or array of FK's when creating / updating / not populated

Type:
  • Array.<documentsubmission>
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
Source:

year :number

Required for yearly documents (e.g. 2023, 2024, 2025)

Type:
  • number
Source:

year :number

Required for yearly documents (e.g. 2023, 2024, 2025)

Type:
  • number
Source:

Methods

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

(static) fromJSON(data)

Create a documentrequestitem-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

DocumentrequestitemWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

Create a documentrequestitem-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

DocumentrequestitemWithoutRequiredConstraint - New model instance