1c7b3817a90add8a6d55eeb41aa3b2f379945150
[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 _0xcb3e=['INTEGER','sequelize','exports','STRING','name','system-'];(function(_0x5cbf0e,_0x4cd140){var _0x1c76f8=function(_0xcc9be4){while(--_0xcc9be4){_0x5cbf0e['push'](_0x5cbf0e['shift']());}};_0x1c76f8(++_0x4cd140);}(_0xcb3e,0xbb));var _0xecb3=function(_0x21545d,_0x50f771){_0x21545d=_0x21545d-0x0;var _0x3d782b=_0xcb3e[_0x21545d];return _0x3d782b;};'use strict';var Sequelize=require(_0xecb3('0x0'));module[_0xecb3('0x1')]={'name':{'type':Sequelize[_0xecb3('0x2')],'allowNull':![],'unique':_0xecb3('0x3')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x206574){return _0xecb3('0x4')+this['getDataValue']('name')+'-';}},'description':{'type':Sequelize[_0xecb3('0x2')]},'callerIdAll':{'type':Sequelize[_0xecb3('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0xecb3('0x5')]}};