Built motion from commit 709aa6fb5ed03aa61bc373fcdbf622215d37d30b. Version 3.0.0...
[motion-next.git] / server / api / openchannelInteraction / openchannelInteraction.model.js
1 const a482_0x473f=['OpenchannelInteraction','exports','define','openchannel_interactions','./openchannelInteraction.attributes','closed','moment','closedAt','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x111546,_0x473f79){const _0x1e592e=function(_0x141c6f){while(--_0x141c6f){_0x111546['push'](_0x111546['shift']());}};_0x1e592e(++_0x473f79);}(a482_0x473f,0x7b));const a482_0x1e59=function(_0x111546,_0x473f79){_0x111546=_0x111546-0x0;let _0x1e592e=a482_0x473f[_0x111546];return _0x1e592e;};const _0x580da9=a482_0x1e59;'use strict';const moment=require(_0x580da9('0x0')),attributes=require(_0x580da9('0x7'));module[_0x580da9('0x4')]=function(_0x141c6f){const _0x44758c=_0x580da9,_0x83203a=_0x141c6f[_0x44758c('0x5')](_0x44758c('0x3'),attributes,{'tableName':_0x44758c('0x6'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x21e589){const _0x664ced=_0x44758c;_0x21e589['changed'](_0x664ced('0x8'))&&(_0x21e589[_0x664ced('0x1')]=moment()['format'](_0x664ced('0x2')));}}});return _0x83203a;};