0bb9b7a9af36684006fd61974df633e70b0c1a5a
[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 _0x72e3=['getDataValue','name','STRING','INTEGER','sequelize','exports','VIRTUAL','system-'];(function(_0x121bbc,_0x2a76a4){var _0x17539f=function(_0xe7e733){while(--_0xe7e733){_0x121bbc['push'](_0x121bbc['shift']());}};_0x17539f(++_0x2a76a4);}(_0x72e3,0x144));var _0x372e=function(_0x53a1be,_0x42dff2){_0x53a1be=_0x53a1be-0x0;var _0x38ae84=_0x72e3[_0x53a1be];return _0x38ae84;};'use strict';var Sequelize=require(_0x372e('0x0'));module[_0x372e('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x372e('0x2')],'get':function(_0x1b30ae){return _0x372e('0x3')+this[_0x372e('0x4')](_0x372e('0x5'))+'-';}},'description':{'type':Sequelize[_0x372e('0x6')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x372e('0x7')]}};