diff --git a/api/app/lib/models/dept_training.js b/api/app/lib/models/dept_training.js index 302b399..f1e50e2 100644 --- a/api/app/lib/models/dept_training.js +++ b/api/app/lib/models/dept_training.js @@ -113,6 +113,42 @@ module.exports = dc => { primaryKey: false, field: "origin", 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 + }, + fileType: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + comment: null, + primaryKey: false, + field: "filetype", + autoIncrement: false + }, + updateDate: { + type: DataTypes.DATE, + allowNull: true, + defaultValue: null, + comment: null, + primaryKey: false, + field: "updatedate", + autoIncrement: false } }, { tableName: "dept_training",