Built motion from commit 25580385.|2.6.2
[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 _0x533b=['STRING','name','TEXT','long','getDataValue','preproduction','toString','utf8','production','DATE','exports'];(function(_0x50b10b,_0x1bc771){var _0x4f2c51=function(_0x23fcbe){while(--_0x23fcbe){_0x50b10b['push'](_0x50b10b['shift']());}};_0x4f2c51(++_0x1bc771);}(_0x533b,0x18b));var _0xb533=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x533b[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require('sequelize');module[_0xb533('0x0')]={'name':{'type':Sequelize[_0xb533('0x1')],'unique':_0xb533('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xb533('0x1')]},'notes':{'type':Sequelize[_0xb533('0x3')]},'preproduction':{'type':Sequelize['BLOB'](_0xb533('0x4')),'get':function(){if(this[_0xb533('0x5')](_0xb533('0x6'))){return this[_0xb533('0x5')](_0xb533('0x6'))[_0xb533('0x7')](_0xb533('0x8'));}}},'production':{'type':Sequelize['BLOB']('long'),'get':function(){if(this[_0xb533('0x5')](_0xb533('0x9'))){return this[_0xb533('0x5')]('production')['toString']('utf8');}}},'savedAt':{'type':Sequelize[_0xb533('0xa')]},'publishedAt':{'type':Sequelize[_0xb533('0xa')]}};