Class: Personcompanyrole

Personcompanyrole(data)

personcompanyrole model class

Constructor

new Personcompanyrole(data)

Create a new personcompanyrole instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

Personcompanyrole
Personcompanyrole

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 personcompanyrole instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

Personcompanyrole - New model instance

(static) fromJSON(data)

Create a personcompanyrole instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

Personcompanyrole - New model instance

PersoncompanyrolePersoncompanyrole(data)

personcompanyrole model class

Constructor

new Personcompanyrole(data)

Create a new personcompanyrole instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

Personcompanyrole
Personcompanyrole

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 personcompanyrole instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

Personcompanyrole - New model instance

(static) fromJSON(data)

Create a personcompanyrole instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

Personcompanyrole - New model instance