DT 的数据字典
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

306 lines
7.8 KiB

1 year ago
/*=========================================================================*/
/* 此 SQL DDL 脚本由 SpDevelop 生成。 */
/* 所用驱动程序:MySql 5.0 驱动程序。 */
/* 创建时间:2022/6/7 12:07:22。 */
/*=========================================================================*/
/*==========================================================================*/
/* Tables */
/*==========================================================================*/
/*创建新表 MyMessage [消息表]:
* Id []:
* FromUserId []:
* ToUserId []:t_org 001
001001 001002
* Mleve []:0DEBUGINFOWARNERRORFATALOFF
* MessageRemark []:
* Remark []:
* LineNum [线]:
* CreateDate []:
* NeedRec []:
* IsRec []:
* RecDate []:
*/
CREATE TABLE MyMessage(
Id INTEGER auto_increment NOT NULL,
FromUserId varchar(50) binary NULL,
ToUserId varchar(50) binary NULL,
Mleve INTEGER NULL,
MessageRemark varchar(250) binary NULL,
Remark varchar(50) binary NULL,
LineNum varchar(50) binary NULL,
CreateDate datetime NULL,
NeedRec INTEGER NULL,
IsRec INTEGER NULL,
RecDate varchar(30) binary NULL,
PRIMARY KEY (Id)
)
;
/*创建新表 EASLicence [许可证]:
* Id []:
* ProNo []:
* PublicKey []:
* PrivateKey []:
* EncryString []:
*/
CREATE TABLE EASLicence(
Id INTEGER auto_increment NOT NULL,
ProNo varchar(50) binary NULL,
PublicKey varchar(250) binary NULL,
PrivateKey varchar(250) binary NULL,
EncryString text NULL,
PRIMARY KEY (Id)
)
;
/*创建新表 EASLicenceSub [许可证]:
* Id []:
* ProNo []:
* PrivateKey []:
* EncryString []:
* EndDate []:
* Days []:
* NetCartNo []:
* IsSend []:
*/
CREATE TABLE EASLicenceSub(
Id INTEGER auto_increment NOT NULL,
ProNo varchar(50) binary NULL,
PrivateKey varchar(250) binary NULL,
EncryString text NULL,
EndDate varchar(20) binary NULL,
Days INTEGER NULL,
NetCartNo varchar(50) binary NULL,
IsSend INTEGER NULL,
PRIMARY KEY (Id)
)
;
/*创建新表 TSType1 [边防态势一级分类]:不需要程序编辑、只初始化
* id []:
* UID []:
* TypeName []:
* Remark []:
*/
CREATE TABLE TSType1(
id INTEGER auto_increment NOT NULL,
UID varchar(50) binary NULL,
TypeName varchar(50) binary NULL,
Remark varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 TSType2 [边防态势二级分类]:不需要程序编辑、只初始化
* id []:
* UID []:
* TypeName []:
* Remark []:
* NEType []:0
1
* ShowType []:0
1
2
* ShowColor []:
*/
CREATE TABLE TSType2(
id INTEGER auto_increment NOT NULL,
UID varchar(50) binary NULL,
TypeName varchar(50) binary NULL,
Remark varchar(50) binary NULL,
NEType INTEGER NULL,
ShowType INTEGER NULL,
ShowColor varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 TSRecord [态势表]:
* id []:
* UID []:
* TSType1UID [1]:
* TSType2UID [2]:
* TSName []:
*/
CREATE TABLE TSRecord(
id INTEGER auto_increment NOT NULL,
UID varchar(50) binary NULL,
TSType1UID varchar(50) binary NULL,
TSType2UID varchar(50) binary NULL,
TSName varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 message_exchange [文电交互]:
* id []:
* uuid [UUID]:
* code []:
* title []:
* message_type []:
* send_org []:
* send_userid []:
* send_date []:
* rec_org []:
* rec_userid []:
* isrec []:
* rec_date []:
* rec_reply []:
* h5message []:
* isencrypt []:
* password []:
*/
CREATE TABLE message_exchange(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
code varchar(50) binary NULL,
title varchar(50) binary NULL,
message_type varchar(50) binary NULL,
send_org varchar(50) binary NULL,
send_userid varchar(50) binary NULL,
send_date datetime NULL,
rec_org varchar(50) binary NULL,
rec_userid varchar(50) binary NULL,
isrec INTEGER NULL,
rec_date datetime NULL,
rec_reply text NULL,
h5message text NULL,
isencrypt INTEGER NULL,
password varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 message_attachment [电文附件]:
* id []:
* uuid [UUID]:
* puuid []:
* file_name []:
* file_url []:
* isencrypt []:
* password []:
*/
CREATE TABLE message_attachment(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
puuid varchar(50) binary NULL,
file_name varchar(50) binary NULL,
file_url varchar(50) binary NULL,
isencrypt INTEGER NULL,
password varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 system [制度规定]:
* id []:
* uuid [UUID]:
* puuid []:
* code []:
* title []:
* h5message []:
* remark []:
*/
CREATE TABLE system(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
puuid varchar(50) binary NULL,
code varchar(50) binary NULL,
title varchar(50) binary NULL,
h5message text NULL,
remark varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 system_attachment [规定制度附件]:
* id []:
* uuid [UUID]:
* file_name []:
* file_url []:
*/
CREATE TABLE system_attachment(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
file_name varchar(50) binary NULL,
file_url varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 system_type [制度规定分类]:
* id []:
* uuid [UUID]:
* type_name []:
* remark []:
*/
CREATE TABLE system_type(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
type_name varchar(50) binary NULL,
remark varchar(150) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 system_type190 [制度规定分类]:
* id []:
* uuid [UUID]:
* type_name []:
* remark []:
*/
CREATE TABLE system_type190(
id INTEGER auto_increment NOT NULL,
uuid varchar(0) binary NULL,
type_name varchar(0) binary NULL,
remark varchar(0) binary NULL,
PRIMARY KEY (id)
)
;
/*创建新表 read_log [制度规定阅读记录]:
* id []:
* uuid [UUID]:
* puuid []:
* userid [id]:
*/
CREATE TABLE read_log(
id INTEGER auto_increment NOT NULL,
uuid varchar(50) binary NULL,
puuid varchar(50) binary NULL,
userid varchar(50) binary NULL,
PRIMARY KEY (id)
)
;
/*==========================================================================*/
/* Foreign Keys */
/*==========================================================================*/
/*==========================================================================*/
/* Indexes */
/*==========================================================================*/
/*==========================================================================*/
/* Sequences */
/*==========================================================================*/
/*==========================================================================*/
/* Views */
/*==========================================================================*/
/*==========================================================================*/
/* Triggers */
/*==========================================================================*/