/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const ProblemReportFile = sequelize.define("problemReportFile", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true }, reportId: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "reportId", autoIncrement: false, references: { key: "id", model: "tProblemReport" } }, filePath: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "filePath", autoIncrement: false }, fileSize: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "fileSize", autoIncrement: false }, fileName: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "fileName", autoIncrement: false } }, { tableName: "problem_report_file", comment: "", indexes: [] }); dc.models.ProblemReportFile = ProblemReportFile; return ProblemReportFile; };