Commit b85e65a4 by Zllgogo

no message

parent 21a2962c
...@@ -428,88 +428,6 @@ export const TablesConfig = [ ...@@ -428,88 +428,6 @@ export const TablesConfig = [
}, },
association:[] association:[]
}, },
{
tableNameCn:'企业基础信息表',
tableName:'enterprise',
schema:{
eId:{
type:Sequelize.STRING(255), //表示属性的数据类型
allowNull:false, //表示当前列是否允许为空, false表示该列不能为空
primaryKey:true, //表示主键
unique:true //表示该列的值必须唯一
},
enterpriseName: {type:Sequelize.STRING(255), allowNull:false}, //企业名称
uscc: {type:Sequelize.STRING(18), allowNull:false}, //统一信用代码
zhuCeHao:{type:Sequelize.STRING(100)},//注册号
zuZhiJiGouDaiMa: {type:Sequelize.STRING(18)}, //组织机构代码
gengDuoDianHua: {type:Sequelize.STRING(255)}, //更多电话
mainBusiness: {type:Sequelize.TEXT}, //主营业务
logonTime: {type:Sequelize.DATE}, //注册日期
mail: {type:Sequelize.STRING(255)}, //邮箱
isNaturalPersonHolding: {type:Sequelize.INTEGER}, //是否自然人控股企业(1表示是,0表示否) 【枚举】
industry: {type:Sequelize.STRING(255)}, //领域
moreMail: {type:Sequelize.STRING(255)}, //更多邮箱
// dianHua: {type:Sequelize.STRING(100)}, //电话
logonAddress: {type:Sequelize.STRING(255)}, //注册地址
tongXinDiZhi: {type:Sequelize.STRING(255)}, //通信地址
liaison: {type:Sequelize.STRING(50)}, //联系人
liaisonPhone: {type:Sequelize.STRING(255)}, //联系电话
dengJiJiGuan: {type:Sequelize.STRING(255)}, //登记机关
qiYeGuiMo: {type:Sequelize.STRING(50)}, //企业规模
RAS: {type:Sequelize.STRING(50)}, //登记状态
guanWang: {type:Sequelize.STRING(255)}, //官网地址
yingYeQiXian: {type:Sequelize.STRING(50)}, //营业期限
logOffMS: {type:Sequelize.DATE}, //注销时间
shijiaoziben: {type:Sequelize.STRING(255)}, //实缴资本
enterpriseType: {type:Sequelize.STRING(50)}, //企业机构类型
jianJie: {type:Sequelize.TEXT}, //简介
zhuceziben: {type:Sequelize.STRING(255)}, //注册资本
naShuiRenZiZhi: {type:Sequelize.STRING(50)}, //纳税人资质
operatingAddress: {type:Sequelize.STRING(255)}, //经营地址
oldLogonAddress: {type:Sequelize.STRING(255)},//迁入前注册地址
shuiHao:{type:Sequelize.STRING(255)},//税号
shuiWuJu:{type:Sequelize.STRING(255)},//税务局
jingYingFanWei:{type:Sequelize.TEXT},//经营范围
//状态标识
register:{type:Sequelize.INTEGER},//入孵申请状态 0=否 1=是 2=驳回
state:{type:Sequelize.INTEGER},//入孵材料审核状态 0=否 1=是 2=驳回
//临时填充信息用的验证码
randomCode:{type:Sequelize.STRING(255)}
},
association: [
{type: "hasMany", check: "enterprise_fuhua", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_lease", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_user", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_financing", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_honor", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_manage", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_qualification", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_canbao", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_team", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_ipr", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_legal_person", foreignKey:"eId"},
{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:"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"},
]
},
//孵化器入驻信息表 //孵化器入驻信息表
{ {
tableNameCn: '入驻信息表', tableNameCn: '入驻信息表',
...@@ -848,6 +766,88 @@ export const TablesConfig = [ ...@@ -848,6 +766,88 @@ export const TablesConfig = [
// association: [] // association: []
// }, // },
{ {
tableNameCn:'企业基础信息表',
tableName:'enterprise',
schema:{
eId:{
type:Sequelize.STRING(255), //表示属性的数据类型
allowNull:false, //表示当前列是否允许为空, false表示该列不能为空
primaryKey:true, //表示主键
unique:true //表示该列的值必须唯一
},
enterpriseName: {type:Sequelize.STRING(255), allowNull:false}, //企业名称
uscc: {type:Sequelize.STRING(18), allowNull:false}, //统一信用代码
zhuCeHao:{type:Sequelize.STRING(100)},//注册号
zuZhiJiGouDaiMa: {type:Sequelize.STRING(18)}, //组织机构代码
gengDuoDianHua: {type:Sequelize.STRING(255)}, //更多电话
mainBusiness: {type:Sequelize.TEXT}, //主营业务
logonTime: {type:Sequelize.DATE}, //注册日期
mail: {type:Sequelize.STRING(255)}, //邮箱
isNaturalPersonHolding: {type:Sequelize.INTEGER}, //是否自然人控股企业(1表示是,0表示否) 【枚举】
industry: {type:Sequelize.STRING(255)}, //领域
moreMail: {type:Sequelize.STRING(255)}, //更多邮箱
// dianHua: {type:Sequelize.STRING(100)}, //电话
logonAddress: {type:Sequelize.STRING(255)}, //注册地址
tongXinDiZhi: {type:Sequelize.STRING(255)}, //通信地址
liaison: {type:Sequelize.STRING(50)}, //联系人
liaisonPhone: {type:Sequelize.STRING(255)}, //联系电话
dengJiJiGuan: {type:Sequelize.STRING(255)}, //登记机关
qiYeGuiMo: {type:Sequelize.STRING(50)}, //企业规模
RAS: {type:Sequelize.STRING(50)}, //登记状态
guanWang: {type:Sequelize.STRING(255)}, //官网地址
yingYeQiXian: {type:Sequelize.STRING(50)}, //营业期限
logOffMS: {type:Sequelize.DATE}, //注销时间
shijiaoziben: {type:Sequelize.STRING(255)}, //实缴资本
enterpriseType: {type:Sequelize.STRING(50)}, //企业机构类型
jianJie: {type:Sequelize.TEXT}, //简介
zhuceziben: {type:Sequelize.STRING(255)}, //注册资本
naShuiRenZiZhi: {type:Sequelize.STRING(50)}, //纳税人资质
operatingAddress: {type:Sequelize.STRING(255)}, //经营地址
oldLogonAddress: {type:Sequelize.STRING(255)},//迁入前注册地址
shuiHao:{type:Sequelize.STRING(255)},//税号
shuiWuJu:{type:Sequelize.STRING(255)},//税务局
jingYingFanWei:{type:Sequelize.TEXT},//经营范围
//状态标识
register:{type:Sequelize.INTEGER},//入孵申请状态 0=否 1=是 2=驳回
state:{type:Sequelize.INTEGER},//入孵材料审核状态 0=否 1=是 2=驳回
//临时填充信息用的验证码
randomCode:{type:Sequelize.STRING(255)}
},
association: [
{type: "hasMany", check: "enterprise_fuhua", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_lease", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_user", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_financing", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_honor", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_manage", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_qualification", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_canbao", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_team", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_ipr", foreignKey:"eId"},
{type: "hasMany", check: "enterprise_legal_person", foreignKey:"eId"},
{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:"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"},
]
},
{
tableNameCn:'管理后台用户', tableNameCn:'管理后台用户',
tableName:'adminUser', tableName:'adminUser',
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