6dd5dcb76db867f6ffdfcaaafc5cb4b6434193a0
[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 _0x4dbc=['exports','STRING','name','system-','getDataValue','INTEGER','sequelize'];(function(_0x2ee72d,_0xbd33ba){var _0x192095=function(_0x128eed){while(--_0x128eed){_0x2ee72d['push'](_0x2ee72d['shift']());}};_0x192095(++_0xbd33ba);}(_0x4dbc,0xca));var _0xc4db=function(_0x162723,_0x4357f4){_0x162723=_0x162723-0x0;var _0x24dc91=_0x4dbc[_0x162723];return _0x24dc91;};'use strict';var Sequelize=require(_0xc4db('0x0'));module[_0xc4db('0x1')]={'name':{'type':Sequelize[_0xc4db('0x2')],'allowNull':![],'unique':_0xc4db('0x3')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x2dada1){return _0xc4db('0x4')+this[_0xc4db('0x5')]('name')+'-';}},'description':{'type':Sequelize[_0xc4db('0x2')]},'callerIdAll':{'type':Sequelize[_0xc4db('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0xc4db('0x6')]}};