1a563abf2ae39f0b81d9fc57a57d97930ab6804f
[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 _0xb37d=['sequelize','exports','STRING','name','INTEGER'];(function(_0x970068,_0x3e4142){var _0x51063d=function(_0x32b30e){while(--_0x32b30e){_0x970068['push'](_0x970068['shift']());}};_0x51063d(++_0x3e4142);}(_0xb37d,0xbe));var _0xdb37=function(_0x1988fc,_0x429454){_0x1988fc=_0x1988fc-0x0;var _0x26e981=_0xb37d[_0x1988fc];return _0x26e981;};'use strict';var Sequelize=require(_0xdb37('0x0'));module[_0xdb37('0x1')]={'name':{'type':Sequelize[_0xdb37('0x2')],'allowNull':![],'unique':_0xdb37('0x3')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x225ae3){return'system-'+this['getDataValue'](_0xdb37('0x3'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0xdb37('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0xdb37('0x4')]}};