+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_72crm_crm_leads:/tablelist/okayapi_72crm_crm_leads.html


-- MySQL Table okayapi_72crm_crm_leads
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_crm_leads` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `leads_id` int(11) NULL COMMENT '',
    `is_transform` int(1) NULL DEFAULT '0' COMMENT '1已转化 0 未转化',
    `followup` int(11) NULL COMMENT '跟进状态 0未跟进1已跟进',
    `leads_name` varchar(255) NULL COMMENT '线索名称',
    `customer_id` int(11) NULL COMMENT '客户id',
    `next_time` datetime NULL COMMENT '下次联系时间',
    `telephone` varchar(20) NULL COMMENT '电话',
    `mobile` varchar(50) NULL COMMENT '手机号',
    `address` varchar(500) NULL COMMENT '地址',
    `remark` varchar(50) NULL COMMENT '备注',
    `create_user_id` bigint(20) NULL COMMENT '创建人ID',
    `owner_user_id` bigint(20) NULL COMMENT '负责人ID',
    `create_time` datetime NULL COMMENT '创建时间',
    `batch_id` varchar(32) NULL COMMENT '批次 比如附件批次',
    `last_content` varchar(1024) NULL COMMENT '',
    KEY `leads_id` (`leads_id`),
    KEY `is_transform` (`is_transform`),
    KEY `followup` (`followup`),
    KEY `leads_name` (`leads_name`),
    KEY `customer_id` (`customer_id`),
    KEY `next_time` (`next_time`),
    KEY `telephone` (`telephone`),
    KEY `mobile` (`mobile`),
    KEY `address` (`address`),
    KEY `remark` (`remark`),
    KEY `create_user_id` (`create_user_id`),
    KEY `owner_user_id` (`owner_user_id`),
    KEY `create_time` (`create_time`),
    KEY `batch_id` (`batch_id`),
    KEY `last_content` (`last_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-15 of 15 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
leads_idint(11)
is_transformint(1)01已转化 0 未转化0
followupint(11)跟进状态 0未跟进1已跟进
leads_namevarchar(255)线索名称
customer_idint(11)客户id
next_timedatetime下次联系时间
telephonevarchar(20)电话
mobilevarchar(50)手机号
addressvarchar(500)地址
remarkvarchar(50)备注
create_user_idbigint(20)创建人ID
owner_user_idbigint(20)负责人ID
create_timedatetime创建时间
batch_idvarchar(32)批次 比如附件批次
last_contentvarchar(1024)

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_message

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

TOP ↑