UNPKG

@tomei/finance

Version:

NestJS package for finance module

29 lines 828 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LoginUser = void 0; const general_1 = require("@tomei/general"); class LoginUser extends general_1.LoginUserBase { get ObjectType() { return this._ObjectType; } checkPrivileges(SystemCode, PrivilegeName) { if (this.Privileges.includes(PrivilegeName)) { return true; } return false; } CheckRole(SystemCode, RoleName) { if (this.Roles.includes(RoleName)) { return true; } return false; } constructor(objectId, objectName, tableName) { super(); this.ObjectId = objectId; this.ObjectName = objectName; this.TableName = tableName; } } exports.LoginUser = LoginUser; //# sourceMappingURL=login-user.js.map