Class: CaseWithoutRequiredConstraint

CaseWithoutRequiredConstraint(data)

case-without-required-constraint model class

Constructor

new CaseWithoutRequiredConstraint(data)

Create a new case-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

CaseWithoutRequiredConstraint
CaseWithoutRequiredConstraint

Members

certification :Array.<certification>

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

Type:
  • Array.<certification>
Source:

certification :Array.<certification>

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

Type:
  • Array.<certification>
Source:

company :any

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

Type:
  • any
Source:

company :any

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

Type:
  • any
Source:

completionDate :number

Type:
  • number
Source:

completionDate :number

Type:
  • number
Source:

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:

description :string

Type:
  • string
Source:

description :string

Type:
  • string
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:

estimatedCompletionDate :number

Type:
  • number
Source:

estimatedCompletionDate :number

Type:
  • number
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

number :string

Unique identifier for the certification case

Type:
  • string
Source:

number :string

Unique identifier for the certification case

Type:
  • string
Source:

priority :string

Type:
  • string
Source:

priority :string

Type:
  • string
Source:

quotation :any

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

Type:
  • any
Source:

quotation :any

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

Type:
  • any
Source:

startDate :number

Type:
  • number
Source:

startDate :number

Type:
  • number
Source:

status :string

Type:
  • string
Source:

status :string

Type:
  • string
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

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 case-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CaseWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CaseWithoutRequiredConstraint - New model instance

CaseWithoutRequiredConstraintCaseWithoutRequiredConstraint(data)

case-without-required-constraint model class

Constructor

new CaseWithoutRequiredConstraint(data)

Create a new case-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

CaseWithoutRequiredConstraint
CaseWithoutRequiredConstraint

Members

certification :Array.<certification>

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

Type:
  • Array.<certification>
Source:

certification :Array.<certification>

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

Type:
  • Array.<certification>
Source:

company :any

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

Type:
  • any
Source:

company :any

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

Type:
  • any
Source:

completionDate :number

Type:
  • number
Source:

completionDate :number

Type:
  • number
Source:

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:

description :string

Type:
  • string
Source:

description :string

Type:
  • string
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:

estimatedCompletionDate :number

Type:
  • number
Source:

estimatedCompletionDate :number

Type:
  • number
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

number :string

Unique identifier for the certification case

Type:
  • string
Source:

number :string

Unique identifier for the certification case

Type:
  • string
Source:

priority :string

Type:
  • string
Source:

priority :string

Type:
  • string
Source:

quotation :any

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

Type:
  • any
Source:

quotation :any

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

Type:
  • any
Source:

startDate :number

Type:
  • number
Source:

startDate :number

Type:
  • number
Source:

status :string

Type:
  • string
Source:

status :string

Type:
  • string
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

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 case-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CaseWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CaseWithoutRequiredConstraint - New model instance