|
@@ -4,7 +4,6 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
|
|
|
// 信息表
|
|
// 信息表
|
|
const NewsSchema = {
|
|
const NewsSchema = {
|
|
- column_name: { type: String, required: true, maxLength: 500 }, // 栏目名称
|
|
|
|
column_id: { type: String, required: true, maxLength: 500 }, // 栏目id
|
|
column_id: { type: String, required: true, maxLength: 500 }, // 栏目id
|
|
title: { type: String, required: true, maxLength: 500 }, // 标题
|
|
title: { type: String, required: true, maxLength: 500 }, // 标题
|
|
orgin: { type: String, required: true, maxLength: 500 }, // 来源
|
|
orgin: { type: String, required: true, maxLength: 500 }, // 来源
|