text: "use strict";
  
  var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
  
  var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
  
  var _Reflect$construct = require("@babel/runtime-corejs2/core-js/reflect/construct");
  
  _Object$defineProperty(exports, "__esModule", {
    value: true
  });
  
  exports["default"] = void 0;
  
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/classCallCheck"));
  
  var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/inherits"));
  
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/possibleConstructorReturn"));
  
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/getPrototypeOf"));
  
  var _sequelize = require("sequelize");
  
  var _config = require("../config");
  
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
  
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(_Reflect$construct(Date, [], function () {})); return true; } catch (e) { return false; } }
  
  var ProjectModel = /*#__PURE__*/function (_Model) {
    (0, _inherits2["default"])(ProjectModel, _Model);
  
    var _super = _createSuper(ProjectModel);
  
    function ProjectModel() {
      (0, _classCallCheck2["default"])(this, ProjectModel);
      return _super.apply(this, arguments);
    }
  
    return ProjectModel;
  }(_sequelize.Model);
  
  ProjectModel.init({
    id: {
      type: _sequelize.DataTypes.INTEGER,
      primaryKey: true,
      autoIncrement: true
    },
    name: {
      type: _sequelize.DataTypes.STRING,
      allowNull: false
    },
    description: {
      type: _sequelize.DataTypes.STRING,
      allowNull: false
    },
    createdAt: {
      type: _sequelize.DataTypes.DATE,
      defaultValue: _sequelize.DataTypes.NOW
    },
    updatedAt: {
      type: _sequelize.DataTypes.DATE,
      defaultValue: _sequelize.DataTypes.NOW
    },
    archived: {
      type: _sequelize.DataTypes.TINYINT,
      defaultValue: 0
    }
  }, {
    sequelize: _config.db,
    modelName: 'Project'
  });
  var _default = ProjectModel;
  exports["default"] = _default;
  //# sourceMappingURL=project.model.js.map