a151d00990d05bb2b2972a18131afc14e7fe2f37
[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 _0x563d=['getDataValue','utf8','long','production','toString','exports','STRING','name','TEXT','BLOB','preproduction'];(function(_0x114dbf,_0x3dd101){var _0x5953c9=function(_0x39aeb0){while(--_0x39aeb0){_0x114dbf['push'](_0x114dbf['shift']());}};_0x5953c9(++_0x3dd101);}(_0x563d,0xe1));var _0xd563=function(_0x54a761,_0x431fd4){_0x54a761=_0x54a761-0x0;var _0x37d1da=_0x563d[_0x54a761];return _0x37d1da;};'use strict';var Sequelize=require('sequelize');module[_0xd563('0x0')]={'name':{'type':Sequelize[_0xd563('0x1')],'unique':_0xd563('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xd563('0x1')]},'notes':{'type':Sequelize[_0xd563('0x3')]},'preproduction':{'type':Sequelize[_0xd563('0x4')]('long'),'get':function(){if(this['getDataValue'](_0xd563('0x5'))){return this[_0xd563('0x6')](_0xd563('0x5'))['toString'](_0xd563('0x7'));}}},'production':{'type':Sequelize[_0xd563('0x4')](_0xd563('0x8')),'get':function(){if(this[_0xd563('0x6')]('production')){return this['getDataValue'](_0xd563('0x9'))[_0xd563('0xa')](_0xd563('0x7'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize['DATE']}};