@@ -3,6 +3,7 @@ const Schema = require('mongoose').Schema;
const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
const images = new Schema({
+ name: { type: String, required: true, maxLength: 500 }, // 图片名称
url: { type: String, required: true, maxLength: 500 }, // 图片路径
});
// 展会信息表