81d410a1b2cbed2284d7db482abf28ec0c1ba375
[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 _0x9c25=['system-','INTEGER','sequelize','STRING','name','VIRTUAL'];(function(_0x9c8b4a,_0x2387ff){var _0x198bef=function(_0x2eb4e8){while(--_0x2eb4e8){_0x9c8b4a['push'](_0x9c8b4a['shift']());}};_0x198bef(++_0x2387ff);}(_0x9c25,0xaa));var _0x59c2=function(_0xd75f0e,_0x2f98db){_0xd75f0e=_0xd75f0e-0x0;var _0x34a003=_0x9c25[_0xd75f0e];return _0x34a003;};'use strict';var Sequelize=require(_0x59c2('0x0'));module['exports']={'name':{'type':Sequelize[_0x59c2('0x1')],'allowNull':![],'unique':_0x59c2('0x2')},'prefix':{'type':Sequelize[_0x59c2('0x3')],'get':function(_0x4e9793){return _0x59c2('0x4')+this['getDataValue'](_0x59c2('0x2'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0x59c2('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0x59c2('0x5')]}};