+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_landi_room_item:/tablelist/okayapi_landi_room_item.html


-- MySQL Table okayapi_landi_room_item
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_room_item` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `room_num` varchar(64) NULL COMMENT '',
    `fac_id` int(11) NULL COMMENT '',
    `tag` varchar(64) NULL COMMENT '',
    `allocate_type` varchar(10) NULL COMMENT '分配、借用、-(新维修时生成的)',
    `state` varchar(11) NULL COMMENT '维修中0 使用中1',
    `borrow_date` date NULL COMMENT '',
    `return_date` date NULL COMMENT '',
    `maintain_duration` int(11) NULL COMMENT '维修时长(天)',
    `comm` varchar(64) NULL COMMENT '',
    KEY `room_num` (`room_num`),
    KEY `fac_id` (`fac_id`),
    KEY `tag` (`tag`),
    KEY `allocate_type` (`allocate_type`),
    KEY `state` (`state`),
    KEY `borrow_date` (`borrow_date`),
    KEY `return_date` (`return_date`),
    KEY `maintain_duration` (`maintain_duration`),
    KEY `comm` (`comm`),
    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
room_numvarchar(64)Normal Index
fac_idint(11)Normal Index
tagvarchar(64)
allocate_typevarchar(10)分配、借用、-(新维修时生成的)
statevarchar(11)维修中0 使用中1
borrow_datedate
return_datedate
maintain_durationint(11)维修时长(天)
commvarchar(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

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 ↑