Commit 2b017bb0 by chenjinjing

单位科研成果表

parent f1241fe9
...@@ -83,6 +83,7 @@ enum TABLEENUM { ...@@ -83,6 +83,7 @@ enum TABLEENUM {
用户表 = 'users', 用户表 = 'users',
文字资料 = 'wenZiZiLiao', 文字资料 = 'wenZiZiLiao',
订单表 = 'order', 订单表 = 'order',
单位所获得科研成果表 = " scientificResearch",
} }
const ModelArray = [ const ModelArray = [
...@@ -409,6 +410,17 @@ const ModelArray = [ ...@@ -409,6 +410,17 @@ const ModelArray = [
} }
}, },
{ {
tableName:TABLEENUM.单位所获得科研成果表,
source:TABLESOURCEENUM.mongo,
schema:{
id:{ type:'String', index:true },
userId:'String',//用户id 外键
startTime:'Number',//开始时间
endTime:'Number',//结束时间
describe:'String',//描述
}
},
{
tableName:TABLEENUM.订单表, tableName:TABLEENUM.订单表,
source:TABLESOURCEENUM.mongo, source:TABLESOURCEENUM.mongo,
schema:{ schema:{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment