Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / squareProject / squareProject.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x031e=['long','getDataValue','preproduction','production','toString','utf8','DATE','exports','STRING','name','BLOB'];(function(_0x1ad0b4,_0x3638f4){var _0x42f563=function(_0x5a886e){while(--_0x5a886e){_0x1ad0b4['push'](_0x1ad0b4['shift']());}};_0x42f563(++_0x3638f4);}(_0x031e,0x75));var _0xe031=function(_0x3305de,_0x16582f){_0x3305de=_0x3305de-0x0;var _0x3b5a84=_0x031e[_0x3305de];return _0x3b5a84;};'use strict';var Sequelize=require('sequelize');module[_0xe031('0x0')]={'name':{'type':Sequelize[_0xe031('0x1')],'unique':_0xe031('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xe031('0x1')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0xe031('0x3')](_0xe031('0x4')),'get':function(){if(this[_0xe031('0x5')](_0xe031('0x6'))){return this[_0xe031('0x5')](_0xe031('0x6'))['toString']('utf8');}}},'production':{'type':Sequelize[_0xe031('0x3')]('long'),'get':function(){if(this[_0xe031('0x5')](_0xe031('0x7'))){return this[_0xe031('0x5')]('production')[_0xe031('0x8')](_0xe031('0x9'));}}},'savedAt':{'type':Sequelize[_0xe031('0xa')]},'publishedAt':{'type':Sequelize[_0xe031('0xa')]}};