/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const QualityCheckAlarm = sequelize.define("qualityCheckAlarm", { id: { type: DataTypes.BIGINT, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true }, key: { type: DataTypes.TEXT, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "key", autoIncrement: false, unique: "idx_unique_alarm_key" }, content: { type: DataTypes.TEXT, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "content", autoIncrement: false }, level: { type: DataTypes.BIGINT, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "level", autoIncrement: false }, time: { type: DataTypes.DATE, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "time", autoIncrement: false } }, { tableName: "t_quality_check_alarm", comment: "", indexes: [] }); dc.models.QualityCheckAlarm = QualityCheckAlarm; return QualityCheckAlarm; };