Built motion from commit 8c034dcd.|2.6.31
[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 _0x4eb8=['BLOB','long','getDataValue','preproduction','toString','utf8','production','DATE','sequelize','exports','STRING','name','TEXT'];(function(_0x5bdb14,_0x4f87c1){var _0x5b3d71=function(_0x3c27a6){while(--_0x3c27a6){_0x5bdb14['push'](_0x5bdb14['shift']());}};_0x5b3d71(++_0x4f87c1);}(_0x4eb8,0x1b5));var _0x84eb=function(_0x4e1217,_0x45a98a){_0x4e1217=_0x4e1217-0x0;var _0x1ecdce=_0x4eb8[_0x4e1217];return _0x1ecdce;};'use strict';var Sequelize=require(_0x84eb('0x0'));module[_0x84eb('0x1')]={'name':{'type':Sequelize[_0x84eb('0x2')],'unique':_0x84eb('0x3'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x84eb('0x4')]},'preproduction':{'type':Sequelize[_0x84eb('0x5')](_0x84eb('0x6')),'get':function(){if(this[_0x84eb('0x7')](_0x84eb('0x8'))){return this[_0x84eb('0x7')](_0x84eb('0x8'))[_0x84eb('0x9')](_0x84eb('0xa'));}}},'production':{'type':Sequelize['BLOB'](_0x84eb('0x6')),'get':function(){if(this[_0x84eb('0x7')](_0x84eb('0xb'))){return this[_0x84eb('0x7')](_0x84eb('0xb'))[_0x84eb('0x9')](_0x84eb('0xa'));}}},'savedAt':{'type':Sequelize[_0x84eb('0xc')]},'publishedAt':{'type':Sequelize[_0x84eb('0xc')]}};