Skip to content

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

Class: User<T>

Type parameters

Name Type
T DataObject<Model>

Hierarchy

  • UserModifiableEntity<T & User>

    User

    ↳↳ UserDto

Implements

  • IAuthUser

Indexable

▪ [prop: string]: any

Table of contents

Constructors

Properties

Constructors

constructor

new User<T>(data?)

Type parameters

Name Type
T DataObject<Model>

Parameters

Name Type
data? Partial<T & User<DataObject<Model>>>

Inherited from

UserModifiableEntity<T & User>.constructor

Defined in

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

Properties

authClientIds

Optional authClientIds: string

Defined in

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


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


credentials

credentials: UserCredentials

Defined in

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


defaultTenantId

Optional defaultTenantId: string

Defined in

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


designation

Optional designation: string

Defined in

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


dob

Optional dob: Date

Defined in

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


email

email: string

Defined in

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


firstName

firstName: string

Defined in

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


gender

Optional gender: Gender

Defined in

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


id

id: string

Implementation of

IAuthUser.id

Defined in

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


lastLogin

Optional lastLogin: Date

Defined in

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


lastName

lastName: string

Defined in

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


middleName

Optional middleName: string

Defined in

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


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


phone

Optional phone: string

Defined in

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


photoUrl

Optional photoUrl: string

Defined in

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


userTenants

userTenants: UserTenant[]

Defined in

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


username

username: string

Implementation of

IAuthUser.username

Defined in

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