MySQL Create Table SQL
Table Structure: okayapi_landi_cost_le:/tablelist/okayapi_landi_cost_le.html
-- MySQL Table okayapi_landi_cost_le
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_cost_le` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`room_num` varchar(64) NULL COMMENT '',
`guest_name` varchar(64) NULL COMMENT '',
`project` varchar(64) NULL COMMENT '',
`customer_service_staff` varchar(64) NULL COMMENT '',
`operation_staff` varchar(64) NULL COMMENT '',
`reason` varchar(64) NULL COMMENT '',
`occur_time` datetime NULL COMMENT '',
`cost` double NULL DEFAULT '0' COMMENT '',
`okayapi_landi_cost_le_type` varchar(64) NULL COMMENT '表示福利费,还是安抚费 ',
`state` int(3) NULL COMMENT '1 表示数据有效,0 表示数据无效',
KEY `room_num` (`room_num`),
KEY `guest_name` (`guest_name`),
KEY `project` (`project`),
KEY `customer_service_staff` (`customer_service_staff`),
KEY `operation_staff` (`operation_staff`),
KEY `reason` (`reason`),
KEY `occur_time` (`occur_time`),
KEY `cost` (`cost`),
KEY `okayapi_landi_cost_le_type` (`okayapi_landi_cost_le_type`),
KEY `state` (`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-10 of 10 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
room_num | varchar(64) | 是 | ||||
guest_name | varchar(64) | 是 | ||||
project | varchar(64) | 是 | ||||
customer_service_staff | varchar(64) | 是 | ||||
operation_staff | varchar(64) | 是 | ||||
reason | varchar(64) | 是 | ||||
occur_time | datetime | 是 | ||||
cost | double | 0 | 是 | 0 | ||
okayapi_landi_cost_le_type | varchar(64) | 是 | 表示福利费,还是安抚费 | |||
state | int(3) | 是 | 1 表示数据有效,0 表示数据无效 |