+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_landi_sources:/tablelist/okayapi_landi_sources.html


-- MySQL Table okayapi_landi_sources
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_sources` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `room_number` varchar(64) NULL COMMENT '',
    `guest_name` varchar(64) NULL COMMENT '',
    `okayapi_landi_sources_type` varchar(11) NULL COMMENT '水费 电费 燃气费',
    `meter` varchar(64) NULL COMMENT '',
    `cur_month_val` double NULL COMMENT '',
    `money` double NULL COMMENT '',
    `reading_time` datetime NULL COMMENT '抄表日期',
    `okayapi_landi_sources_month` int(10) NULL COMMENT '月份',
    `sys_state` int(11) NULL DEFAULT '1' COMMENT '0 表示历史记录 1表示现在记录',
    `log` varchar(10) NULL COMMENT '入住 退租 计费',
    KEY `room_number` (`room_number`),
    KEY `guest_name` (`guest_name`),
    KEY `okayapi_landi_sources_type` (`okayapi_landi_sources_type`),
    KEY `meter` (`meter`),
    KEY `cur_month_val` (`cur_month_val`),
    KEY `money` (`money`),
    KEY `reading_time` (`reading_time`),
    KEY `okayapi_landi_sources_month` (`okayapi_landi_sources_month`),
    KEY `sys_state` (`sys_state`),
    KEY `log` (`log`),
    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-10 of 10 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
room_numbervarchar(64)Normal Index
guest_namevarchar(64)
okayapi_landi_sources_typevarchar(11)水费 电费 燃气费
metervarchar(64)
cur_month_valdouble
moneydouble
reading_timedatetime抄表日期
okayapi_landi_sources_monthint(10)月份
sys_stateint(11)10 表示历史记录 1表示现在记录1
logvarchar(10)入住 退租 计费

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

TOP ↑