Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yuyiDataServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
yuyiDataServer
Commits
6ff96973
Commit
6ff96973
authored
May 19, 2025
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
103624bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
82 additions
and
82 deletions
+82
-82
mysqlTableConfig.ts
src/config/mysqlTableConfig.ts
+82
-82
No files found.
src/config/mysqlTableConfig.ts
View file @
6ff96973
...
@@ -408,85 +408,6 @@ export const TablesConfig = [
...
@@ -408,85 +408,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=是
state
:{
type
:
Sequelize
.
INTEGER
},
//是否通过入孵审核 0=否 1=是
//临时填充信息用的验证码
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"
},
]
},
//新加表
//新加表
{
{
tableNameCn
:
'变更信息表'
,
tableNameCn
:
'变更信息表'
,
...
@@ -626,7 +547,7 @@ export const TablesConfig = [
...
@@ -626,7 +547,7 @@ export const TablesConfig = [
},
},
{
{
tableNameCn
:
'空壳扫描'
,
tableNameCn
:
'空壳扫描'
,
tableName
:
'empty'
,
tableName
:
'e
nterprise_e
mpty'
,
schema
:{
schema
:{
emptyId
:
{
emptyId
:
{
type
:
Sequelize
.
STRING
(
255
),
//表示属性的数据类型
type
:
Sequelize
.
STRING
(
255
),
//表示属性的数据类型
...
@@ -771,6 +692,85 @@ export const TablesConfig = [
...
@@ -771,6 +692,85 @@ 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=是
state
:{
type
:
Sequelize
.
INTEGER
},
//是否通过入孵审核 0=否 1=是
//临时填充信息用的验证码
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"
},
]
},
// {
// {
// tableNameCn:'招投标信息',// todo
// tableNameCn:'招投标信息',// todo
// tableName:'tendering ',
// tableName:'tendering ',
...
@@ -805,4 +805,5 @@ export const TablesConfig = [
...
@@ -805,4 +805,5 @@ export const TablesConfig = [
association
:
[]
association
:
[]
},
},
];
];
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment