/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const CameraStatusLog = sequelize.define("cameraStatusLog", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "camera_status_log_id_uindex_2" }, statusId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "status_id", autoIncrement: false, references: { key: "id", model: "cameraStatus" } }, time: { type: DataTypes.DATE, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "time", autoIncrement: false } }, { tableName: "camera_status_log", comment: "", indexes: [] }); dc.models.CameraStatusLog = CameraStatusLog; return CameraStatusLog; };