LD酒店租房管理-穿梭巴士 - MySQL数据库表结构设计

yesapi_landi_shuttle_bus
字段数:42 分类:酒店租房 使用次数:0

LD酒店租房管理-穿梭巴士 是一个MySQL数据库表,表名为 yesapi_landi_shuttle_bus, 共包含 42 个字段。 所属分类:酒店租房。 该表提供了完整的字段定义、类型说明、默认值、索引设计和示例数据,可直接用于MySQL数据库建表。

💡 使用方式:复制下方SQL语句到MySQL客户端执行即可创建此表;也可通过果创云一键创建并生成RESTful API接口,免去手动部署。

MySQL数据库表结构设计

第 1-42 条, 共 42 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
eighteenthint(11)0无索引0
nineteenthint(11)0无索引0
twentiethint(11)0无索引0
twenty_firstint(11)0无索引0
twenty_secondint(11)0无索引0
twenty_thirdint(11)0无索引0
twenty_fourthint(11)0无索引0
twenty_fifthint(11)0无索引0
twenty_sixthint(11)0无索引0
twenty_seventhint(11)0无索引0
twenty_eighthint(11)0无索引0
twenty_ninthint(11)0无索引0
thirtiethint(11)0无索引0
thirty_firstint(11)0无索引0
daysint(11)0无索引0
totalint(11)0无索引0
occur_timedatetime无索引
import_timedatetime无索引
edit_timedatetime无索引
yesapi_landi_shuttle_bus_yearint(11)普通索引
yesapi_landi_shuttle_bus_monthint(11)无索引
room_numvarchar(64)普通索引
guest_idint(11)无索引
guest_namevarchar(64)无索引
other_peoplevarchar(100)无索引
yesapi_landi_shuttle_bus_firstint(11)0无索引0
yesapi_landi_shuttle_bus_secondint(11)0无索引0
thirdint(11)0无索引0
fourthint(11)0无索引0
fifthint(11)0无索引0
sixthint(11)0无索引0
seventhint(11)0无索引0
eighthint(11)0无索引0
ninthint(11)0无索引0
tenthint(11)0无索引0
eleventhint(11)0无索引0
twelfthint(11)0无索引0
thirteenthint(11)0无索引0
fourteenthint(11)0无索引0
fifteenthint(11)0无索引0
sixteenthint(11)0无索引0
seventeenthint(11)0无索引0

MySQL建表SQL语句

来源:LD酒店租房管理-穿梭巴士  |  链接:https://open.yesapi.cn/tablelist/yesapi_landi_shuttle_bus.html

SQL
-- 数据库大全:LD酒店租房管理-穿梭巴士
-- 来源:YesApi.cn
CREATE TABLE `yesapi_landi_shuttle_bus` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `eighteenth` int(11) NULL DEFAULT '0' COMMENT '',
    `nineteenth` int(11) NULL DEFAULT '0' COMMENT '',
    `twentieth` int(11) NULL DEFAULT '0' COMMENT '',
    `twenty_first` int(11) NULL DEFAULT '0' COMMENT '',
    `twenty_second` int(11) NULL DEFAULT '0' COMMENT '',
    `twenty_third` int(11) NULL DEFAULT '0' COMMENT '',
    `twenty_fourth` int(11) NULL DEFAULT '0' COMMENT '',
    `twenty_fifth` int(11) NULL DEFAULT '0' COMMENT '',
    `twenty_sixth` int(11) NULL DEFAULT '0' COMMENT '',
    `twenty_seventh` int(11) NULL DEFAULT '0' COMMENT '',
    `twenty_eighth` int(11) NULL DEFAULT '0' COMMENT '',
    `twenty_ninth` int(11) NULL DEFAULT '0' COMMENT '',
    `thirtieth` int(11) NULL DEFAULT '0' COMMENT '',
    `thirty_first` int(11) NULL DEFAULT '0' COMMENT '',
    `days` int(11) NULL DEFAULT '0' COMMENT '',
    `total` int(11) NULL DEFAULT '0' COMMENT '',
    `occur_time` datetime NULL COMMENT '',
    `import_time` datetime NULL COMMENT '',
    `edit_time` datetime NULL COMMENT '',
    `yesapi_landi_shuttle_bus_year` int(11) NULL COMMENT '',
    `yesapi_landi_shuttle_bus_month` int(11) NULL COMMENT '',
    `room_num` varchar(64) NULL COMMENT '',
    `guest_id` int(11) NULL COMMENT '',
    `guest_name` varchar(64) NULL COMMENT '',
    `other_people` varchar(100) NULL COMMENT '',
    `yesapi_landi_shuttle_bus_first` int(11) NULL DEFAULT '0' COMMENT '',
    `yesapi_landi_shuttle_bus_second` int(11) NULL DEFAULT '0' COMMENT '',
    `third` int(11) NULL DEFAULT '0' COMMENT '',
    `fourth` int(11) NULL DEFAULT '0' COMMENT '',
    `fifth` int(11) NULL DEFAULT '0' COMMENT '',
    `sixth` int(11) NULL DEFAULT '0' COMMENT '',
    `seventh` int(11) NULL DEFAULT '0' COMMENT '',
    `eighth` int(11) NULL DEFAULT '0' COMMENT '',
    `ninth` int(11) NULL DEFAULT '0' COMMENT '',
    `tenth` int(11) NULL DEFAULT '0' COMMENT '',
    `eleventh` int(11) NULL DEFAULT '0' COMMENT '',
    `twelfth` int(11) NULL DEFAULT '0' COMMENT '',
    `thirteenth` int(11) NULL DEFAULT '0' COMMENT '',
    `fourteenth` int(11) NULL DEFAULT '0' COMMENT '',
    `fifteenth` int(11) NULL DEFAULT '0' COMMENT '',
    `sixteenth` int(11) NULL DEFAULT '0' COMMENT '',
    `seventeenth` int(11) NULL DEFAULT '0' COMMENT '',
    KEY `yesapi_landi_shuttle_bus_year` (`yesapi_landi_shuttle_bus_year`),
    KEY `room_num` (`room_num`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'LD酒店租房管理-穿梭巴士';

复制后,到数据库执行,即可创建此数据库表。

📖 如何使用 LD酒店租房管理-穿梭巴士 数据库表

  1. 手动建表:复制上方SQL语句,在MySQL客户端(如Navicat、phpMyAdmin、命令行)中执行即可
  2. 一键创建:点击「立即免费创建此表」按钮,果创云自动生成表和RESTful API接口
  3. API调用:创建表后,即可通过HTTP接口对数据进行增删改查操作
  4. 二次开发:支持自定义字段、添加业务逻辑、生成小程序/APP后端接口

❓ 常见问题

Q:LD酒店租房管理-穿梭巴士表的主键是什么?
A:主键为 id 字段,类型为 bigint(20) unsigned NOT NULL AUTO_INCREMENT,自增无符号整数。
Q:如何在项目中使用这张表?
A:可以直接复制建表SQL到MySQL数据库中执行创建,也可以通过果创云平台一键创建并自动生成RESTful API接口,无需手动部署。
Q:这张表的索引有哪些?
A:yesapi_landi_shuttle_bus_year(普通索引)、room_num(普通索引),以及主键索引(id)。

猜你喜欢

回到顶部 ↑