Class: CompanyWithoutRequiredConstraint

CompanyWithoutRequiredConstraint(data)

company-without-required-constraint model class

Constructor

new CompanyWithoutRequiredConstraint(data)

Create a new company-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

CompanyWithoutRequiredConstraint
CompanyWithoutRequiredConstraint

Members

acquisitionDate :number

Date when the company became a client (Unix milliseconds)

Type:
  • number
Source:

acquisitionDate :number

Date when the company became a client (Unix milliseconds)

Type:
  • number
Source:

acquisitionSource :string

How the company was acquired

Type:
  • string
Source:

acquisitionSource :string

How the company was acquired

Type:
  • string
Source:

artisanRegistrationDate :number

Date of registration in the Artisan Companies Registry (Unix milliseconds)

Type:
  • number
Source:

artisanRegistrationDate :number

Date of registration in the Artisan Companies Registry (Unix milliseconds)

Type:
  • number
Source:

artisanRegistryNumber :string

Registration number in the Artisan Companies Registry (Albo delle Imprese Artigiane)

Type:
  • string
Source:

artisanRegistryNumber :string

Registration number in the Artisan Companies Registry (Albo delle Imprese Artigiane)

Type:
  • string
Source:

businessRegistryNumber :string

Italian Business Registry registration number

Type:
  • string
Source:

businessRegistryNumber :string

Italian Business Registry registration number

Type:
  • string
Source:

cases :Array.<case>

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

Type:
  • Array.<case>
Source:

cases :Array.<case>

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

Type:
  • Array.<case>
Source:

certifiedEmail :string

Italian Certified Email Address (PEC)

Type:
  • string
Source:

certifiedEmail :string

Italian Certified Email Address (PEC)

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

email :string

Email Address

Type:
  • string
Source:

email :string

Email Address

Type:
  • string
Source:

headquarters :Array.<headquarter>

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

Type:
  • Array.<headquarter>
Source:

headquarters :Array.<headquarter>

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

Type:
  • Array.<headquarter>
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

incorporationDate :number

Date when the company was founded (Unix milliseconds)

Type:
  • number
Source:

incorporationDate :number

Date when the company was founded (Unix milliseconds)

Type:
  • number
Source:

legalForm :string

Legal form of the company (e.g., Srl, SpA)

Type:
  • string
Source:

legalForm :string

Legal form of the company (e.g., Srl, SpA)

Type:
  • string
Source:

name :string

Type:
  • string
Source:

name :string

Type:
  • string
Source:

people :Array.<personcompanyrole>

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

Type:
  • Array.<personcompanyrole>
Source:

people :Array.<personcompanyrole>

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

Type:
  • Array.<personcompanyrole>
Source:

phone :string

Type:
  • string
Source:

phone :string

Type:
  • string
Source:

quotations :Array.<quotation>

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

Type:
  • Array.<quotation>
Source:

quotations :Array.<quotation>

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

Type:
  • Array.<quotation>
Source:

reaNumber :string

Economic Administrative Index (R.E.A.) number

Type:
  • string
Source:

reaNumber :string

Economic Administrative Index (R.E.A.) number

Type:
  • string
Source:

registrationDate :number

Date of registration in the Business Registry (Unix milliseconds)

Type:
  • number
Source:

registrationDate :number

Date of registration in the Business Registry (Unix milliseconds)

Type:
  • number
Source:

sdi :string

Sistema di Interscambio (SDI) code for electronic invoicing

Type:
  • string
Source:

sdi :string

Sistema di Interscambio (SDI) code for electronic invoicing

Type:
  • string
Source:

shareCapital :number

Company share capital in euros

Type:
  • number
Source:

shareCapital :number

Company share capital in euros

Type:
  • number
Source:

taxCode :string

Italian fiscal code for companies

Type:
  • string
Source:

taxCode :string

Italian fiscal code for companies

Type:
  • string
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
Source:

url :string

Type:
  • string
Source:

url :string

Type:
  • string
Source:

vat :string

Type:
  • string
Source:

vat :string

Type:
  • string
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 company-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CompanyWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CompanyWithoutRequiredConstraint - New model instance

CompanyWithoutRequiredConstraintCompanyWithoutRequiredConstraint(data)

company-without-required-constraint model class

Constructor

new CompanyWithoutRequiredConstraint(data)

Create a new company-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

CompanyWithoutRequiredConstraint
CompanyWithoutRequiredConstraint

Members

acquisitionDate :number

Date when the company became a client (Unix milliseconds)

Type:
  • number
Source:

acquisitionDate :number

Date when the company became a client (Unix milliseconds)

Type:
  • number
Source:

acquisitionSource :string

How the company was acquired

Type:
  • string
Source:

acquisitionSource :string

How the company was acquired

Type:
  • string
Source:

artisanRegistrationDate :number

Date of registration in the Artisan Companies Registry (Unix milliseconds)

Type:
  • number
Source:

artisanRegistrationDate :number

Date of registration in the Artisan Companies Registry (Unix milliseconds)

Type:
  • number
Source:

artisanRegistryNumber :string

Registration number in the Artisan Companies Registry (Albo delle Imprese Artigiane)

Type:
  • string
Source:

artisanRegistryNumber :string

Registration number in the Artisan Companies Registry (Albo delle Imprese Artigiane)

Type:
  • string
Source:

businessRegistryNumber :string

Italian Business Registry registration number

Type:
  • string
Source:

businessRegistryNumber :string

Italian Business Registry registration number

Type:
  • string
Source:

cases :Array.<case>

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

Type:
  • Array.<case>
Source:

cases :Array.<case>

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

Type:
  • Array.<case>
Source:

certifiedEmail :string

Italian Certified Email Address (PEC)

Type:
  • string
Source:

certifiedEmail :string

Italian Certified Email Address (PEC)

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

email :string

Email Address

Type:
  • string
Source:

email :string

Email Address

Type:
  • string
Source:

headquarters :Array.<headquarter>

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

Type:
  • Array.<headquarter>
Source:

headquarters :Array.<headquarter>

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

Type:
  • Array.<headquarter>
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

incorporationDate :number

Date when the company was founded (Unix milliseconds)

Type:
  • number
Source:

incorporationDate :number

Date when the company was founded (Unix milliseconds)

Type:
  • number
Source:

legalForm :string

Legal form of the company (e.g., Srl, SpA)

Type:
  • string
Source:

legalForm :string

Legal form of the company (e.g., Srl, SpA)

Type:
  • string
Source:

name :string

Type:
  • string
Source:

name :string

Type:
  • string
Source:

people :Array.<personcompanyrole>

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

Type:
  • Array.<personcompanyrole>
Source:

people :Array.<personcompanyrole>

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

Type:
  • Array.<personcompanyrole>
Source:

phone :string

Type:
  • string
Source:

phone :string

Type:
  • string
Source:

quotations :Array.<quotation>

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

Type:
  • Array.<quotation>
Source:

quotations :Array.<quotation>

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

Type:
  • Array.<quotation>
Source:

reaNumber :string

Economic Administrative Index (R.E.A.) number

Type:
  • string
Source:

reaNumber :string

Economic Administrative Index (R.E.A.) number

Type:
  • string
Source:

registrationDate :number

Date of registration in the Business Registry (Unix milliseconds)

Type:
  • number
Source:

registrationDate :number

Date of registration in the Business Registry (Unix milliseconds)

Type:
  • number
Source:

sdi :string

Sistema di Interscambio (SDI) code for electronic invoicing

Type:
  • string
Source:

sdi :string

Sistema di Interscambio (SDI) code for electronic invoicing

Type:
  • string
Source:

shareCapital :number

Company share capital in euros

Type:
  • number
Source:

shareCapital :number

Company share capital in euros

Type:
  • number
Source:

taxCode :string

Italian fiscal code for companies

Type:
  • string
Source:

taxCode :string

Italian fiscal code for companies

Type:
  • string
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
Source:

url :string

Type:
  • string
Source:

url :string

Type:
  • string
Source:

vat :string

Type:
  • string
Source:

vat :string

Type:
  • string
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 company-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CompanyWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CompanyWithoutRequiredConstraint - New model instance