/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const EmergencyEquipmentRegistration = sequelize.define("emergencyEquipmentRegistration", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true }, name: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: "名称", primaryKey: false, field: "name", autoIncrement: false }, type: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "类别", primaryKey: false, field: "type", autoIncrement: false }, unit: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "计量单位", primaryKey: false, field: "unit", autoIncrement: false }, count: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: "数量", primaryKey: false, field: "count", autoIncrement: false }, function: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "主要性能", primaryKey: false, field: "function", autoIncrement: false }, purpose: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "用途", primaryKey: false, field: "purpose", autoIncrement: false }, status: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "技术状况", primaryKey: false, field: "status", autoIncrement: false }, inTime: { type: DataTypes.DATEONLY, allowNull: true, defaultValue: null, comment: "入库日期", primaryKey: false, field: "in_time", autoIncrement: false } }, { tableName: "emergency_equipment_registration", comment: "", indexes: [] }); dc.models.EmergencyEquipmentRegistration = EmergencyEquipmentRegistration; return EmergencyEquipmentRegistration; };