Home Reference Source Repository
import User from 'tsugi-node/src/User.js'
public class | source

User

Extends:

Entity → User

This captures all of the data associated with the LTI Launch.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

Inherited Summary

From class Entity
public get

json: string: *

Load the json field for this entity

public set

json(json: string): *

Set the JSON entry for this entity

public

Implementing classes must override this variable in their constructor

public

Implementing classes must override this variable in their constructor

public

Implementing classes must override this variable in their constructor

public

setJsonKey(key: string, value: string)

Set/update a JSON key for this entity

Public Constructors

public constructor(id: number) source

Override:

Entity#constructor

Params:

NameTypeAttributeDescription
id number

Public Members

public PRIMARY_KEY: string source

Override:

Entity#PRIMARY_KEY

public TABLE_NAME: string source

Override:

Entity#TABLE_NAME

public id: number source

Override:

Entity#id