Built motion from commit 1038d87.|0.0.141
[motion.git] / server / models / tools_condition.js
index d5d7b28..695e44d 100644 (file)
@@ -1 +1,16 @@
-var _0x65ed=["\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(_0x65ed[0]);module[_0x65ed[1]]=function(_0x2c69x2,_0x2c69x3){var _0x2c69x4=_0x2c69x2[_0x65ed[5]](_0x65ed[2],{field:_0x2c69x3[_0x65ed[3]],operator:_0x2c69x3[_0x65ed[3]],value:_0x2c69x3[_0x65ed[3]]},{tableName:_0x65ed[4]});return _0x2c69x4}
\ 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;
+};