+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_landi_drinking_water:/tablelist/okayapi_landi_drinking_water.html


-- MySQL Table okayapi_landi_drinking_water
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_drinking_water` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `room_num` varchar(64) NULL COMMENT '',
    `guest_id` int(11) NULL COMMENT '',
    `guest_name` varchar(64) NULL COMMENT '',
    `barrel_count` int(11) NULL DEFAULT '0' COMMENT '桶装水数量',
    `barrel_remaincount` int(11) NULL DEFAULT '0' COMMENT '',
    `barrel_limitcount` int(11) NULL COMMENT '桶装水限额',
    `barrel_unitprice` double NULL DEFAULT '0' COMMENT '',
    `bottle_count` int(11) NULL DEFAULT '0' COMMENT '瓶装矿泉水(提)数量',
    `bottle_remaincount` int(11) NULL COMMENT '',
    `bottle_limitcount` int(11) NULL COMMENT '瓶装矿泉水(提)限额',
    `bottle_unitprice` double NULL COMMENT '',
    `excess_price` double NULL COMMENT '超出限额数量的总金额',
    `pay_mode` tinyint(3) NULL COMMENT '支付方式(现金0 月结1)',
    `okayapi_landi_drinking_water_comment` varchar(64) NULL COMMENT '',
    `staff_id` int(11) NULL COMMENT '',
    `staff_name` varchar(64) NULL COMMENT '',
    `occur_time` datetime NULL COMMENT '',
    `import_time` datetime NULL COMMENT '',
    `edit_time` datetime NULL COMMENT '',
    KEY `room_num` (`room_num`),
    KEY `guest_id` (`guest_id`),
    KEY `guest_name` (`guest_name`),
    KEY `barrel_count` (`barrel_count`),
    KEY `barrel_remaincount` (`barrel_remaincount`),
    KEY `barrel_limitcount` (`barrel_limitcount`),
    KEY `barrel_unitprice` (`barrel_unitprice`),
    KEY `bottle_count` (`bottle_count`),
    KEY `bottle_remaincount` (`bottle_remaincount`),
    KEY `bottle_limitcount` (`bottle_limitcount`),
    KEY `bottle_unitprice` (`bottle_unitprice`),
    KEY `excess_price` (`excess_price`),
    KEY `pay_mode` (`pay_mode`),
    KEY `okayapi_landi_drinking_water_comment` (`okayapi_landi_drinking_water_comment`),
    KEY `staff_id` (`staff_id`),
    KEY `staff_name` (`staff_name`),
    KEY `occur_time` (`occur_time`),
    KEY `import_time` (`import_time`),
    KEY `edit_time` (`edit_time`),
    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-19 of 19 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
room_numvarchar(64)
guest_idint(11)
guest_namevarchar(64)
barrel_countint(11)0桶装水数量0
barrel_remaincountint(11)00
barrel_limitcountint(11)桶装水限额
barrel_unitpricedouble00
bottle_countint(11)0瓶装矿泉水(提)数量0
bottle_remaincountint(11)
bottle_limitcountint(11)瓶装矿泉水(提)限额
bottle_unitpricedouble
excess_pricedouble超出限额数量的总金额
pay_modetinyint(3)支付方式(现金0 月结1)
okayapi_landi_drinking_water_commentvarchar(64)
staff_idint(11)
staff_namevarchar(64)
occur_timedatetime
import_timedatetime
edit_timedatetime

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

MySQL Table Design okayapi_landi_mail_reminder

TOP ↑