|
@@ -4,6 +4,7 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
const { Secret } = require('naf-framework-mongoose/lib/model/schema');
|
|
|
// 产品图片表
|
|
|
const videos = new Schema({
|
|
|
+ name: { type: String, required: true, maxLength: 200 }, // 视频标题
|
|
|
start_time: { type: String, required: true, maxLength: 200 }, // 开始时间
|
|
|
end_time: { type: String, required: true, maxLength: 200 }, // 结束时间
|
|
|
url: { type: String, required: true, maxLength: 500 }, // 视频路径
|