f5b923a21cceb66b09042efbc96afa54871c6a9e
[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 _0x6c05=['STRING','system-','getDataValue','name','sequelize','exports'];(function(_0x4f67e3,_0x32b097){var _0x5cedc0=function(_0x3cb7dc){while(--_0x3cb7dc){_0x4f67e3['push'](_0x4f67e3['shift']());}};_0x5cedc0(++_0x32b097);}(_0x6c05,0x64));var _0x56c0=function(_0x581af7,_0x510318){_0x581af7=_0x581af7-0x0;var _0xbf5032=_0x6c05[_0x581af7];return _0xbf5032;};'use strict';var Sequelize=require(_0x56c0('0x0'));module[_0x56c0('0x1')]={'name':{'type':Sequelize[_0x56c0('0x2')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x2eabeb){return _0x56c0('0x3')+this[_0x56c0('0x4')](_0x56c0('0x5'))+'-';}},'description':{'type':Sequelize[_0x56c0('0x2')]},'callerIdAll':{'type':Sequelize[_0x56c0('0x2')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};