+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_72crm_admin_message:/tablelist/okayapi_72crm_admin_message.html


-- MySQL Table okayapi_72crm_admin_message
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_admin_message` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `label` int(2) NULL COMMENT '消息大类 1 任务 2 日志 3 oa审批 4公告 5 日程 6 crm消息',
    `okayapi_72crm_admin_message_type` int(2) NULL COMMENT '消息类型 详见AdminMessageEnum',
    `type_id` int(11) NULL COMMENT '关联ID',
    `create_user` bigint(20) NULL COMMENT '消息创建者 0为系统',
    `recipient_user` bigint(20) NULL COMMENT '接收人',
    `create_time` datetime NULL COMMENT '创建时间',
    `is_read` int(1) NULL DEFAULT '0' COMMENT '是否已读 0 未读 1 已读',
    `read_time` datetime NULL COMMENT '已读时间',
    `message_id` bigint(20) NULL COMMENT '消息ID',
    `title` varchar(128) NULL COMMENT '消息标题',
    `content` varchar(500) NULL COMMENT '内容',
    KEY `label` (`label`),
    KEY `okayapi_72crm_admin_message_type` (`okayapi_72crm_admin_message_type`),
    KEY `type_id` (`type_id`),
    KEY `create_user` (`create_user`),
    KEY `recipient_user` (`recipient_user`),
    KEY `create_time` (`create_time`),
    KEY `is_read` (`is_read`),
    KEY `read_time` (`read_time`),
    KEY `message_id` (`message_id`),
    KEY `title` (`title`),
    KEY `content` (`content`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CRM-系统消息表';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-11 of 11 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
labelint(2)消息大类 1 任务 2 日志 3 oa审批 4公告 5 日程 6 crm消息
okayapi_72crm_admin_message_typeint(2)消息类型 详见AdminMessageEnum
type_idint(11)关联ID
create_userbigint(20)消息创建者 0为系统
recipient_userbigint(20)接收人
create_timedatetime创建时间
is_readint(1)0是否已读 0 未读 1 已读0
read_timedatetime已读时间
message_idbigint(20)消息ID
titlevarchar(128)消息标题
contentvarchar(500)内容

Guess You Like

MySQL Table Design okayapi_72crm_admin_config

MySQL Table Design okayapi_72crm_admin_dept

MySQL Table Design okayapi_72crm_admin_examine

MySQL Table Design okayapi_72crm_admin_examine_log

MySQL Table Design okayapi_72crm_admin_examine_record

MySQL Table Design okayapi_72crm_admin_examine_step

MySQL Table Design okayapi_72crm_admin_field_sort

MySQL Table Design okayapi_72crm_admin_fieldv

MySQL Table Design okayapi_72crm_admin_file

MySQL Table Design okayapi_72crm_admin_menu

MySQL Table Design okayapi_72crm_admin_record

MySQL Table Design okayapi_72crm_admin_role

MySQL Table Design okayapi_72crm_admin_role_menu

MySQL Table Design okayapi_72crm_admin_scene

MySQL Table Design okayapi_72crm_admin_scene_default

MySQL Table Design okayapi_72crm_admin_user

MySQL Table Design okayapi_72crm_admin_user_role

MySQL Table Design okayapi_72crm_crm_achievement

MySQL Table Design okayapi_72crm_crm_action_record

MySQL Table Design okayapi_72crm_crm_area

TOP ↑