sysDeptDecModel.js 429 B

12345678910111213
  1. 'use strict';
  2. module.exports = app => {
  3. const mongoose = app.mongoose;
  4. const Schema = mongoose.Schema;
  5. const SysDeptDecSchema = new Schema({
  6. level: { type: String }, // 地区级别(0启用/1禁止)
  7. tableStatus: { type: Number }, // 功能状态(0启用/1禁止)
  8. excelStatus: { type: Number }, // 功能状态(0启用/1禁止)
  9. });
  10. return mongoose.model('sysDeptDec', SysDeptDecSchema, 'sys_dept_dec');
  11. };