bec7f11cb96aa2743d58a8aaa479f31ad4125dcb
[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 _0x1b1f=['sequelize','exports','VIRTUAL','name','STRING','INTEGER'];(function(_0x28947d,_0x4cc9c6){var _0x12d2ee=function(_0x3f38fc){while(--_0x3f38fc){_0x28947d['push'](_0x28947d['shift']());}};_0x12d2ee(++_0x4cc9c6);}(_0x1b1f,0x17a));var _0xf1b1=function(_0x42b902,_0x363c69){_0x42b902=_0x42b902-0x0;var _0x59c469=_0x1b1f[_0x42b902];return _0x59c469;};'use strict';var Sequelize=require(_0xf1b1('0x0'));module[_0xf1b1('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0xf1b1('0x2')],'get':function(_0x557e2b){return'system-'+this['getDataValue'](_0xf1b1('0x3'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0xf1b1('0x4')]},'VoiceExtensionId':{'type':Sequelize[_0xf1b1('0x5')]}};