/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const RoadSpotCheck = sequelize.define("roadSpotCheck", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "report_spot_check_v2_id_uindex" }, roadId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "road_id", autoIncrement: false }, maintenanceCount: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: "抽查时养护次数", primaryKey: false, field: "maintenance_count", autoIncrement: false }, prepareId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: "抽查预览id", primaryKey: false, field: "prepare_id", autoIncrement: false } }, { tableName: "road_spot_check", comment: "", indexes: [] }); dc.models.RoadSpotCheck = RoadSpotCheck; return RoadSpotCheck; };