Built motion from commit e1760111.|2.6.18
[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 _0xe1c0=['utf8','DATE','sequelize','exports','STRING','name','getDataValue','preproduction','toString','long','production'];(function(_0x29f515,_0x15183e){var _0x1926ac=function(_0x2e844d){while(--_0x2e844d){_0x29f515['push'](_0x29f515['shift']());}};_0x1926ac(++_0x15183e);}(_0xe1c0,0x120));var _0x0e1c=function(_0x12242b,_0x50f3fc){_0x12242b=_0x12242b-0x0;var _0x3644b6=_0xe1c0[_0x12242b];return _0x3644b6;};'use strict';var Sequelize=require(_0x0e1c('0x0'));module[_0x0e1c('0x1')]={'name':{'type':Sequelize[_0x0e1c('0x2')],'unique':_0x0e1c('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x0e1c('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize['BLOB']('long'),'get':function(){if(this[_0x0e1c('0x4')](_0x0e1c('0x5'))){return this[_0x0e1c('0x4')](_0x0e1c('0x5'))[_0x0e1c('0x6')]('utf8');}}},'production':{'type':Sequelize['BLOB'](_0x0e1c('0x7')),'get':function(){if(this[_0x0e1c('0x4')](_0x0e1c('0x8'))){return this[_0x0e1c('0x4')](_0x0e1c('0x8'))[_0x0e1c('0x6')](_0x0e1c('0x9'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0x0e1c('0xa')]}};