5ba78f1b2e804e0b053e319fadf875352e0b7cac
[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 _0x2334=['getDataValue','exports','STRING','name','system-'];(function(_0x29b668,_0x30bacd){var _0x26e948=function(_0x169721){while(--_0x169721){_0x29b668['push'](_0x29b668['shift']());}};_0x26e948(++_0x30bacd);}(_0x2334,0x6a));var _0x4233=function(_0x3d3ddd,_0x59b504){_0x3d3ddd=_0x3d3ddd-0x0;var _0x52a4f9=_0x2334[_0x3d3ddd];return _0x52a4f9;};'use strict';var Sequelize=require('sequelize');module[_0x4233('0x0')]={'name':{'type':Sequelize[_0x4233('0x1')],'allowNull':![],'unique':_0x4233('0x2')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x2cccc3){return _0x4233('0x3')+this[_0x4233('0x4')]('name')+'-';}},'description':{'type':Sequelize[_0x4233('0x1')]},'callerIdAll':{'type':Sequelize[_0x4233('0x1')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};