+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_lvyou_jee_cash_coupon:/tablelist/okayapi_lvyou_jee_cash_coupon.html


-- MySQL Table okayapi_lvyou_jee_cash_coupon
-- From: OkayAPI.com
CREATE TABLE `okayapi_lvyou_jee_cash_coupon` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `serial_num` varchar(32) NOT NULL COMMENT '代金券序列号',
    `coupon_value` int(11) NOT NULL DEFAULT '0' COMMENT '代金券额',
    `creator_id` int(11) NOT NULL COMMENT '代金券创建者',
    `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '代金券创建时间',
    `expire_time` int(11) NOT NULL DEFAULT '0' COMMENT '代金券过期时间',
    `use_userid` int(11) NOT NULL COMMENT '使用者',
    `use_time` int(11) NOT NULL COMMENT '代金券使用时间',
    `okayapi_lvyou_jee_cash_coupon_status` smallint(2) NOT NULL DEFAULT '0' COMMENT '代金券使用状态',
    KEY `serial_num` (`serial_num`),
    KEY `coupon_value` (`coupon_value`),
    KEY `creator_id` (`creator_id`),
    KEY `create_time` (`create_time`),
    KEY `expire_time` (`expire_time`),
    KEY `use_userid` (`use_userid`),
    KEY `use_time` (`use_time`),
    KEY `okayapi_lvyou_jee_cash_coupon_status` (`okayapi_lvyou_jee_cash_coupon_status`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'lvyou旅游-代金券表';

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
serial_numvarchar(32)代金券序列号Unique Index
coupon_valueint(11)0代金券额0
creator_idint(11)代金券创建者
create_timeint(11)0代金券创建时间0
expire_timeint(11)0代金券过期时间0
use_useridint(11)使用者
use_timeint(11)代金券使用时间
okayapi_lvyou_jee_cash_coupon_statussmallint(2)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_staffs

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

TOP ↑