Class

Company

Company(data)

Company Model
Constructor

# new Company(data)

Model constructor
Parameters:
Name Type Description
data CompanyLike

View Source model/Company.js, line 8

Classes

Company

Members

Array.<CompanyContactInfo>

# companyContactInfos

The company infos assigned to this company.

View Source model/Company.js, line 77

String

# createdBy

The id of the user who created this entity.

View Source model/Company.js, line 93

String

# createdOn

The date this entity was created.

View Source model/Company.js, line 85

String

# description

The company description. Optional.

View Source model/Company.js, line 45

Boolean

# hasImage

Whether the company has an image.

View Source model/Company.js, line 69

String

# id

The id of the company.

View Source model/Company.js, line 29

String

# industry

The company's industry. Optional.

View Source model/Company.js, line 53

String

# name

The company name. Required.

View Source model/Company.js, line 37

Number

# projectsCount

The number of all projects related to the company.

View Source model/Company.js, line 146

Number

# projectsInProgressCount

The number of all projects in status 'progress' related to the company.

View Source model/Company.js, line 154

Number

# resourceVersion

The version of the entity continuously incremented by 1 on every update of the entity.

View Source model/Company.js, line 117

Array.<CompanyTags>

# tags

The tags for this company.

View Source model/Company.js, line 138

String

# updatedBy

The id of the user who last modified this entity.

View Source model/Company.js, line 109

String

# updatedOn

The date this entity was last modified.

View Source model/Company.js, line 101

String

# workspaceId

The workspace id of the company.

View Source model/Company.js, line 61