332a20e7d6d6e52997b9b44465d1aa1984b847d1
[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 _0x2bc6=['sequelize','exports','STRING','VIRTUAL','getDataValue','name'];(function(_0x5b7788,_0x309ae5){var _0x573871=function(_0x5c79fd){while(--_0x5c79fd){_0x5b7788['push'](_0x5b7788['shift']());}};_0x573871(++_0x309ae5);}(_0x2bc6,0xf6));var _0x62bc=function(_0x817eb6,_0x26399f){_0x817eb6=_0x817eb6-0x0;var _0xab0335=_0x2bc6[_0x817eb6];return _0xab0335;};'use strict';var Sequelize=require(_0x62bc('0x0'));module[_0x62bc('0x1')]={'name':{'type':Sequelize[_0x62bc('0x2')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x62bc('0x3')],'get':function(_0x1a2e74){return'system-'+this[_0x62bc('0x4')](_0x62bc('0x5'))+'-';}},'description':{'type':Sequelize[_0x62bc('0x2')]},'callerIdAll':{'type':Sequelize[_0x62bc('0x2')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};