Class: DocumenttypeWithoutRequiredConstraint

DocumenttypeWithoutRequiredConstraint(data)

documenttype-without-required-constraint model class

Constructor

new DocumenttypeWithoutRequiredConstraint(data)

Create a new documenttype-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

DocumenttypeWithoutRequiredConstraint
DocumenttypeWithoutRequiredConstraint

Members

allowMultipleFiles :boolean

Whether multiple files can be uploaded for this document type

Type:
  • boolean
Source:

allowMultipleFiles :boolean

Whether multiple files can be uploaded for this document type

Type:
  • boolean
Source:

category :any

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

Type:
  • any
Source:

category :any

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

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

documentRequests :Array.<documentrequestitem>

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

Type:
  • Array.<documentrequestitem>
Source:

documentRequests :Array.<documentrequestitem>

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

Type:
  • Array.<documentrequestitem>
Source:

Whether this document type is featured in the UI

Type:
  • boolean
Source:

Whether this document type is featured in the UI

Type:
  • boolean
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

isYearlyDocument :boolean

Whether this document is requested per year (e.g. balance sheets) or just once (e.g. ID card)

Type:
  • boolean
Source:

isYearlyDocument :boolean

Whether this document is requested per year (e.g. balance sheets) or just once (e.g. ID card)

Type:
  • boolean
Source:

name :string

Type:
  • string
Source:

name :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 documenttype-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

DocumenttypeWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

DocumenttypeWithoutRequiredConstraint - New model instance

DocumenttypeWithoutRequiredConstraintDocumenttypeWithoutRequiredConstraint(data)

documenttype-without-required-constraint model class

Constructor

new DocumenttypeWithoutRequiredConstraint(data)

Create a new documenttype-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

DocumenttypeWithoutRequiredConstraint
DocumenttypeWithoutRequiredConstraint

Members

allowMultipleFiles :boolean

Whether multiple files can be uploaded for this document type

Type:
  • boolean
Source:

allowMultipleFiles :boolean

Whether multiple files can be uploaded for this document type

Type:
  • boolean
Source:

category :any

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

Type:
  • any
Source:

category :any

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

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

documentRequests :Array.<documentrequestitem>

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

Type:
  • Array.<documentrequestitem>
Source:

documentRequests :Array.<documentrequestitem>

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

Type:
  • Array.<documentrequestitem>
Source:

Whether this document type is featured in the UI

Type:
  • boolean
Source:

Whether this document type is featured in the UI

Type:
  • boolean
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

isYearlyDocument :boolean

Whether this document is requested per year (e.g. balance sheets) or just once (e.g. ID card)

Type:
  • boolean
Source:

isYearlyDocument :boolean

Whether this document is requested per year (e.g. balance sheets) or just once (e.g. ID card)

Type:
  • boolean
Source:

name :string

Type:
  • string
Source:

name :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 documenttype-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

DocumenttypeWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

DocumenttypeWithoutRequiredConstraint - New model instance