/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const ReportConfiguration = sequelize.define("report_configuration", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "report_configuration_pk" }, name: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "name", autoIncrement: false }, type: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "type", autoIncrement: false }, structure: { type: DataTypes.ARRAY(DataTypes.INTEGER), allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "structure", autoIncrement: false }, startTime: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "start_time", autoIncrement: false }, endTime: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "end_time", autoIncrement: false }, reportpic: { type: DataTypes.ARRAY(DataTypes.STRING), allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "reportpic", autoIncrement: false }, system: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: '1.动力系统,2.网络系统', primaryKey: false, field: "system", autoIncrement: false }, }, { tableName: "report_configuration", comment: "", indexes: [] }); dc.models.ReportConfiguration = ReportConfiguration; return ReportConfiguration; };