/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const ReportSpotCheck = sequelize.define("reportSpotCheck", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "report_spot_check_id_uindex" }, reportId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "report_id", autoIncrement: false, references: { key: "id", model: "report" } }, spotDate: { type: DataTypes.DATEONLY, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "spot_date", autoIncrement: false }, prepareId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "prepare_id", autoIncrement: false, references: { key: "id", model: "reportSpotCheckPreview" } } }, { tableName: "report_spot_check", comment: "", indexes: [] }); dc.models.ReportSpotCheck = ReportSpotCheck; return ReportSpotCheck; };