User entity interface.

This is the application-facing interface for the User entity. Because it extends the Entity interface, it supports additional properties of any type supported by the database.

Run the EntityManager addKeys method to add generated properties to any Entity object before sending it to the database.

interface User {
    beneficiaryId: string;
    created: number;
    firstName: string;
    firstNameCanonical: string;
    lastName: string;
    lastNameCanonical: string;
    phone?: string;
    updated: number;
    userId: string;
}

Hierarchy

Properties

beneficiaryId: string
created: number
firstName: string
firstNameCanonical: string
lastName: string
lastNameCanonical: string
phone?: string
updated: number
userId: string