64757da6a053b84a9929d3decf7131300b0ba5b5
[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 _0x07cf=['STRING','sequelize','exports','VIRTUAL','name'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0x07cf,0xce));var _0xf07c=function(_0x13ff53,_0x5e1424){_0x13ff53=_0x13ff53-0x0;var _0x290228=_0x07cf[_0x13ff53];return _0x290228;};'use strict';var Sequelize=require(_0xf07c('0x0'));module[_0xf07c('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0xf07c('0x2')],'get':function(_0x1ca88e){return'system-'+this['getDataValue'](_0xf07c('0x3'))+'-';}},'description':{'type':Sequelize[_0xf07c('0x4')]},'callerIdAll':{'type':Sequelize[_0xf07c('0x4')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};