123456789101112131415161718192021222324 |
- var Model = require('../framework/Model.js');
- var util = require('util');
- util.inherits(rUser, Model);
- var prototype = rUser.prototype;
- /**
- * @type {rUser}
- */
- var that;
- function rUser() {
- that = this;
- var tableName = 'rUserNode';
- var dbKey = 'Web';
- Model.call(this, tableName, dbKey);
- }
- prototype.getUserNode = function(userId) {
- var where = {userId:userId};
- return this.objTable.getRow(where);
- }
- module.exports = rUser;
|