Class: PersonWithoutRequiredConstraint

PersonWithoutRequiredConstraint(data)

person-without-required-constraint model class

Constructor

new PersonWithoutRequiredConstraint(data)

Create a new person-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

PersonWithoutRequiredConstraint
PersonWithoutRequiredConstraint

Members

address :string

Residential address

Type:
  • string
Source:

address :string

Residential address

Type:
  • string
Source:

authId :string

Type:
  • string
Source:

authId :string

Type:
  • string
Source:

birthDate :number

Date of birth (Unix milliseconds)

Type:
  • number
Source:

birthDate :number

Date of birth (Unix milliseconds)

Type:
  • number
Source:

birthPlace :string

Place of birth (city)

Type:
  • string
Source:

birthPlace :string

Place of birth (city)

Type:
  • string
Source:

birthProvince :string

Province of birth (2-letter code)

Type:
  • string
Source:

birthProvince :string

Province of birth (2-letter code)

Type:
  • string
Source:

certifications :Array.<professionalcertification>

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

Type:
  • Array.<professionalcertification>
Source:

certifications :Array.<professionalcertification>

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

Type:
  • Array.<professionalcertification>
Source:

certifiedEmail :string

Italian Certified Email Address (PEC)

Type:
  • string
Source:

certifiedEmail :string

Italian Certified Email Address (PEC)

Type:
  • string
Source:

city :string

City of residence

Type:
  • string
Source:

city :string

City of residence

Type:
  • string
Source:

companyRoles :Array.<personcompanyrole>

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

Type:
  • Array.<personcompanyrole>
Source:

companyRoles :Array.<personcompanyrole>

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

Type:
  • Array.<personcompanyrole>
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:

email :string

Type:
  • string
Source:

email :string

Type:
  • string
Source:

firstName :string

Type:
  • string
Source:

firstName :string

Type:
  • string
Source:

gender :string

Person's gender

Type:
  • string
Source:

gender :string

Person's gender

Type:
  • string
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

lastName :string

Type:
  • string
Source:

lastName :string

Type:
  • string
Source:

phone :string

Type:
  • string
Source:

phone :string

Type:
  • string
Source:

postalCode :string

Postal code

Type:
  • string
Source:

postalCode :string

Postal code

Type:
  • string
Source:

province :string

Province of residence (2-letter code)

Type:
  • string
Source:

province :string

Province of residence (2-letter code)

Type:
  • string
Source:

taxCode :string

Italian Fiscal Code (Codice Fiscale)

Type:
  • string
Source:

taxCode :string

Italian Fiscal Code (Codice Fiscale)

Type:
  • string
Source:

title :string

Professional or honorific title

Type:
  • string
Source:

title :string

Professional or honorific title

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

PersonWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

PersonWithoutRequiredConstraint - New model instance

PersonWithoutRequiredConstraintPersonWithoutRequiredConstraint(data)

person-without-required-constraint model class

Constructor

new PersonWithoutRequiredConstraint(data)

Create a new person-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

PersonWithoutRequiredConstraint
PersonWithoutRequiredConstraint

Members

address :string

Residential address

Type:
  • string
Source:

address :string

Residential address

Type:
  • string
Source:

authId :string

Type:
  • string
Source:

authId :string

Type:
  • string
Source:

birthDate :number

Date of birth (Unix milliseconds)

Type:
  • number
Source:

birthDate :number

Date of birth (Unix milliseconds)

Type:
  • number
Source:

birthPlace :string

Place of birth (city)

Type:
  • string
Source:

birthPlace :string

Place of birth (city)

Type:
  • string
Source:

birthProvince :string

Province of birth (2-letter code)

Type:
  • string
Source:

birthProvince :string

Province of birth (2-letter code)

Type:
  • string
Source:

certifications :Array.<professionalcertification>

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

Type:
  • Array.<professionalcertification>
Source:

certifications :Array.<professionalcertification>

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

Type:
  • Array.<professionalcertification>
Source:

certifiedEmail :string

Italian Certified Email Address (PEC)

Type:
  • string
Source:

certifiedEmail :string

Italian Certified Email Address (PEC)

Type:
  • string
Source:

city :string

City of residence

Type:
  • string
Source:

city :string

City of residence

Type:
  • string
Source:

companyRoles :Array.<personcompanyrole>

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

Type:
  • Array.<personcompanyrole>
Source:

companyRoles :Array.<personcompanyrole>

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

Type:
  • Array.<personcompanyrole>
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:

email :string

Type:
  • string
Source:

email :string

Type:
  • string
Source:

firstName :string

Type:
  • string
Source:

firstName :string

Type:
  • string
Source:

gender :string

Person's gender

Type:
  • string
Source:

gender :string

Person's gender

Type:
  • string
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

lastName :string

Type:
  • string
Source:

lastName :string

Type:
  • string
Source:

phone :string

Type:
  • string
Source:

phone :string

Type:
  • string
Source:

postalCode :string

Postal code

Type:
  • string
Source:

postalCode :string

Postal code

Type:
  • string
Source:

province :string

Province of residence (2-letter code)

Type:
  • string
Source:

province :string

Province of residence (2-letter code)

Type:
  • string
Source:

taxCode :string

Italian Fiscal Code (Codice Fiscale)

Type:
  • string
Source:

taxCode :string

Italian Fiscal Code (Codice Fiscale)

Type:
  • string
Source:

title :string

Professional or honorific title

Type:
  • string
Source:

title :string

Professional or honorific title

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

PersonWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

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

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

PersonWithoutRequiredConstraint - New model instance