Commit 9e59baf2 by chenjinjing

no message

parent 172451b5
......@@ -76,20 +76,31 @@ export const TablesConfig = [
area: {type:Sequelize.DECIMAL(10, 2)}, //租赁面积
unitPrice: {type:Sequelize.DECIMAL(10, 2)}, //出租单价
isDeposit: {type:Sequelize.DECIMAL(18, 2)}, //是否已收入孵押金金额
startTime: {type:Sequelize.DATE}, //租赁开始日期
endTime: {type:Sequelize.DATE}, //租赁结束日期
startTime: {type:Sequelize.DATE}, //租赁开始日期 入驻开始时间 弃用
endTime: {type:Sequelize.DATE}, //租赁结束日期 入驻结束时间 弃用
rentFreeStart: {type:Sequelize.DATE}, //免租期开始
rentFreeEnd: {type:Sequelize.DATE}, //免租期结束
building: {type:Sequelize.STRING(50)}, //楼号
roomNumber: {type:Sequelize.STRING(50)}, //室号
rent: {type:Sequelize.DECIMAL(18, 2)}, //每月租金
notes: {type:Sequelize.STRING(255)}, //备注
leaseContract: {type:Sequelize.STRING(255)}, //房屋租赁合同链接
entryPlan: {type:Sequelize.STRING(255)}, //入驻计划复印件链接
businessLicense: {type:Sequelize.STRING(255)}, //营业执照复印件链接
agreement: {type:Sequelize.STRING(255)}, //孵化协议链接
bankName:{type:Sequelize.STRING(255)}, //银行
totalPrice: {type:Sequelize.DECIMAL(18, 2)}, //总价
// tripartiteAgreement: {type:Sequelize.STRING(255)}, //三方协议链接 20250630新增
// agreement: {type:Sequelize.STRING(255)}, //孵化协议链接
// leaseContract: {type:Sequelize.STRING(255)}, //房屋租赁合同链接
// entryPlan: {type:Sequelize.STRING(255)}, //入驻计划复印件链接
// businessLicense: {type:Sequelize.STRING(255)}, //营业执照复印件链接
sanFangXieYi: {type:Sequelize.STRING(255)}, //三方协议链接 20250630新增
fuHuaXieYi: {type:Sequelize.STRING(255)}, //孵化协议链接
fangWuZuLing: {type:Sequelize.STRING(255)}, //房屋租赁合同链接
fuHuaXieYiBuChong: {type:Sequelize.STRING(255)}, //孵化协议补充协议书链接
chengXinChengNuoHan: {type:Sequelize.STRING(255)}, //诚信承诺函链接
yingYeZhiZhao: {type:Sequelize.STRING(255)}, //营业执照复印件链接
ruFuZiLiao: {type:Sequelize.STRING(255)}, //入孵资料明细链接
ruZhuJiHua: {type:Sequelize.STRING(255)}, //入驻计划复印件链接
yaJinZhiFu: {type:Sequelize.STRING(255)}, //押金支付凭证链接
cardCopy: {type:Sequelize.STRING(255)},//身份证复印件地址链接
},
association: []
},
......@@ -105,6 +116,7 @@ export const TablesConfig = [
},
userName: {type:Sequelize.STRING(50), allowNull:false}, //用户名称
phone: {type:Sequelize.STRING(255), allowNull:false}, //手机号
uscc: {type:Sequelize.STRING(18), allowNull:true}, //统一信用代码
pwd: {type:Sequelize.STRING(255), allowNull:false}, //密码
eId: {type:Sequelize.STRING(255), allowNull:true}, //关联企业id
token: {type:Sequelize.STRING(255), allowNull:true}, //token
......@@ -198,9 +210,9 @@ export const TablesConfig = [
// goPublicSector: {type:Sequelize.STRING(255)}, //上市板块 【枚举】
// other: {type:Sequelize.STRING(255)},//新增其他
xjrTime: {type:Sequelize.DATE}, //小巨人认定时间
xjrImg: {type:Sequelize.STRING(255)}, //小巨人证书
xjrState: {type:Sequelize.INTEGER}, //小巨人是否认定
// xjrTime: {type:Sequelize.DATE}, //小巨人认定时间
// xjrImg: {type:Sequelize.STRING(255)}, //小巨人证书
// xjrState: {type:Sequelize.INTEGER}, //小巨人是否认定
kxTime: {type:Sequelize.DATE}, //科技型中小企业认定时间
kxNumber: {type:Sequelize.STRING(255)}, //科技型中小企业上传编号
......@@ -215,14 +227,18 @@ export const TablesConfig = [
zjtxImg: {type:Sequelize.STRING(255)}, //专精特新证书
zjtxState: {type:Sequelize.INTEGER},//专精特新是否认定
goPublicTime: {type:Sequelize.DATE}, //上市时间
goPublicSector: {type:Sequelize.STRING(255)}, //上市板块 【枚举】
other: {type:Sequelize.STRING(255)},//新增其他
listedState: {type:Sequelize.INTEGER},//上市是否认定
// goPublicTime: {type:Sequelize.DATE}, //上市时间
// goPublicSector: {type:Sequelize.STRING(255)}, //上市板块 【枚举】
// other: {type:Sequelize.STRING(255)},//新增其他
// listedState: {type:Sequelize.INTEGER},//上市是否认定
xjrPyTime: {type:Sequelize.DATE}, //小巨人培育认定时间
xjrPyImg: {type:Sequelize.STRING(255)}, //小巨人培育证书
xjrPyState: {type:Sequelize.INTEGER},//小巨人培育是否认定
cxTime: {type:Sequelize.DATE}, //创新型中小企业认定时间
cxImg: {type:Sequelize.STRING(255)}, //创新型中小企业证书
cxState: {type:Sequelize.INTEGER},//创新型中小企业是否认定
},
association: []
},
......@@ -851,21 +867,135 @@ export const TablesConfig = [
},
association: []
},
// {
// tableNameCn:'招投标信息',// todo
// tableName:'tendering ',
// schema:{
// tenderId: {
// type:Sequelize.STRING(255), //表示属性的数据类型
// allowNull:false, //表示当前列是否允许为空, false表示该列不能为空
// primaryKey:true, //表示主键
// unique:true //表示该列的值必须唯一
// },
// eId:{type:Sequelize.STRING(255), allowNull:false}, //关联企业id
// },
// association: []
// },
{
tableNameCn:'高新企业创新能力评价答题',
tableName:'gaoxin_answer',
schema:{
gaId: {
type:Sequelize.STRING(255), //表示属性的数据类型
allowNull:false, //表示当前列是否允许为空, false表示该列不能为空
primaryKey:true, //表示主键
unique:true //表示该列的值必须唯一
},
answerType:{type:Sequelize.STRING(255)}, //题目分类 知识产权、科研成果、研发管理、企业成长
sort:{type:Sequelize.STRING(255)}, //题目排序
subject:{type:Sequelize.STRING(255)}, //题目
isMultipleChoice:{type:Sequelize.INTEGER}, //是否多选(1表示是,0表示否) 【枚举】
questionType:{type:Sequelize.STRING(255)}, //主观、客观
},
association: [
{type:"hasMany", check:"gaoxin_option", foreignKey:"gaId"},
{type:"hasMany", check:"gaoxin_answerdetail", foreignKey:"gaId"},
]
},
{
tableNameCn:'高新企业创新能力评价选项',
tableName:'gaoxin_option',
schema:{
goId: {
type:Sequelize.STRING(255), //表示属性的数据类型
allowNull:false, //表示当前列是否允许为空, false表示该列不能为空
primaryKey:true, //表示主键
unique:true //表示该列的值必须唯一
},
gaId:{type:Sequelize.STRING(255), allowNull:false}, //关联题目id
sort:{type:Sequelize.STRING(255)}, //选项排序
answer:{type:Sequelize.STRING(255)}, //选项
option:{type:Sequelize.STRING(500)}, //选项题干
notes:{type:Sequelize.STRING(500)}, //注释
score:{type:Sequelize.INTEGER}, //分值
},
association: []
},
{
tableNameCn:'答题记录',
tableName:'gaoxin_answerrecord',
schema:{
garId: {
type:Sequelize.STRING(255), //表示属性的数据类型
allowNull:false, //表示当前列是否允许为空, false表示该列不能为空
primaryKey:true, //表示主键
unique:true //表示该列的值必须唯一
},
eId:{type:Sequelize.STRING(255), allowNull:false}, //关联企业id
answerTime:{type:Sequelize.DATE}, //答题时间
totalScore:{type:Sequelize.INTEGER}, //总分
answerStatus:{type:Sequelize.INTEGER}, //答题状态:0未完成 1已完成
// assetGrowth:{}, //净资产增长率
// revenueGrowth:{}, //销售收入增长率
},
association: [
{type:"hasMany", check:"gaoxin_answerdetail", foreignKey:"garId"},]
},
{
tableNameCn:'答题记录明细',
tableName:'gaoxin_answerdetail',
schema:{
gadId: {
type:Sequelize.STRING(255), //表示属性的数据类型
allowNull:false, //表示当前列是否允许为空, false表示该列不能为空
primaryKey:true, //表示主键
unique:true //表示该列的值必须唯一
},
garId:{type:Sequelize.STRING(255), allowNull:false}, //关联答题记录id
gaId:{type:Sequelize.STRING(255), allowNull:false}, //关联题目id
options:{type:Sequelize.STRING(255)}, //选择的选项ID数组 '["", ""]'、
questionScore:{type:Sequelize.INTEGER}, //本题得分
},
association: []
},
{
tableNameCn:'租房补贴企业自评',
tableName:'zufang_answer',
schema:{
zaId: {
type:Sequelize.STRING(255), //表示属性的数据类型
allowNull:false, //表示当前列是否允许为空, false表示该列不能为空
primaryKey:true, //表示主键
unique:true //表示该列的值必须唯一
},
answerType:{type:Sequelize.STRING(255)}, //题目分类 是否有研发费用、是否有缴纳社保、是否有软著等知识产权、是否认定科小或创新型中小企业
sort:{type:Sequelize.STRING(255)}, //题目排序
subject:{type:Sequelize.STRING(255)}, //题目
},
association: [
{type:"hasMany", check:"zufang_answerdetail", foreignKey:"zaId"},
]
},
{
tableNameCn:'租房补贴答题记录',
tableName:'zufang_answerrecord',
schema:{
zarId: {
type:Sequelize.STRING(255), //表示属性的数据类型
allowNull:false, //表示当前列是否允许为空, false表示该列不能为空
primaryKey:true, //表示主键
unique:true //表示该列的值必须唯一
},
eId:{type:Sequelize.STRING(255), allowNull:false}, //关联企业id
answerTime:{type:Sequelize.DATE}, //答题时间
totalScore:{type:Sequelize.INTEGER}, //是否符合
answerStatus:{type:Sequelize.INTEGER}, //答题状态:0未完成 1已完成
},
association: [
{type:"hasMany", check:"zufang_answerdetail", foreignKey:"zarId"},]
},
{
tableNameCn:'租房补贴答题记录明细',
tableName:'zufang_answerdetail',
schema:{
zadId: {
type:Sequelize.STRING(255), //表示属性的数据类型
allowNull:false, //表示当前列是否允许为空, false表示该列不能为空
primaryKey:true, //表示主键
unique:true //表示该列的值必须唯一
},
zarId:{type:Sequelize.STRING(255), allowNull:false}, //关联答题记录id
zaId:{type:Sequelize.STRING(255), allowNull:false}, //关联题目id
options:{type:Sequelize.INTEGER}, //选项(1表示是,0表示否) 【枚举】
},
association: []
},
{
tableNameCn:'企业基础信息表',
tableName:'enterprise',
......@@ -886,7 +1016,7 @@ export const TablesConfig = [
logonTime: {type:Sequelize.DATE}, //注册日期
mail: {type:Sequelize.STRING(255)}, //邮箱
isNaturalPersonHolding: {type:Sequelize.INTEGER}, //是否自然人控股企业(1表示是,0表示否) 【枚举】
industry: {type:Sequelize.STRING(255)}, //领域
industry: {type:Sequelize.STRING(255)}, //行业领域
moreMail: {type:Sequelize.STRING(255)}, //更多邮箱
// dianHua: {type:Sequelize.STRING(100)}, //电话
logonAddress: {type:Sequelize.STRING(255)}, //注册地址
......@@ -930,28 +1060,30 @@ export const TablesConfig = [
{type: "hasMany", check: "enterprise_patent", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_service", foreignKey:"eId"},
//新加
{type:"hasMany", check:"info_update", goreignKey:"eId"},
{type:"hasMany", check:"enterprise_label", goreignKey:"eId"},
{type:"hasMany", check:"ownership", goreignKey:"eId"},
{type:"hasMany", check:"enterprise_industry", goreignKey:"eId"},
{type:"hasMany", check:"employees", goreignKey:"eId"},
{type:"hasMany", check:"branches", goreignKey:"eId"},
{type:"hasMany", check:"license", goreignKey:"eId"},
{type:"hasMany", check:"enterprise_empty", goreignKey:"eId"},
{type:"hasMany", check:"enterprise_risk", goreignKey:"eId"},
{type:"hasMany", check:"enterprise_stem", goreignKey:"eId"},
{type:"hasMany", check:"certification", goreignKey:"eId"},
{type:"hasMany", check:"dishonesty", goreignKey:"eId"},
{type:"hasMany", check:"break_the_law", goreignKey:"eId"},
{type:"hasMany", check:"overseas_investment", goreignKey:"eId"},
{type:"hasMany", check:"approval_history", goreignKey:"eId"},
{type:"hasMany", check:"info_enter", goreignKey:"eId"},
{type:"hasMany", check:"info_operation_promotion", goreignKey:"eId"},
{type:"hasMany", check:"info_update", foreignKey:"eId"},
{type:"hasMany", check:"enterprise_label", foreignKey:"eId"},
{type:"hasMany", check:"ownership", foreignKey:"eId"},
{type:"hasMany", check:"enterprise_industry", foreignKey:"eId"},
{type:"hasMany", check:"employees", foreignKey:"eId"},
{type:"hasMany", check:"branches", foreignKey:"eId"},
{type:"hasMany", check:"license", foreignKey:"eId"},
{type:"hasMany", check:"enterprise_empty", foreignKey:"eId"},
{type:"hasMany", check:"enterprise_risk", foreignKey:"eId"},
{type:"hasMany", check:"enterprise_stem", foreignKey:"eId"},
{type:"hasMany", check:"certification", foreignKey:"eId"},
{type:"hasMany", check:"dishonesty", foreignKey:"eId"},
{type:"hasMany", check:"break_the_law", foreignKey:"eId"},
{type:"hasMany", check:"overseas_investment", foreignKey:"eId"},
{type:"hasMany", check:"approval_history", foreignKey:"eId"},
{type:"hasMany", check:"info_enter", foreignKey:"eId"},
{type:"hasMany", check:"info_operation_promotion", foreignKey:"eId"},
/**新增企查查表格 */
{type:"hasMany", check:"trade_mark", goreignKey:"eId"},
{type:"hasMany", check:"copy_right", goreignKey:"eId"},
{type:"hasMany", check:"software_copyright", goreignKey:"eId"},
{type:"hasMany", check:"patent", goreignKey:"eId"},
{type:"hasMany", check:"trade_mark", foreignKey:"eId"},
{type:"hasMany", check:"copy_right", foreignKey:"eId"},
{type:"hasMany", check:"software_copyright", foreignKey:"eId"},
{type:"hasMany", check:"patent", foreignKey:"eId"},
{type:"hasMany", check:"gaoxin_answerrecord", foreignKey:"eId"},
{type:"hasMany", check:"zufang_answerrecord", foreignKey:"eId"},
]
},
{
......
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