/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const PointDevice = sequelize.define("pointDevice", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "point_device_id_uindex" }, pointId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "point_id", autoIncrement: false }, deviceId: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "device_id", autoIncrement: false } }, { tableName: "point_device", comment: "", indexes: [] }); dc.models.PointDevice = PointDevice; return PointDevice; };