Built motion from commit 1038d87.|0.0.141
[motion.git] / server / models / tools_condition.js
index ff2595e..695e44d 100644 (file)
@@ -1 +1,16 @@
-var _0xfec0=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x54\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x74\x6F\x6F\x6C\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xfec0[0]);module[_0xfec0[1]]=function(_0xf842x2,_0xf842x3){var _0xf842x4=_0xf842x2[_0xfec0[5]](_0xfec0[2],{field:_0xf842x3[_0xfec0[3]],operator:_0xf842x3[_0xfec0[3]],value:_0xf842x3[_0xfec0[3]]},{tableName:_0xfec0[4]});return _0xf842x4}
\ No newline at end of file
+/**
+ * Tools Conditions Model
+ */
+
+module.exports = function(sequelize, DataTypes) {
+
+  var ToolsCondition = sequelize.define('ToolsCondition', {
+    field: DataTypes.STRING,
+    operator: DataTypes.STRING,
+    value: DataTypes.STRING
+  }, {
+    tableName: 'tools_conditions'
+  });
+
+  return ToolsCondition;
+};