+ 立即免费创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:openant电商-退货:https://open.yesapi.cn/tablelist/yesapi_openant_return.html


-- 数据库大全:openant电商-退货
-- 来源:YesApi.cn
CREATE TABLE `yesapi_openant_return` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `product_id` int(11) NOT NULL COMMENT '',
    `yesapi_openant_return_option` varchar(255) NOT NULL COMMENT '',
    `return_amount` decimal(15,4) NOT NULL COMMENT '',
    `user_id` int(11) NOT NULL COMMENT '',
    `firstname` varchar(32) NOT NULL COMMENT '',
    `lastname` varchar(32) NOT NULL COMMENT '',
    `email` varchar(96) NOT NULL COMMENT '',
    `telephone` varchar(32) NOT NULL COMMENT '',
    `quantity` int(4) NOT NULL COMMENT '',
    `opened` tinyint(1) NOT NULL COMMENT '',
    `mode_transport_id` int(11) NOT NULL COMMENT '',
    `return_reason_id` int(11) NOT NULL COMMENT '',
    `return_action_id` int(11) NOT NULL COMMENT '',
    `return_status_id` int(11) NOT NULL COMMENT '',
    `logistics` varchar(28) NOT NULL COMMENT '',
    `return_mode_id` int(11) NOT NULL COMMENT '',
    `date_added` datetime NOT NULL COMMENT '',
    `return_id` int(11) NOT NULL COMMENT '',
    `rowid` varchar(60) NOT NULL COMMENT '',
    `order_id` int(11) NOT NULL COMMENT '',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'openant电商-退货';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-20 条, 共 20 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
product_idint(11)无索引
yesapi_openant_return_optionvarchar(255)无索引
return_amountdecimal(15,4)无索引
user_idint(11)无索引
firstnamevarchar(32)无索引
lastnamevarchar(32)无索引
emailvarchar(96)无索引
telephonevarchar(32)无索引
quantityint(4)无索引
openedtinyint(1)无索引
mode_transport_idint(11)无索引
return_reason_idint(11)无索引
return_action_idint(11)无索引
return_status_idint(11)无索引
logisticsvarchar(28)无索引
return_mode_idint(11)无索引
date_addeddatetime无索引
return_idint(11)无索引
rowidvarchar(60)无索引
order_idint(11)无索引

猜你喜欢

MySQL数据库设计 商品表

MySQL数据库设计 商品评价

MySQL数据库设计 openant电商-

MySQL数据库设计 openant电商-市场提醒

MySQL数据库设计 openant电商-市场提醒描述

MySQL数据库设计 openant电商-API接口

MySQL数据库设计 openant电商-属性

MySQL数据库设计 openant电商-属性分组

MySQL数据库设计 openant电商-属性分组

MySQL数据库设计 openant电商-属性分组描述

MySQL数据库设计 openant电商-顶部

MySQL数据库设计 openant电商-顶部大图

MySQL数据库设计 openant电商-顶部图片描述

MySQL数据库设计 openant电商-条形码

MySQL数据库设计 openant电商-条形码描述

MySQL数据库设计 openant电商-论坛活动

MySQL数据库设计 openant电商-论坛讨论

MySQL数据库设计 openant电商-论坛讨论描述

MySQL数据库设计 openant电商-论坛版块

MySQL数据库设计 openant电商-论坛版块说明



回到顶部 ↑