1234567891011121314 |
- 'use strict';
- module.exports = app => {
- const mongoose = app.mongoose;
- const Schema = mongoose.Schema;
- const OperationManualSchema = new Schema({
- fileName: { type: String },
- filePath: { type: String },
- time: { type: Date, default: Date.now },
- });
- return mongoose.model('OperationManual', OperationManualSchema, 'operationManual');
- };
|