c5b820385b7c0051fee5c93ebb1fa3ef5cda513d
[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 _0x0c3a=['VIRTUAL','system-','STRING','INTEGER','sequelize','exports','name'];(function(_0x35ef24,_0x455852){var _0x1b5f87=function(_0xe8657f){while(--_0xe8657f){_0x35ef24['push'](_0x35ef24['shift']());}};_0x1b5f87(++_0x455852);}(_0x0c3a,0xb3));var _0xa0c3=function(_0x39deea,_0x522e8e){_0x39deea=_0x39deea-0x0;var _0x1f7dc3=_0x0c3a[_0x39deea];return _0x1f7dc3;};'use strict';var Sequelize=require(_0xa0c3('0x0'));module[_0xa0c3('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xa0c3('0x2')},'prefix':{'type':Sequelize[_0xa0c3('0x3')],'get':function(_0x1e9ce9){return _0xa0c3('0x4')+this['getDataValue'](_0xa0c3('0x2'))+'-';}},'description':{'type':Sequelize[_0xa0c3('0x5')]},'callerIdAll':{'type':Sequelize[_0xa0c3('0x5')]},'VoiceExtensionId':{'type':Sequelize[_0xa0c3('0x6')]}};