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

MySQL建表SQL语句

数据库结构:主机销售-产品付款:https://open.yesapi.cn/tablelist/yesapi_box_product_payment.html


-- 数据库大全:主机销售-产品付款
-- 来源:YesApi.cn
CREATE TABLE `yesapi_box_product_payment` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `type` varchar(30) NULL COMMENT 'free, once, recurrent',
    `once_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `once_setup_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `w_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `m_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `q_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `b_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `a_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `bia_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `tria_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `w_setup_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `m_setup_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `q_setup_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `b_setup_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `a_setup_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `bia_setup_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `tria_setup_price` decimal(18,2) NULL DEFAULT '0.00' COMMENT '',
    `w_enabled` tinyint(1) NULL DEFAULT '1' COMMENT '',
    `m_enabled` tinyint(1) NULL DEFAULT '1' COMMENT '',
    `q_enabled` tinyint(1) NULL DEFAULT '1' COMMENT '',
    `b_enabled` tinyint(1) NULL DEFAULT '1' COMMENT '',
    `a_enabled` tinyint(1) NULL DEFAULT '1' COMMENT '',
    `bia_enabled` tinyint(1) NULL DEFAULT '1' COMMENT '',
    `tria_enabled` tinyint(1) NULL DEFAULT '1' COMMENT '',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '主机销售-产品付款';

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


MySQL数据库表结构设计

第 1-24 条, 共 24 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
typevarchar(30)free, once, recurrent无索引
once_pricedecimal(18,2)0.00无索引0.00
once_setup_pricedecimal(18,2)0.00无索引0.00
w_pricedecimal(18,2)0.00无索引0.00
m_pricedecimal(18,2)0.00无索引0.00
q_pricedecimal(18,2)0.00无索引0.00
b_pricedecimal(18,2)0.00无索引0.00
a_pricedecimal(18,2)0.00无索引0.00
bia_pricedecimal(18,2)0.00无索引0.00
tria_pricedecimal(18,2)0.00无索引0.00
w_setup_pricedecimal(18,2)0.00无索引0.00
m_setup_pricedecimal(18,2)0.00无索引0.00
q_setup_pricedecimal(18,2)0.00无索引0.00
b_setup_pricedecimal(18,2)0.00无索引0.00
a_setup_pricedecimal(18,2)0.00无索引0.00
bia_setup_pricedecimal(18,2)0.00无索引0.00
tria_setup_pricedecimal(18,2)0.00无索引0.00
w_enabledtinyint(1)1无索引1
m_enabledtinyint(1)1无索引1
q_enabledtinyint(1)1无索引1
b_enabledtinyint(1)1无索引1
a_enabledtinyint(1)1无索引1
bia_enabledtinyint(1)1无索引1
tria_enabledtinyint(1)1无索引1

猜你喜欢

MySQL数据库设计 主机销售-活动管理员历史纪录

MySQL数据库设计 主机销售-活动客户邮箱

MySQL数据库设计 主机销售-活动客户历史

MySQL数据库设计 主机销售-活动系统

MySQL数据库设计 主机销售-管理员

MySQL数据库设计 主机销售-管理员分组

MySQL数据库设计 主机销售-购物车

MySQL数据库设计 主机销售-购物车商品

MySQL数据库设计 主机销售-客户

MySQL数据库设计 主机销售-客户钱包

MySQL数据库设计 主机销售-客户分组

MySQL数据库设计 主机销售-客户订单

MySQL数据库设计 主机销售-客户订单元数量

MySQL数据库设计 主机销售-客户订单状态

MySQL数据库设计 主机销售-客户密码重置

MySQL数据库设计 主机销售-汇率

MySQL数据库设计 主机销售-邮件模板

MySQL数据库设计 主机销售-扩展

MySQL数据库设计 主机销售-扩展元数据

MySQL数据库设计 主机销售-表单



回到顶部 ↑