+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_shopxo_s_order_aftersale:/tablelist/okayapi_shopxo_s_order_aftersale.html


-- MySQL Table okayapi_shopxo_s_order_aftersale
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_order_aftersale` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `order_no` char(60) NOT NULL COMMENT '订单号',
    `order_detail_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单详情id',
    `order_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单id',
    `goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品id',
    `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
    `okayapi_shopxo_s_order_aftersale_status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '状态(0待确认, 1待退货, 2待审核, 3已完成, 4已拒绝, 5已取消)',
    `okayapi_shopxo_s_order_aftersale_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '业务类型(0仅退款, 1退货退款)',
    `refundment` tinyint(1) NOT NULL DEFAULT '0' COMMENT '退款类型(0原路退回, 1退至钱包, 2手动处理)',
    `reason` char(180) NOT NULL COMMENT '申请原因',
    `okayapi_shopxo_s_order_aftersale_number` int(11) NOT NULL DEFAULT '0' COMMENT '退货数量',
    `price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '退款金额',
    `msg` char(230) NOT NULL COMMENT '退款说明',
    `images` text NOT NULL COMMENT '凭证图片(一维数组json存储)',
    `refuse_reason` char(230) NOT NULL COMMENT '拒绝原因',
    `express_name` char(60) NOT NULL COMMENT '快递名称',
    `express_number` char(60) NOT NULL COMMENT '快递单号',
    `apply_time` int(11) NOT NULL DEFAULT '0' COMMENT '申请时间',
    `confirm_time` int(11) NOT NULL DEFAULT '0' COMMENT '确认时间',
    `delivery_time` int(11) NOT NULL DEFAULT '0' COMMENT '退货时间',
    `audit_time` int(11) NOT NULL DEFAULT '0' COMMENT '审核时间',
    `cancel_time` int(11) NOT NULL DEFAULT '0' COMMENT '取消时间',
    `upd_time` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
    KEY `order_no` (`order_no`),
    KEY `order_detail_id` (`order_detail_id`),
    KEY `order_id` (`order_id`),
    KEY `goods_id` (`goods_id`),
    KEY `user_id` (`user_id`),
    KEY `okayapi_shopxo_s_order_aftersale_status` (`okayapi_shopxo_s_order_aftersale_status`),
    KEY `okayapi_shopxo_s_order_aftersale_type` (`okayapi_shopxo_s_order_aftersale_type`),
    KEY `refundment` (`refundment`),
    KEY `reason` (`reason`),
    KEY `okayapi_shopxo_s_order_aftersale_number` (`okayapi_shopxo_s_order_aftersale_number`),
    KEY `price` (`price`),
    KEY `msg` (`msg`),
    KEY `images` (`images`),
    KEY `refuse_reason` (`refuse_reason`),
    KEY `express_name` (`express_name`),
    KEY `express_number` (`express_number`),
    KEY `apply_time` (`apply_time`),
    KEY `confirm_time` (`confirm_time`),
    KEY `delivery_time` (`delivery_time`),
    KEY `audit_time` (`audit_time`),
    KEY `cancel_time` (`cancel_time`),
    KEY `upd_time` (`upd_time`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ShopXO商城-订单售后';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-22 of 22 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
order_nochar(60)订单号
order_detail_idint(11)0订单详情id0
order_idint(11)0订单idNormal Index0
goods_idint(11)0商品idNormal Index0
user_idint(11)0用户idNormal Index0
okayapi_shopxo_s_order_aftersale_statustinyint(2)0状态(0待确认, 1待退货, 2待审核, 3已完成, 4已拒绝, 5已取消)Normal Index0
okayapi_shopxo_s_order_aftersale_typetinyint(1)0业务类型(0仅退款, 1退货退款)0
refundmenttinyint(1)0退款类型(0原路退回, 1退至钱包, 2手动处理)0
reasonchar(180)申请原因
okayapi_shopxo_s_order_aftersale_numberint(11)0退货数量0
pricedecimal(10,2) unsigned0.00退款金额0.00
msgchar(230)退款说明
imagestext凭证图片(一维数组json存储)
refuse_reasonchar(230)拒绝原因
express_namechar(60)快递名称
express_numberchar(60)快递单号
apply_timeint(11)0申请时间0
confirm_timeint(11)0确认时间0
delivery_timeint(11)0退货时间0
audit_timeint(11)0审核时间0
cancel_timeint(11)0取消时间0
upd_timeint(11)0更新时间0

Guess You Like

MySQL Table Design okayapi_goods

MySQL Table Design okayapi_goods_comment

MySQL Table Design okayapi_shopxo_s_admin

MySQL Table Design okayapi_shopxo_s_answer

MySQL Table Design okayapi_shopxo_s_app_center_nav

MySQL Table Design okayapi_shopxo_s_app_home_nav

MySQL Table Design okayapi_shopxo_s_article

MySQL Table Design okayapi_shopxo_s_article_category

MySQL Table Design okayapi_shopxo_s_attachment

MySQL Table Design okayapi_shopxo_s_brand

MySQL Table Design okayapi_shopxo_s_brand_category

MySQL Table Design okayapi_shopxo_s_cart

MySQL Table Design okayapi_shopxo_s_config

MySQL Table Design okayapi_shopxo_s_custom_view

MySQL Table Design okayapi_shopxo_s_express

MySQL Table Design okayapi_shopxo_s_goods

MySQL Table Design okayapi_shopxo_s_goods_browse

MySQL Table Design okayapi_shopxo_s_goods_category

MySQL Table Design okayapi_shopxo_s_goods_category_join

MySQL Table Design okayapi_shopxo_s_goods_comments

TOP ↑