Built motion from commit 0415ced0.|2.6.28
[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 _0xf094=['utf8','DATE','sequelize','STRING','name','TEXT','BLOB','getDataValue','preproduction','toString','long','production'];(function(_0x4c9e81,_0xa6a5a7){var _0x264fda=function(_0xd5d319){while(--_0xd5d319){_0x4c9e81['push'](_0x4c9e81['shift']());}};_0x264fda(++_0xa6a5a7);}(_0xf094,0x1ee));var _0x4f09=function(_0xef4cf0,_0x16c9c3){_0xef4cf0=_0xef4cf0-0x0;var _0x497ad2=_0xf094[_0xef4cf0];return _0x497ad2;};'use strict';var Sequelize=require(_0x4f09('0x0'));module['exports']={'name':{'type':Sequelize[_0x4f09('0x1')],'unique':_0x4f09('0x2'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x4f09('0x3')]},'preproduction':{'type':Sequelize[_0x4f09('0x4')]('long'),'get':function(){if(this['getDataValue']('preproduction')){return this[_0x4f09('0x5')](_0x4f09('0x6'))[_0x4f09('0x7')]('utf8');}}},'production':{'type':Sequelize['BLOB'](_0x4f09('0x8')),'get':function(){if(this[_0x4f09('0x5')](_0x4f09('0x9'))){return this[_0x4f09('0x5')](_0x4f09('0x9'))[_0x4f09('0x7')](_0x4f09('0xa'));}}},'savedAt':{'type':Sequelize[_0x4f09('0xb')]},'publishedAt':{'type':Sequelize[_0x4f09('0xb')]}};