+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_landi_guest:/tablelist/okayapi_landi_guest.html


-- MySQL Table okayapi_landi_guest
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_guest` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `guest_name` varchar(64) NULL COMMENT '',
    `room_number` varchar(64) NULL COMMENT '',
    `room_type` varchar(64) NULL COMMENT '',
    `contract_number` varchar(64) NULL COMMENT '',
    `tel` varchar(64) NULL COMMENT '',
    `company` varchar(64) NULL COMMENT '',
    `title` varchar(64) NULL COMMENT '',
    `persons` int(11) NULL COMMENT '',
    `coming` int(11) NULL COMMENT '',
    `parking` varchar(64) NULL COMMENT '',
    `car` varchar(64) NULL COMMENT '',
    `okayapi_landi_guest_comment` varchar(256) NULL COMMENT '',
    `charge` double NULL COMMENT '',
    `timein` datetime NULL COMMENT '',
    `timeout` datetime NULL COMMENT '',
    `sys_state` int(11) NULL DEFAULT '1' COMMENT '正在入住0  历史入住1',
    `other_guests` varchar(255) NULL COMMENT '',
    `guest_type` varchar(255) NULL COMMENT '',
    `birthday` date NULL COMMENT '',
    `email` varchar(64) NULL COMMENT '',
    `company_contactor` varchar(64) NULL COMMENT '',
    `company_tel` varchar(64) NULL COMMENT '',
    `company_account` varchar(64) NULL COMMENT '',
    `company_invoice` varchar(64) NULL COMMENT '',
    `company_paymode` varchar(64) NULL COMMENT '',
    KEY `guest_name` (`guest_name`),
    KEY `room_number` (`room_number`),
    KEY `room_type` (`room_type`),
    KEY `contract_number` (`contract_number`),
    KEY `tel` (`tel`),
    KEY `company` (`company`),
    KEY `title` (`title`),
    KEY `persons` (`persons`),
    KEY `coming` (`coming`),
    KEY `parking` (`parking`),
    KEY `car` (`car`),
    KEY `okayapi_landi_guest_comment` (`okayapi_landi_guest_comment`),
    KEY `charge` (`charge`),
    KEY `timein` (`timein`),
    KEY `timeout` (`timeout`),
    KEY `sys_state` (`sys_state`),
    KEY `other_guests` (`other_guests`),
    KEY `guest_type` (`guest_type`),
    KEY `birthday` (`birthday`),
    KEY `email` (`email`),
    KEY `company_contactor` (`company_contactor`),
    KEY `company_tel` (`company_tel`),
    KEY `company_account` (`company_account`),
    KEY `company_invoice` (`company_invoice`),
    KEY `company_paymode` (`company_paymode`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'LD酒店租房管理-访客';

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


MySQL database table structure design

Displaying 1-25 of 25 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
guest_namevarchar(64)Normal Index
room_numbervarchar(64)Normal Index
room_typevarchar(64)
contract_numbervarchar(64)Unique Index
telvarchar(64)
companyvarchar(64)
titlevarchar(64)
personsint(11)
comingint(11)
parkingvarchar(64)
carvarchar(64)
okayapi_landi_guest_commentvarchar(256)
chargedouble
timeindatetime
timeoutdatetime
sys_stateint(11)1正在入住0 历史入住11
other_guestsvarchar(255)
guest_typevarchar(255)
birthdaydate
emailvarchar(64)
company_contactorvarchar(64)
company_telvarchar(64)
company_accountvarchar(64)
company_invoicevarchar(64)
company_paymodevarchar(64)

Guess You Like

MySQL Table Design okayapi_landi_agent_purchase

MySQL Table Design okayapi_landi_contract_income

MySQL Table Design okayapi_landi_cost_le

MySQL Table Design okayapi_landi_daily_service

MySQL Table Design okayapi_landi_diary_reminder

MySQL Table Design okayapi_landi_drinking_water

MySQL Table Design okayapi_landi_emergency_problem

MySQL Table Design okayapi_landi_fac_sta

MySQL Table Design okayapi_landi_flight_picking

MySQL Table Design okayapi_landi_grocery_item

MySQL Table Design okayapi_landi_grocery_running

MySQL Table Design okayapi_landi_guest_balance

MySQL Table Design okayapi_landi_guest_service

MySQL Table Design okayapi_landi_host

MySQL Table Design okayapi_landi_income

MySQL Table Design okayapi_landi_intern

MySQL Table Design okayapi_landi_invoice

MySQL Table Design okayapi_landi_invoice_detail

MySQL Table Design okayapi_landi_laundry

MySQL Table Design okayapi_landi_mail_reminder

TOP ↑