+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_travel_depot_staffs:/tablelist/okayapi_travel_depot_staffs.html


-- MySQL Table okayapi_travel_depot_staffs
-- From: OkayAPI.com
CREATE TABLE `okayapi_travel_depot_staffs` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `depot_id` int(8) NOT NULL DEFAULT '0' COMMENT '对应票的ID',
    `okayapi_travel_depot_staffs_name` varchar(100) NOT NULL COMMENT '职位',
    `title` varchar(100) NOT NULL COMMENT '',
    `card_no` varchar(100) NOT NULL COMMENT '工卡编号',
    `mobile` varchar(32) NOT NULL COMMENT '',
    `created` datetime NOT NULL COMMENT '',
    `access_mode` set('year','month','day','all','noset') NOT NULL DEFAULT 'noset' COMMENT '限制方式:不限,总使用次数,每天限制、每月限制、每年限制',
    `access_number` int(6) NOT NULL DEFAULT '0' COMMENT '限制的具体 次数',
    KEY `depot_id` (`depot_id`),
    KEY `okayapi_travel_depot_staffs_name` (`okayapi_travel_depot_staffs_name`),
    KEY `title` (`title`),
    KEY `card_no` (`card_no`),
    KEY `mobile` (`mobile`),
    KEY `created` (`created`),
    KEY `access_mode` (`access_mode`),
    KEY `access_number` (`access_number`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '旅游售票-员工';

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


MySQL database table structure design

Displaying 1-8 of 8 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
depot_idint(8)0对应票的ID0
okayapi_travel_depot_staffs_namevarchar(100)职位
titlevarchar(100)
card_novarchar(100)工卡编号
mobilevarchar(32)
createddatetime
access_modeset('year','month','day','all','noset')noset限制方式:不限,总使用次数,每天限制、每月限制、每年限制noset
access_numberint(6)0限制的具体 次数0

Guess You Like

MySQL Table Design okayapi_opentrip_travel_admin

MySQL Table Design okayapi_opentrip_travel_category

MySQL Table Design okayapi_opentrip_travel_order

MySQL Table Design okayapi_opentrip_travel_product

MySQL Table Design okayapi_opentrip_travel_shopcart

MySQL Table Design okayapi_opentrip_travel_user

MySQL Table Design okayapi_travel_agents

MySQL Table Design okayapi_travel_agent_users

MySQL Table Design okayapi_travel_categories

MySQL Table Design okayapi_travel_depots

MySQL Table Design okayapi_travel_depot_annuals

MySQL Table Design okayapi_travel_depot_logs

MySQL Table Design okayapi_travel_depot_vouchers

MySQL Table Design okayapi_travel_devices

MySQL Table Design okayapi_travel_exist_statistics

MySQL Table Design okayapi_travel_features

MySQL Table Design okayapi_travel_groups

MySQL Table Design okayapi_travel_orders

MySQL Table Design okayapi_travel_staff_exchanges

MySQL Table Design okayapi_travel_users

TOP ↑