/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const HideDangerRectifySites = sequelize.define("hideDangerRectifySites", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "hide_danger_rectify_sites_id_uindex" }, rectifyId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "rectify_id", autoIncrement: false }, siteId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "site_id", autoIncrement: false }, status: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: "0: 已下发, 待整改,\n1: 已整改, 待审核,\n2: 审核通过, 待复审,\n3: 审核未通过, 待重新整改,\n4: 复审未通过, 待重新整改,\n5: 整改完成", primaryKey: false, field: "status", autoIncrement: false }, lastDisposeTime: { type: DataTypes.DATE, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "last_dispose_time", autoIncrement: false } }, { tableName: "hide_danger_rectify_sites", comment: "", indexes: [] }); dc.models.HideDangerRectifySites = HideDangerRectifySites; return HideDangerRectifySites; };