f4c7a121c532678adf7681cbd5b092fa1f5153ed
[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 _0xecc5=['sequelize','exports','STRING','name','TEXT','BLOB','long','preproduction','getDataValue','utf8','production','toString','DATE'];(function(_0x19f137,_0x69a6c5){var _0x13021f=function(_0x53e2c5){while(--_0x53e2c5){_0x19f137['push'](_0x19f137['shift']());}};_0x13021f(++_0x69a6c5);}(_0xecc5,0x16c));var _0x5ecc=function(_0x462a7a,_0x47a964){_0x462a7a=_0x462a7a-0x0;var _0x4c9781=_0xecc5[_0x462a7a];return _0x4c9781;};'use strict';var Sequelize=require(_0x5ecc('0x0'));module[_0x5ecc('0x1')]={'name':{'type':Sequelize[_0x5ecc('0x2')],'unique':_0x5ecc('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x5ecc('0x2')]},'notes':{'type':Sequelize[_0x5ecc('0x4')]},'preproduction':{'type':Sequelize[_0x5ecc('0x5')](_0x5ecc('0x6')),'get':function(){if(this['getDataValue'](_0x5ecc('0x7'))){return this[_0x5ecc('0x8')](_0x5ecc('0x7'))['toString'](_0x5ecc('0x9'));}}},'production':{'type':Sequelize['BLOB'](_0x5ecc('0x6')),'get':function(){if(this[_0x5ecc('0x8')](_0x5ecc('0xa'))){return this[_0x5ecc('0x8')]('production')[_0x5ecc('0xb')]('utf8');}}},'savedAt':{'type':Sequelize[_0x5ecc('0xc')]},'publishedAt':{'type':Sequelize[_0x5ecc('0xc')]}};