72f6d2f833aa4d1f421b785bc7731717202a9ae5
[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 _0x3cd8=['sequelize','STRING','name','system-'];(function(_0x1cb989,_0x30bdf2){var _0x27379=function(_0x2d52d4){while(--_0x2d52d4){_0x1cb989['push'](_0x1cb989['shift']());}};_0x27379(++_0x30bdf2);}(_0x3cd8,0xd0));var _0x83cd=function(_0x8bb4c1,_0x2d6e53){_0x8bb4c1=_0x8bb4c1-0x0;var _0x67a6e1=_0x3cd8[_0x8bb4c1];return _0x67a6e1;};'use strict';var Sequelize=require(_0x83cd('0x0'));module['exports']={'name':{'type':Sequelize[_0x83cd('0x1')],'allowNull':![],'unique':_0x83cd('0x2')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x32574e){return _0x83cd('0x3')+this['getDataValue']('name')+'-';}},'description':{'type':Sequelize[_0x83cd('0x1')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};