|
@@ -1,11 +1,11 @@
|
|
|
'use strict';
|
|
|
const Schema = require('mongoose').Schema;
|
|
|
const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
-const { Secret } = require('naf-framework-mongoose/lib/model/schema');
|
|
|
|
|
|
// 栏目表
|
|
|
const ColumnSchema = {
|
|
|
name: { type: String, required: true, maxLength: 500 }, // 栏目名称
|
|
|
+ site: { type: String, required: true, maxLength: 500 }, // 栏目位置
|
|
|
};
|
|
|
|
|
|
|