/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const FireAlarm = sequelize.define("fireAlarm", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "fire_alarm_id_uindex" }, createTime: { type: DataTypes.DATE, allowNull: true, defaultValue: null, comment: "创建时间", primaryKey: false, field: "createTime", autoIncrement: false }, location: { type: DataTypes.TEXT, allowNull: true, defaultValue: null, comment: "地点", primaryKey: false, field: "location", autoIncrement: false }, scene: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "场所", primaryKey: false, field: "scene", autoIncrement: false }, fireMaterial: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "燃烧物质", primaryKey: false, field: "fire_material", autoIncrement: false }, level: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "危险等级", primaryKey: false, field: "level", autoIncrement: false }, state: { type: DataTypes.INTEGER, allowNull: true, defaultValue: "1", comment: "事件状态:1 进行中 2已结束", primaryKey: false, field: "state", autoIncrement: false }, longitude: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "longitude", autoIncrement: false }, latitude: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "latitude", autoIncrement: false }, type: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "警情类型", primaryKey: false, field: "type", autoIncrement: false }, typeParam: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "警情类型对应的不同属性 ", primaryKey: false, field: "type_param", autoIncrement: false } }, { tableName: "fire_alarm", comment: "", indexes: [] }); dc.models.FireAlarm = FireAlarm; return FireAlarm; };