/// <reference path="./sigApi.PermissionObj.d.ts" />

declare namespace SigApi {
    interface User {
        readonly id: number
        readonly userName: string
        readonly firstName: string
        readonly lastName: string
        readonly info: string
        readonly data: string
        readonly timeout: number
        /**
         * TimeStamp
         */
        readonly lastLogin: number
        /**
         * TimeStamp
         */
        readonly lastLogout: number
        /**
         * TimeStamp
         */
        readonly created: number
        /**
         * TimeStamp
         */
        readonly modified: number
        /**
         * TimeStamp
         */
        readonly passwordChanged: number
        readonly roles: string[]
        readonly permissions: PermissionObj
        readonly token: any
        readonly passwordOld: string
        readonly passwordNew: string
        readonly readOnly: boolean
        readonly accessNumber: number
        readonly isDeleted: boolean
    }
}
