/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const RoadSpotCheckPreview = sequelize.define("roadSpotCheckPreview", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "report_spot_check_preview_v2_id_uindex" }, countyPercentage: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: "县道抽查比例", primaryKey: false, field: "county_percentage", autoIncrement: false }, date: { type: DataTypes.DATE, allowNull: true, defaultValue: null, comment: "抽取时间", primaryKey: false, field: "date", autoIncrement: false }, countyRoadId: { type: DataTypes.ARRAY(DataTypes.INTEGER), allowNull: true, defaultValue: null, comment: "抽到的县道id", primaryKey: false, field: "county_road_id", autoIncrement: false }, townshipRoadId: { type: DataTypes.ARRAY(DataTypes.INTEGER), allowNull: true, defaultValue: null, comment: "乡道id", primaryKey: false, field: "township_road_id", autoIncrement: false }, checked: { type: DataTypes.BOOLEAN, allowNull: false, defaultValue: null, comment: "是否应用", primaryKey: false, field: "checked", autoIncrement: false }, villageRoadId: { type: DataTypes.ARRAY(DataTypes.INTEGER), allowNull: true, defaultValue: null, comment: "村道id", primaryKey: false, field: "village_road_id", autoIncrement: false }, villageId: { type: DataTypes.ARRAY(DataTypes.INTEGER), allowNull: true, defaultValue: null, comment: "抽到的村庄的id", primaryKey: false, field: "village_id", autoIncrement: false }, villageMil: { type: DataTypes.DOUBLE, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "village_mil", autoIncrement: false }, townMil: { type: DataTypes.DOUBLE, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "town_mil", autoIncrement: false }, countryMil: { type: DataTypes.DOUBLE, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "country_mil", autoIncrement: false } }, { tableName: "road_spot_check_preview", comment: "", indexes: [] }); dc.models.RoadSpotCheckPreview = RoadSpotCheckPreview; return RoadSpotCheckPreview; };