/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const CameraStatusAlarm = sequelize.define("cameraStatusAlarm", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "camera_status_alarm_id_uindex" }, statusId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "status_id", autoIncrement: false, references: { key: "id", model: "cameraStatus" } }, description: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "描述", primaryKey: false, field: "description", autoIncrement: false }, confirm: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "确认信息", primaryKey: false, field: "confirm", autoIncrement: false }, confirmTime: { type: DataTypes.DATE, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "confirm_time", autoIncrement: false }, createTime: { type: DataTypes.DATE, allowNull: true, defaultValue: null, comment: "生成时间", primaryKey: false, field: "create_time", autoIncrement: false }, updateTime: { type: DataTypes.DATE, allowNull: true, defaultValue: null, comment: "更新时间", primaryKey: false, field: "update_time", autoIncrement: false }, serialNo: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "序列号", primaryKey: false, field: "serial_no", autoIncrement: false }, channelNo: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "通道号", primaryKey: false, field: "channel_no", autoIncrement: false }, platform: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "platform", autoIncrement: false } }, { tableName: "camera_status_alarm", comment: "", indexes: [] }); dc.models.CameraStatusAlarm = CameraStatusAlarm; return CameraStatusAlarm; };