71c8ecea85306a7a3c6c91ca2a0cd78b1cd38908
[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 _0x59bf=['exports','STRING','name','VIRTUAL','system-','getDataValue','sequelize'];(function(_0x270350,_0x10645d){var _0x43c76c=function(_0x355831){while(--_0x355831){_0x270350['push'](_0x270350['shift']());}};_0x43c76c(++_0x10645d);}(_0x59bf,0x1c6));var _0xf59b=function(_0xc6be3a,_0x540e05){_0xc6be3a=_0xc6be3a-0x0;var _0x56a310=_0x59bf[_0xc6be3a];return _0x56a310;};'use strict';var Sequelize=require(_0xf59b('0x0'));module[_0xf59b('0x1')]={'name':{'type':Sequelize[_0xf59b('0x2')],'allowNull':![],'unique':_0xf59b('0x3')},'prefix':{'type':Sequelize[_0xf59b('0x4')],'get':function(_0x38cbd0){return _0xf59b('0x5')+this[_0xf59b('0x6')]('name')+'-';}},'description':{'type':Sequelize[_0xf59b('0x2')]},'callerIdAll':{'type':Sequelize[_0xf59b('0x2')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};