5d910de5f7a47a2c345b72c24ab9045deadbff43
[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 _0xd5f2=['exports','VIRTUAL','system-','name','STRING','INTEGER','sequelize'];(function(_0x30f45f,_0x22193a){var _0x2b479d=function(_0x3081f8){while(--_0x3081f8){_0x30f45f['push'](_0x30f45f['shift']());}};_0x2b479d(++_0x22193a);}(_0xd5f2,0xe6));var _0x2d5f=function(_0x2112d4,_0x3c863c){_0x2112d4=_0x2112d4-0x0;var _0x434972=_0xd5f2[_0x2112d4];return _0x434972;};'use strict';var Sequelize=require(_0x2d5f('0x0'));module[_0x2d5f('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x2d5f('0x2')],'get':function(_0x17a7c7){return _0x2d5f('0x3')+this['getDataValue'](_0x2d5f('0x4'))+'-';}},'description':{'type':Sequelize[_0x2d5f('0x5')]},'callerIdAll':{'type':Sequelize[_0x2d5f('0x5')]},'VoiceExtensionId':{'type':Sequelize[_0x2d5f('0x6')]}};