+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_opentrip_travel_product:/tablelist/okayapi_opentrip_travel_product.html


-- MySQL Table okayapi_opentrip_travel_product
-- From: OkayAPI.com
CREATE TABLE `okayapi_opentrip_travel_product` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `plan1_name` varchar(45) NULL COMMENT '',
    `plan1_price` int(11) NULL COMMENT '',
    `plan2_name` varchar(45) NULL COMMENT '',
    `plan2_price` int(11) NULL COMMENT '',
    `plan3_name` varchar(45) NULL COMMENT '',
    `plan3_price` int(11) NULL COMMENT '',
    `plan4_name` varchar(45) NULL COMMENT '',
    `plan4_price` int(11) NULL COMMENT '',
    `plan5_name` varchar(45) NULL COMMENT '',
    `plan5_price` int(11) NULL COMMENT '',
    `plan6_name` varchar(45) NULL COMMENT '',
    `plan6_price` int(11) NULL COMMENT '',
    `info_fee` int(11) NULL DEFAULT '0' COMMENT '信息费%',
    `discount` int(11) NULL DEFAULT '0' COMMENT '优惠额%',
    `category_id` int(10) NULL COMMENT '所属分类ID',
    `admin_id` int(10) NULL DEFAULT '1' COMMENT '管理员id',
    `sn` varchar(25) NULL COMMENT '商品编号',
    `okayapi_opentrip_travel_product_name` varchar(40) NULL COMMENT '商品名',
    `price` int(11) NULL COMMENT '价格',
    `stock` int(10) NULL COMMENT '库存量',
    `thumb` varchar(150) NULL COMMENT '预览图',
    `pic1` varchar(150) NULL COMMENT '',
    `pic2` varchar(150) NULL COMMENT '',
    `pic3` varchar(150) NULL COMMENT '',
    `pic4` varchar(150) NULL COMMENT '',
    `pic5` varchar(150) NULL COMMENT '',
    `on_sale` enum('yes','no') NULL DEFAULT 'no' COMMENT '是否上架',
    `recommend` enum('yes','no') NULL DEFAULT 'no' COMMENT '是否推荐',
    `okayapi_opentrip_travel_product_desc` text NULL COMMENT '产品详情',
    `travel_ref` text NULL COMMENT '行程参考',
    `cost_desc` text NULL COMMENT '费用说明',
    `reserve_notice` text NULL COMMENT '预定须知',
    `okayapi_opentrip_travel_product_restrict` text NULL COMMENT '改退规定',
    `info` text NULL COMMENT '问题咨询',
    `recycle` enum('yes','no') NULL DEFAULT 'no' COMMENT '是否删除',
    `highlight1` varchar(45) NULL COMMENT '亮点',
    `highlight2` varchar(45) NULL COMMENT '',
    `highlight3` varchar(45) NULL COMMENT '',
    `confirm` enum('yes','no') NULL DEFAULT 'yes' COMMENT '二次确认',
    `okayapi_opentrip_travel_product_language` varchar(45) NULL COMMENT '服务语言',
    `continent` varchar(45) NULL COMMENT '洲',
    `country` varchar(45) NULL COMMENT '',
    `city` varchar(45) NULL COMMENT '',
    `okayapi_opentrip_travel_product_start` varchar(45) NULL COMMENT '出发地',
    `path` varchar(45) NULL COMMENT '途径',
    `okayapi_opentrip_travel_product_end` varchar(45) NULL COMMENT '目的地',
    `detail_property` varchar(45) NULL COMMENT '细分属性',
    `market_price` varchar(45) NULL COMMENT '市场价,门市价',
    `child_price` varchar(45) NULL COMMENT '',
    `deposit` varchar(45) NULL COMMENT '定金',
    `promotion` varchar(45) NULL COMMENT '促销活动',
    `start_time` varchar(45) NULL COMMENT '出游日期',
    `people` varchar(45) NULL COMMENT '出游人群',
    `days` varchar(45) NULL COMMENT '行程天数',
    `place_of_issue` varchar(45) NULL COMMENT '签发地(签证专用)',
    `visa_type` varchar(45) NULL COMMENT '签证类型',
    `sent_visa_place` varchar(45) NULL COMMENT '送签地',
    `ship_depart_city` varchar(45) NULL COMMENT '邮轮出发城市',
    `ship_route` varchar(45) NULL COMMENT '邮轮航线',
    `ship_company` varchar(45) NULL COMMENT '邮轮公司',
    `ship_name` varchar(45) NULL COMMENT '船名',
    `ship_depart_time` varchar(45) NULL COMMENT '邮轮出发日期',
    KEY `plan1_name` (`plan1_name`),
    KEY `plan1_price` (`plan1_price`),
    KEY `plan2_name` (`plan2_name`),
    KEY `plan2_price` (`plan2_price`),
    KEY `plan3_name` (`plan3_name`),
    KEY `plan3_price` (`plan3_price`),
    KEY `plan4_name` (`plan4_name`),
    KEY `plan4_price` (`plan4_price`),
    KEY `plan5_name` (`plan5_name`),
    KEY `plan5_price` (`plan5_price`),
    KEY `plan6_name` (`plan6_name`),
    KEY `plan6_price` (`plan6_price`),
    KEY `info_fee` (`info_fee`),
    KEY `discount` (`discount`),
    KEY `category_id` (`category_id`),
    KEY `admin_id` (`admin_id`),
    KEY `sn` (`sn`),
    KEY `okayapi_opentrip_travel_product_name` (`okayapi_opentrip_travel_product_name`),
    KEY `price` (`price`),
    KEY `stock` (`stock`),
    KEY `thumb` (`thumb`),
    KEY `pic1` (`pic1`),
    KEY `pic2` (`pic2`),
    KEY `pic3` (`pic3`),
    KEY `pic4` (`pic4`),
    KEY `pic5` (`pic5`),
    KEY `on_sale` (`on_sale`),
    KEY `recommend` (`recommend`),
    KEY `okayapi_opentrip_travel_product_desc` (`okayapi_opentrip_travel_product_desc`),
    KEY `travel_ref` (`travel_ref`),
    KEY `cost_desc` (`cost_desc`),
    KEY `reserve_notice` (`reserve_notice`),
    KEY `okayapi_opentrip_travel_product_restrict` (`okayapi_opentrip_travel_product_restrict`),
    KEY `info` (`info`),
    KEY `recycle` (`recycle`),
    KEY `highlight1` (`highlight1`),
    KEY `highlight2` (`highlight2`),
    KEY `highlight3` (`highlight3`),
    KEY `confirm` (`confirm`),
    KEY `okayapi_opentrip_travel_product_language` (`okayapi_opentrip_travel_product_language`),
    KEY `continent` (`continent`),
    KEY `country` (`country`),
    KEY `city` (`city`),
    KEY `okayapi_opentrip_travel_product_start` (`okayapi_opentrip_travel_product_start`),
    KEY `path` (`path`),
    KEY `okayapi_opentrip_travel_product_end` (`okayapi_opentrip_travel_product_end`),
    KEY `detail_property` (`detail_property`),
    KEY `market_price` (`market_price`),
    KEY `child_price` (`child_price`),
    KEY `deposit` (`deposit`),
    KEY `promotion` (`promotion`),
    KEY `start_time` (`start_time`),
    KEY `people` (`people`),
    KEY `days` (`days`),
    KEY `place_of_issue` (`place_of_issue`),
    KEY `visa_type` (`visa_type`),
    KEY `sent_visa_place` (`sent_visa_place`),
    KEY `ship_depart_city` (`ship_depart_city`),
    KEY `ship_route` (`ship_route`),
    KEY `ship_company` (`ship_company`),
    KEY `ship_name` (`ship_name`),
    KEY `ship_depart_time` (`ship_depart_time`),
    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-62 of 62 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
plan1_namevarchar(45)
plan1_priceint(11)
plan2_namevarchar(45)
plan2_priceint(11)
plan3_namevarchar(45)
plan3_priceint(11)
plan4_namevarchar(45)
plan4_priceint(11)
plan5_namevarchar(45)
plan5_priceint(11)
plan6_namevarchar(45)
plan6_priceint(11)
info_feeint(11)0信息费%0
discountint(11)0优惠额%0
category_idint(10)所属分类ID
admin_idint(10)1管理员id1
snvarchar(25)商品编号
okayapi_opentrip_travel_product_namevarchar(40)商品名
priceint(11)价格
stockint(10)库存量
thumbvarchar(150)预览图
pic1varchar(150)
pic2varchar(150)
pic3varchar(150)
pic4varchar(150)
pic5varchar(150)
on_saleenum('yes','no')no是否上架no
recommendenum('yes','no')no是否推荐no
okayapi_opentrip_travel_product_desctext产品详情
travel_reftext行程参考
cost_desctext费用说明
reserve_noticetext预定须知
okayapi_opentrip_travel_product_restricttext改退规定
infotext问题咨询
recycleenum('yes','no')no是否删除no
highlight1varchar(45)亮点
highlight2varchar(45)
highlight3varchar(45)
confirmenum('yes','no')yes二次确认yes
okayapi_opentrip_travel_product_languagevarchar(45)服务语言
continentvarchar(45)
countryvarchar(45)
cityvarchar(45)
okayapi_opentrip_travel_product_startvarchar(45)出发地
pathvarchar(45)途径
okayapi_opentrip_travel_product_endvarchar(45)目的地
detail_propertyvarchar(45)细分属性
market_pricevarchar(45)市场价,门市价
child_pricevarchar(45)
depositvarchar(45)定金
promotionvarchar(45)促销活动
start_timevarchar(45)出游日期
peoplevarchar(45)出游人群
daysvarchar(45)行程天数
place_of_issuevarchar(45)签发地(签证专用)
visa_typevarchar(45)签证类型
sent_visa_placevarchar(45)送签地
ship_depart_cityvarchar(45)邮轮出发城市
ship_routevarchar(45)邮轮航线
ship_companyvarchar(45)邮轮公司
ship_namevarchar(45)船名
ship_depart_timevarchar(45)邮轮出发日期

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_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

MySQL Table Design okayapi_travel_users

TOP ↑