Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / voicePrefix / voicePrefix.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 _0xbb5b=['name','STRING','sequelize','exports','system-','getDataValue'];(function(_0x12d906,_0x5a5bd9){var _0x4933e6=function(_0x59bf90){while(--_0x59bf90){_0x12d906['push'](_0x12d906['shift']());}};_0x4933e6(++_0x5a5bd9);}(_0xbb5b,0xc8));var _0xbbb5=function(_0x43a6cd,_0x503d1a){_0x43a6cd=_0x43a6cd-0x0;var _0x5acb36=_0xbb5b[_0x43a6cd];return _0x5acb36;};'use strict';var Sequelize=require(_0xbbb5('0x0'));module[_0xbbb5('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x421456){return _0xbbb5('0x2')+this[_0xbbb5('0x3')](_0xbbb5('0x4'))+'-';}},'description':{'type':Sequelize[_0xbbb5('0x5')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};