+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_landi_guest_balance:/tablelist/okayapi_landi_guest_balance.html


-- MySQL Table okayapi_landi_guest_balance
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_guest_balance` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `guest_id` int(10) NULL COMMENT '',
    `room_number` varchar(64) NULL COMMENT '',
    `charge_turn` int(11) NULL COMMENT '',
    `charge_way` varchar(64) NULL COMMENT '',
    `return_turn` int(11) NULL COMMENT '',
    `invoice_turn` int(11) NULL COMMENT '',
    `begin_day` date NULL COMMENT '',
    `end_day` date NULL COMMENT '',
    `sys_state` int(11) NULL DEFAULT '1' COMMENT '',
    KEY `guest_id` (`guest_id`),
    KEY `room_number` (`room_number`),
    KEY `charge_turn` (`charge_turn`),
    KEY `charge_way` (`charge_way`),
    KEY `return_turn` (`return_turn`),
    KEY `invoice_turn` (`invoice_turn`),
    KEY `begin_day` (`begin_day`),
    KEY `end_day` (`end_day`),
    KEY `sys_state` (`sys_state`),
    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-9 of 9 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
guest_idint(10)Normal Index
room_numbervarchar(64)Normal Index
charge_turnint(11)
charge_wayvarchar(64)
return_turnint(11)
invoice_turnint(11)
begin_daydate
end_daydate
sys_stateint(11)11

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

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 ↑