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
21a2962c
Commit
21a2962c
authored
May 12, 2025
by
Zllgogo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6ca97a11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
mysqlTableConfig.ts
src/config/mysqlTableConfig.ts
+41
-0
No files found.
src/config/mysqlTableConfig.ts
View file @
21a2962c
...
@@ -26,6 +26,7 @@ export const TablesConfig = [
...
@@ -26,6 +26,7 @@ export const TablesConfig = [
synopsis
:
{
type
:
Sequelize
.
STRING
(
255
)},
//简介
synopsis
:
{
type
:
Sequelize
.
STRING
(
255
)},
//简介
totalArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//总面积
totalArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//总面积
zaifuArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//在孵面积
zaifuArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//在孵面积
rentRate
:
{
type
:
Sequelize
.
STRING
(
255
)},
//后台填报-出租率
ziyonArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//自用面积
ziyonArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//自用面积
parkArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//新增园区面积
parkArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//新增园区面积
enterpriseNum
:
{
type
:
Sequelize
.
INTEGER
},
//新增企业数量
enterpriseNum
:
{
type
:
Sequelize
.
INTEGER
},
//新增企业数量
...
@@ -505,8 +506,48 @@ export const TablesConfig = [
...
@@ -505,8 +506,48 @@ export const TablesConfig = [
{
type
:
"hasMany"
,
check
:
"break_the_law"
,
goreignKey
:
"eId"
},
{
type
:
"hasMany"
,
check
:
"break_the_law"
,
goreignKey
:
"eId"
},
{
type
:
"hasMany"
,
check
:
"overseas_investment"
,
goreignKey
:
"eId"
},
{
type
:
"hasMany"
,
check
:
"overseas_investment"
,
goreignKey
:
"eId"
},
{
type
:
"hasMany"
,
check
:
"approval_history"
,
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
:
'入驻信息表'
,
tableName
:
'info_enter'
,
schema
:
{
info_enterId
:
{
type
:
Sequelize
.
STRING
(
255
),
//表示属性的数据类型
allowNull
:
false
,
//表示当前列是否允许为空, false表示该列不能为空
primaryKey
:
true
,
//表示主键
unique
:
true
//表示该列的值必须唯一
},
building
:
{
type
:
Sequelize
.
STRING
(
255
)},
//楼号(1,3,4)
occupancyRate
:
{
type
:
Sequelize
.
STRING
(
255
)},
//入驻率
enteredEnterprises
:
{
type
:
Sequelize
.
STRING
(
255
)},
//入驻企业
},
association
:
[]
},
//运营推广信息表
{
tableNameCn
:
'运营推广信息表'
,
tableName
:
'info_operation_promotion'
,
schema
:
{
opId
:
{
type
:
Sequelize
.
STRING
(
255
),
//表示属性的数据类型
allowNull
:
false
,
//表示当前列是否允许为空, false表示该列不能为空
primaryKey
:
true
,
//表示主键
unique
:
true
//表示该列的值必须唯一
},
onlinePromotion
:{
type
:
Sequelize
.
STRING
(
255
)},
//线上推广
tiktok
:{
type
:
Sequelize
.
STRING
(
255
)},
//抖音
theLittleRedBook
:{
type
:
Sequelize
.
STRING
(
255
)},
//小红书
videoNumber
:{
type
:
Sequelize
.
STRING
(
255
)},
//视频号
offlinePromotion
:{
type
:
Sequelize
.
STRING
(
255
)},
//线下推广
eventPromotion
:{
type
:
Sequelize
.
STRING
(
255
)},
//活动宣讲
tripartiteInstitutionalCooperation
:{
type
:
Sequelize
.
STRING
(
255
)},
//三方机构合作
},
association
:
[]
},
//新加表
//新加表
{
{
tableNameCn
:
'变更信息表'
,
tableNameCn
:
'变更信息表'
,
...
...
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