29a8dd9ab39c88d99069c638468b3bf56a3814b8
[motion-next.git] / server / api / interval / interval.model.js
1 const a368_0x1b5b=['rewrite','Interval','../../components/extensions/rewrite','tools_intervals','./interval.attributes'];(function(_0x4d4dd4,_0x1b5be1){const _0x355ba1=function(_0x499640){while(--_0x499640){_0x4d4dd4['push'](_0x4d4dd4['shift']());}};_0x355ba1(++_0x1b5be1);}(a368_0x1b5b,0x161));const a368_0x355b=function(_0x4d4dd4,_0x1b5be1){_0x4d4dd4=_0x4d4dd4-0x0;let _0x355ba1=a368_0x1b5b[_0x4d4dd4];return _0x355ba1;};const _0x23c7cc=a368_0x355b;'use strict';const attributes=require(_0x23c7cc('0x1')),extensions=require(_0x23c7cc('0x4'));module['exports']=function(_0x499640){const _0x552d5b=_0x23c7cc,_0x294d7f=_0x499640['define'](_0x552d5b('0x3'),attributes,{'tableName':_0x552d5b('0x0'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterCreate':function(_0x1d1809){const _0x1afa42=_0x552d5b;extensions[_0x1afa42('0x2')](_0x499640,_0x1d1809);},'afterBulkCreate':function(_0xd46700){const _0x5c5ab3=_0x552d5b;extensions[_0x5c5ab3('0x2')](_0x499640,_0xd46700[0x0]);},'afterUpdate':function(_0x401140){const _0x4e09dc=_0x552d5b;extensions[_0x4e09dc('0x2')](_0x499640,_0x401140);},'afterDestroy':function(_0x48ec32){const _0x168806=_0x552d5b;extensions[_0x168806('0x2')](_0x499640,_0x48ec32);}}});return _0x294d7f;};