0aa41829326dff4fc20bb5ece5601d52ccd43d30
[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 _0x4bd8=['name','VIRTUAL','INTEGER','sequelize','exports','STRING'];(function(_0x828b8b,_0x249ab9){var _0x22a258=function(_0x3a8fc9){while(--_0x3a8fc9){_0x828b8b['push'](_0x828b8b['shift']());}};_0x22a258(++_0x249ab9);}(_0x4bd8,0x141));var _0x84bd=function(_0x38dd2e,_0x53d3a0){_0x38dd2e=_0x38dd2e-0x0;var _0x5565d8=_0x4bd8[_0x38dd2e];return _0x5565d8;};'use strict';var Sequelize=require(_0x84bd('0x0'));module[_0x84bd('0x1')]={'name':{'type':Sequelize[_0x84bd('0x2')],'allowNull':![],'unique':_0x84bd('0x3')},'prefix':{'type':Sequelize[_0x84bd('0x4')],'get':function(_0x30b10a){return'system-'+this['getDataValue'](_0x84bd('0x3'))+'-';}},'description':{'type':Sequelize[_0x84bd('0x2')]},'callerIdAll':{'type':Sequelize[_0x84bd('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x84bd('0x5')]}};