web-apps/apps/spreadsheeteditor/main/app/model/ShapeGroup.js

37 lines
751 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
/**
* ShapeGroup.js
*
* Created by Alexander Yuzhin on 2/10/14
* Copyright (c) 2014 Ascensio System SIA. All rights reserved.
*
*/
define([
'backbone'
], function(Backbone){ 'use strict';
SSE.Models = SSE.Models || {};
SSE.Models.ShapeModel = Backbone.Model.extend({
defaults: function() {
return {
id: Common.UI.getId(),
imageUrl: null,
data: null
}
}
});
SSE.Models.ShapeGroup = Backbone.Model.extend({
defaults: function() {
return {
id: Common.UI.getId(),
groupName: null,
groupId: null,
groupStore: null
}
}
});
});