ed8bc2038609c8aa5faf93c9f289604c6876015e
[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 _0xb8dd=['STRING','name','VIRTUAL','system-','INTEGER','sequelize','exports'];(function(_0x253027,_0x4e0910){var _0x1b09a7=function(_0x48cdf7){while(--_0x48cdf7){_0x253027['push'](_0x253027['shift']());}};_0x1b09a7(++_0x4e0910);}(_0xb8dd,0x16a));var _0xdb8d=function(_0x475575,_0x30d540){_0x475575=_0x475575-0x0;var _0x53e8d8=_0xb8dd[_0x475575];return _0x53e8d8;};'use strict';var Sequelize=require(_0xdb8d('0x0'));module[_0xdb8d('0x1')]={'name':{'type':Sequelize[_0xdb8d('0x2')],'allowNull':![],'unique':_0xdb8d('0x3')},'prefix':{'type':Sequelize[_0xdb8d('0x4')],'get':function(_0x2a3a60){return _0xdb8d('0x5')+this['getDataValue']('name')+'-';}},'description':{'type':Sequelize[_0xdb8d('0x2')]},'callerIdAll':{'type':Sequelize[_0xdb8d('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0xdb8d('0x6')]}};