150c80925333efe2a9bba08a01dd53b5198b9900
[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 _0x2cc0=['sequelize','exports','STRING','name','VIRTUAL'];(function(_0x3bb83a,_0x575118){var _0x53f8a2=function(_0x2edfd2){while(--_0x2edfd2){_0x3bb83a['push'](_0x3bb83a['shift']());}};_0x53f8a2(++_0x575118);}(_0x2cc0,0xc3));var _0x02cc=function(_0x4170a3,_0x55e28e){_0x4170a3=_0x4170a3-0x0;var _0x575a80=_0x2cc0[_0x4170a3];return _0x575a80;};'use strict';var Sequelize=require(_0x02cc('0x0'));module[_0x02cc('0x1')]={'name':{'type':Sequelize[_0x02cc('0x2')],'allowNull':![],'unique':_0x02cc('0x3')},'prefix':{'type':Sequelize[_0x02cc('0x4')],'get':function(_0x228f32){return'system-'+this['getDataValue']('name')+'-';}},'description':{'type':Sequelize[_0x02cc('0x2')]},'callerIdAll':{'type':Sequelize[_0x02cc('0x2')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};