@sourceloop/user-tenant-service / Exports / Role
Class: Role¶
Hierarchy¶
-
UserModifiableEntity
<Role
>↳
Role
Table of contents¶
Constructors¶
Properties¶
- allowedClients
- createdBy
- createdByUser
- createdOn
- description
- id
- modifiedBy
- modifiedByUser
- modifiedOn
- name
- permissions
- roleType
- tenantId
- userTenants
Constructors¶
constructor¶
• new Role(data?
)
Parameters¶
Name | Type |
---|---|
data? |
Partial <Role > |
Inherited from¶
UserModifiableEntity<Role>.constructor
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:6
Properties¶
allowedClients¶
• Optional
allowedClients: string
[]
Defined in¶
services/user-tenant-service/src/models/role.model.ts:59
createdBy¶
• Optional
createdBy: string
Inherited from¶
UserModifiableEntity.createdBy
Defined in¶
packages/core/dist/models/user-modifiable-entity.model.d.ts:4
createdByUser¶
• Optional
createdByUser: UserView
<DataObject
<Model
>>
Defined in¶
services/user-tenant-service/src/models/role.model.ts:72
createdOn¶
• Optional
createdOn: Date
Inherited from¶
UserModifiableEntity.createdOn
Defined in¶
packages/core/dist/models/base-entity.model.d.ts:4
description¶
• Optional
description: string
Defined in¶
services/user-tenant-service/src/models/role.model.ts:40
id¶
• Optional
id: string
Defined in¶
services/user-tenant-service/src/models/role.model.ts:19
modifiedBy¶
• Optional
modifiedBy: string
Inherited from¶
UserModifiableEntity.modifiedBy
Defined in¶
packages/core/dist/models/user-modifiable-entity.model.d.ts:5
modifiedByUser¶
• Optional
modifiedByUser: UserView
<DataObject
<Model
>>
Defined in¶
services/user-tenant-service/src/models/role.model.ts:75
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/role.model.ts:25
permissions¶
• Optional
permissions: string
[]
Defined in¶
services/user-tenant-service/src/models/role.model.ts:49
roleType¶
• Optional
roleType: number
Defined in¶
services/user-tenant-service/src/models/role.model.ts:35
tenantId¶
• tenantId: string
Defined in¶
services/user-tenant-service/src/models/role.model.ts:66
userTenants¶
• userTenants: UserTenant
[]