web-apps/apps/common/main/lib/model/ChatMessage.js

27 lines
494 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
/**
* ChatMessage.js
*
* Model
*
* Created by Maxim Kadushkin on 01 March 2014
* Copyright (c) 2014 Ascensio System SIA. All rights reserved.
*
*/
define([
'backbone'
], function(Backbone){
'use strict';
Common.Models = Common.Models || {};
Common.Models.ChatMessage = Backbone.Model.extend({
defaults: {
type : 0,
userid : null,
username : '',
message : ''
}
});
});