Skip to main content

Class: User

internal.User

Base abstract entity for all entities

Hierarchy

Properties

api_token

api_token: string

Defined in

medusa/dist/models/user.d.ts:13


beforeInsert

Private beforeInsert: any

Defined in

medusa/dist/models/user.d.ts:15


created_at

created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:6


deleted_at

deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

medusa/dist/interfaces/models/soft-deletable-entity.d.ts:3


email

email: string

Defined in

medusa/dist/models/user.d.ts:9


first_name

first_name: string

Defined in

medusa/dist/models/user.d.ts:10


id

id: string

Inherited from

SoftDeletableEntity.id

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:5


last_name

last_name: string

Defined in

medusa/dist/models/user.d.ts:11


metadata

metadata: Record<string, unknown>

Defined in

medusa/dist/models/user.d.ts:14


password_hash

password_hash: string

Defined in

medusa/dist/models/user.d.ts:12


role

role: UserRoles

Defined in

medusa/dist/models/user.d.ts:8


updated_at

updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:7

Was this page helpful?