Built motion from commit 5fcd269f5146f10cf3129722d518881dfac64576. Version 3.0.0...
[motion-next.git] / server / api / openchannelInteraction / openchannelInteraction.model.js
index 592b1a5..acca79a 100644 (file)
@@ -1 +1 @@
-const a482_0x7804=['moment','OpenchannelInteraction','closedAt','YYYY-MM-DD\x20HH:mm:ss','changed','define','exports','openchannel_interactions'];(function(_0x467f65,_0x78045f){const _0x20c922=function(_0x26af74){while(--_0x26af74){_0x467f65['push'](_0x467f65['shift']());}};_0x20c922(++_0x78045f);}(a482_0x7804,0xb4));const a482_0x20c9=function(_0x467f65,_0x78045f){_0x467f65=_0x467f65-0x0;let _0x20c922=a482_0x7804[_0x467f65];return _0x20c922;};const _0x3cefe7=a482_0x20c9;'use strict';const moment=require(_0x3cefe7('0x4')),attributes=require('./openchannelInteraction.attributes');module[_0x3cefe7('0x2')]=function(_0x26af74){const _0x28c95d=_0x3cefe7,_0x3d5540=_0x26af74[_0x28c95d('0x1')](_0x28c95d('0x5'),attributes,{'tableName':_0x28c95d('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x415361){const _0x1488fa=_0x28c95d;_0x415361[_0x1488fa('0x0')]('closed')&&(_0x415361[_0x1488fa('0x6')]=moment()['format'](_0x1488fa('0x7')));}}});return _0x3d5540;};
\ No newline at end of file
+const a482_0x4ae8=['YYYY-MM-DD\x20HH:mm:ss','moment','openchannel_interactions','OpenchannelInteraction','./openchannelInteraction.attributes','format','closed','closedAt'];(function(_0x30f2ff,_0x4ae837){const _0x130bc9=function(_0x2c54d1){while(--_0x2c54d1){_0x30f2ff['push'](_0x30f2ff['shift']());}};_0x130bc9(++_0x4ae837);}(a482_0x4ae8,0x7f));const a482_0x130b=function(_0x30f2ff,_0x4ae837){_0x30f2ff=_0x30f2ff-0x0;let _0x130bc9=a482_0x4ae8[_0x30f2ff];return _0x130bc9;};const _0xb84f25=a482_0x130b;'use strict';const moment=require(_0xb84f25('0x2')),attributes=require(_0xb84f25('0x5'));module['exports']=function(_0x2c54d1){const _0x42ba54=_0xb84f25,_0x32861e=_0x2c54d1['define'](_0x42ba54('0x4'),attributes,{'tableName':_0x42ba54('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x51a3d7){const _0x2a1eec=_0x42ba54;_0x51a3d7['changed'](_0x2a1eec('0x7'))&&(_0x51a3d7[_0x2a1eec('0x0')]=moment()[_0x2a1eec('0x6')](_0x2a1eec('0x1')));}}});return _0x32861e;};
\ No newline at end of file