/* eslint-disable*/

'use strict';

module.exports = dc => {
  const DataTypes = dc.ORM;
  const sequelize = dc.orm;
  const ProjectPointsDeploy = sequelize.define("projectPointsDeploy", {
    id: {
      type: DataTypes.INTEGER,
      allowNull: false,
      defaultValue: null,
      comment: null,
      primaryKey: true,
      field: "id",
      autoIncrement: true,
      unique: "project_points_deploy_id_uindex"
    },
    pointId: {
      type: DataTypes.INTEGER,
      allowNull: false,
      defaultValue: null,
      comment: null,
      primaryKey: false,
      field: "point_id",
      autoIncrement: false
    },
    graphId: {
      type: DataTypes.INTEGER,
      allowNull: false,
      defaultValue: null,
      comment: null,
      primaryKey: false,
      field: "graph_id",
      autoIncrement: false
    },
    position: {
      type: DataTypes.STRING,
      allowNull: false,
      defaultValue: null,
      comment: null,
      primaryKey: false,
      field: "position",
      autoIncrement: false
    }
  }, {
    tableName: "project_points_deploy",
    comment: "",
    indexes: []
  });
  dc.models.ProjectPointsDeploy = ProjectPointsDeploy;
  return ProjectPointsDeploy;
};