mirror of
https://github.com/Mibew/design.git
synced 2025-04-28 23:16:41 +03:00
38 lines
863 B
JavaScript
38 lines
863 B
JavaScript
/**
|
|
* @preserve This file is part of Mibew Messenger project.
|
|
* http://mibew.org
|
|
*
|
|
* Copyright (c) 2005-2011 Mibew Messenger Community
|
|
* License: http://mibew.org/license.php
|
|
*/
|
|
|
|
(function(Mibew) {
|
|
|
|
/**
|
|
* @class Represents an user
|
|
*/
|
|
Mibew.Models.User = Mibew.Models.Base.extend(
|
|
/** @lends Mibew.Models.User.prototype */
|
|
{
|
|
/**
|
|
* A list of default model values.
|
|
* @type Object
|
|
*/
|
|
defaults: {
|
|
|
|
/**
|
|
* Indicates if current application user is a user or an agent.
|
|
* @type Boolean
|
|
*/
|
|
isAgent: false,
|
|
|
|
/**
|
|
* Represents user name.
|
|
* @type String
|
|
*/
|
|
name: ''
|
|
}
|
|
}
|
|
);
|
|
|
|
})(Mibew); |