Skip to content

@sourceloop/user-tenant-service / Exports / Tenant

Class: Tenant

Hierarchy

  • UserModifiableEntity<Tenant>

    Tenant

Table of contents

Constructors

Properties

Constructors

constructor

new Tenant(data?)

Parameters

Name Type
data? Partial<Tenant>

Inherited from

UserModifiableEntity<Tenant>.constructor

Defined in

packages/core/dist/models/base-entity.model.d.ts:6

Properties

address

Optional address: string

Defined in

services/user-tenant-service/src/models/tenant.model.ts:59


city

Optional city: string

Defined in

services/user-tenant-service/src/models/tenant.model.ts:64


country

Optional country: string

Defined in

services/user-tenant-service/src/models/tenant.model.ts:79


createdBy

Optional createdBy: string

Inherited from

UserModifiableEntity.createdBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:4


createdOn

Optional createdOn: Date

Inherited from

UserModifiableEntity.createdOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:4


groups

groups: Group<DataObject<Model>>[]

Defined in

services/user-tenant-service/src/models/tenant.model.ts:94


id

Optional id: string

Defined in

services/user-tenant-service/src/models/tenant.model.ts:27


key

Optional key: string

Defined in

services/user-tenant-service/src/models/tenant.model.ts:49


modifiedBy

Optional modifiedBy: string

Inherited from

UserModifiableEntity.modifiedBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:5


modifiedOn

Optional modifiedOn: Date

Inherited from

UserModifiableEntity.modifiedOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:5


name

name: string

Defined in

services/user-tenant-service/src/models/tenant.model.ts:33


roles

roles: Role[]

Defined in

services/user-tenant-service/src/models/tenant.model.ts:91


state

Optional state: string

Defined in

services/user-tenant-service/src/models/tenant.model.ts:69


status

status: TenantStatus

Defined in

services/user-tenant-service/src/models/tenant.model.ts:44


tenantConfigs

tenantConfigs: TenantConfig[]

Defined in

services/user-tenant-service/src/models/tenant.model.ts:82


userTenants

userTenants: UserTenant[]

Defined in

services/user-tenant-service/src/models/tenant.model.ts:85


users

users: User<DataObject<Model>>[]

Defined in

services/user-tenant-service/src/models/tenant.model.ts:88


website

Optional website: string

Defined in

services/user-tenant-service/src/models/tenant.model.ts:54


zip

Optional zip: string

Defined in

services/user-tenant-service/src/models/tenant.model.ts:74