Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yafangsuo_dataServer
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
yafangsuo_dataServer
Commits
fcefeeaa
Commit
fcefeeaa
authored
Aug 28, 2023
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
73a52edf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mysqlTableConfig.ts
src/config/mysqlTableConfig.ts
+4
-4
No files found.
src/config/mysqlTableConfig.ts
View file @
fcefeeaa
...
@@ -52,9 +52,9 @@ export const TablesConfig = [
...
@@ -52,9 +52,9 @@ export const TablesConfig = [
levelOfEducation
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//文化程度
levelOfEducation
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//文化程度
bId
:
{
type
:
Sequelize
.
INTEGER
(
20
),
allowNull
:
false
},
//支部表id 外键
bId
:
{
type
:
Sequelize
.
INTEGER
(
20
),
allowNull
:
false
},
//支部表id 外键
partyJoiningTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//入党时间 --正式党员录入
partyJoiningTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//入党时间 --正式党员录入
a
pId
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
1
},
//行政职务表id
枚举 默认1:普通职员
a
dministrativePositionName
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
1
},
//行政职务id
枚举 默认1:普通职员
p
pId
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
,
defaultValue
:
'[]'
},
//党内职务表id
枚举 --正式党员录入 [1,2] --多选
p
artyPositionsName
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
,
defaultValue
:
'[]'
},
//党内职务id
枚举 --正式党员录入 [1,2] --多选
d
Id
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
,
defaultValue
:
'[]'
},
//所属科室表id
枚举 [1,2] --多选
d
epartmentName
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
,
defaultValue
:
'[]'
},
//所属科室表id
枚举 [1,2] --多选
askForTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//申请入党时间 --入党积极分子录入、入党申请录入
askForTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//申请入党时间 --入党积极分子录入、入党申请录入
listedAsActivistsTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//列为积极分子时间 --入党积极分子录入
listedAsActivistsTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//列为积极分子时间 --入党积极分子录入
liaison
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
,
defaultValue
:
'[]'
},
//联系人 --入党积极分子录入 ["",""] --多选
liaison
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
,
defaultValue
:
'[]'
},
//联系人 --入党积极分子录入 ["",""] --多选
...
@@ -222,7 +222,7 @@ export const TablesConfig = [
...
@@ -222,7 +222,7 @@ export const TablesConfig = [
unique
:
true
//表示该列的值必须唯一
unique
:
true
//表示该列的值必须唯一
},
},
contentTitle
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//内容标题
contentTitle
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//内容标题
c
tId
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//课程类型表id
枚举
c
ourseTypeName
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//课程类型id
枚举
courseEntryType
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//课程录入类型 1:视频课程、2:文字课程
courseEntryType
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//课程录入类型 1:视频课程、2:文字课程
hits
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//点击量
hits
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//点击量
isUse
:
{
type
:
Sequelize
.
BOOLEAN
,
allowNull
:
false
,
defaultValue
:
true
},
//是否使用
isUse
:
{
type
:
Sequelize
.
BOOLEAN
,
allowNull
:
false
,
defaultValue
:
true
},
//是否使用
...
...
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