Company

Company Type

Represents a company/tenant in the system. Companies serve as organizational boundaries for multi-tenant operations.

Fields

Field
Type
Description

id

ID!

Unique identifier of the company

createdAt

Time!

Creation timestamp

createdBy

UUID!

User identifier who created the company

updatedAt

Time

Last update timestamp

updatedBy

UUID

User identifier who last updated the company

deletedAt

Time

Deletion timestamp

deletedBy

UUID

User identifier who deleted the company

name

String!

Name of the company

organizationID

String!

External organization identifier

tenantID

UUID!

Tenant identifier

companyusers

[User!]

Users associated with this company

Interfaces

  • Node

Usage Example

Relations

  • Company 1:N User: A company can have multiple users

  • Companies are used as tenant boundaries for multi-tenant operations

Last updated

Was this helpful?