+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_landi_plan_detail:/tablelist/okayapi_landi_plan_detail.html


-- MySQL Table okayapi_landi_plan_detail
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_plan_detail` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `plan_id` int(11) NULL COMMENT '',
    `fac_id` int(11) NULL COMMENT '',
    `total` int(11) NULL COMMENT '',
    `already` int(11) NULL DEFAULT '0' COMMENT '',
    `unitprice` double NULL COMMENT '',
    `all_money` double NULL COMMENT '',
    `provider` varchar(64) NULL COMMENT '供应商',
    `invoice_type` varchar(20) NULL COMMENT '不含票  含普票 含增票',
    `received` varchar(10) NULL COMMENT '是否收到(0否 1收到)',
    `order_date` date NULL COMMENT '下单日期',
    `arrival_date` date NULL COMMENT '到货日期',
    `okayapi_landi_plan_detail_comment` varchar(64) NULL COMMENT '',
    `sys_state` int(11) NULL DEFAULT '1' COMMENT '',
    KEY `plan_id` (`plan_id`),
    KEY `fac_id` (`fac_id`),
    KEY `total` (`total`),
    KEY `already` (`already`),
    KEY `unitprice` (`unitprice`),
    KEY `all_money` (`all_money`),
    KEY `provider` (`provider`),
    KEY `invoice_type` (`invoice_type`),
    KEY `received` (`received`),
    KEY `order_date` (`order_date`),
    KEY `arrival_date` (`arrival_date`),
    KEY `okayapi_landi_plan_detail_comment` (`okayapi_landi_plan_detail_comment`),
    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-13 of 13 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
plan_idint(11)Normal Index
fac_idint(11)
totalint(11)
alreadyint(11)00
unitpricedouble
all_moneydouble
providervarchar(64)供应商
invoice_typevarchar(20)不含票 含普票 含增票
receivedvarchar(10)是否收到(0否 1收到)
order_datedate下单日期
arrival_datedate到货日期
okayapi_landi_plan_detail_commentvarchar(64)
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_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 ↑