1234567891011121314 |
- 'use strict';
- module.exports = app => {
- const mongoose = app.mongoose;
- const Schema = mongoose.Schema;
- const SysDictSchema = new Schema({
- key: { type: String },
- name: { type: String },
- fid: { type: String },
- order: { type: Number },
- });
- return mongoose.model('sysDict', SysDictSchema, 'sys_dict');
- };
|