3e1de6bcb0dab456ff87f79a6cb5b7595837baf8
[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 _0xc00e=['sequelize','exports','STRING','system-','getDataValue','name','INTEGER'];(function(_0x5955c3,_0x5a0fa2){var _0x415e1b=function(_0x591531){while(--_0x591531){_0x5955c3['push'](_0x5955c3['shift']());}};_0x415e1b(++_0x5a0fa2);}(_0xc00e,0x1ea));var _0xec00=function(_0x317b3b,_0x458338){_0x317b3b=_0x317b3b-0x0;var _0x45f8bb=_0xc00e[_0x317b3b];return _0x45f8bb;};'use strict';var Sequelize=require(_0xec00('0x0'));module[_0xec00('0x1')]={'name':{'type':Sequelize[_0xec00('0x2')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x134cf7){return _0xec00('0x3')+this[_0xec00('0x4')](_0xec00('0x5'))+'-';}},'description':{'type':Sequelize[_0xec00('0x2')]},'callerIdAll':{'type':Sequelize[_0xec00('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0xec00('0x6')]}};