bb2bf176b8ffd3e9da0103770429fa5c2d826dee
[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 _0xad5f=['toString','utf8','production','DATE','sequelize','exports','STRING','name','TEXT','long','getDataValue','preproduction'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0xad5f,0x1a8));var _0xfad5=function(_0x47f038,_0x68f37b){_0x47f038=_0x47f038-0x0;var _0x211674=_0xad5f[_0x47f038];return _0x211674;};'use strict';var Sequelize=require(_0xfad5('0x0'));module[_0xfad5('0x1')]={'name':{'type':Sequelize[_0xfad5('0x2')],'unique':_0xfad5('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xfad5('0x2')]},'notes':{'type':Sequelize[_0xfad5('0x4')]},'preproduction':{'type':Sequelize['BLOB'](_0xfad5('0x5')),'get':function(){if(this[_0xfad5('0x6')](_0xfad5('0x7'))){return this[_0xfad5('0x6')](_0xfad5('0x7'))[_0xfad5('0x8')](_0xfad5('0x9'));}}},'production':{'type':Sequelize['BLOB'](_0xfad5('0x5')),'get':function(){if(this[_0xfad5('0x6')](_0xfad5('0xa'))){return this[_0xfad5('0x6')]('production')[_0xfad5('0x8')](_0xfad5('0x9'));}}},'savedAt':{'type':Sequelize[_0xfad5('0xb')]},'publishedAt':{'type':Sequelize[_0xfad5('0xb')]}};