Built motion from commit (unavailable).|2.4.17
[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 _0x3b38=['long','preproduction','getDataValue','toString','utf8','production','exports','STRING','name','BLOB'];(function(_0x44a64f,_0x38475c){var _0x52024b=function(_0x2cd055){while(--_0x2cd055){_0x44a64f['push'](_0x44a64f['shift']());}};_0x52024b(++_0x38475c);}(_0x3b38,0x114));var _0x83b3=function(_0x24f187,_0x59bcee){_0x24f187=_0x24f187-0x0;var _0x27d196=_0x3b38[_0x24f187];return _0x27d196;};'use strict';var Sequelize=require('sequelize');module[_0x83b3('0x0')]={'name':{'type':Sequelize[_0x83b3('0x1')],'unique':_0x83b3('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0x83b3('0x1')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0x83b3('0x3')](_0x83b3('0x4')),'get':function(){if(this['getDataValue'](_0x83b3('0x5'))){return this[_0x83b3('0x6')]('preproduction')[_0x83b3('0x7')](_0x83b3('0x8'));}}},'production':{'type':Sequelize[_0x83b3('0x3')](_0x83b3('0x4')),'get':function(){if(this[_0x83b3('0x6')](_0x83b3('0x9'))){return this['getDataValue'](_0x83b3('0x9'))[_0x83b3('0x7')](_0x83b3('0x8'));}}}};