Files
OMS/app/ome/dbschema/refund_apply_tmall.php
2025-12-28 23:13:25 +08:00

169 lines
3.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
$db['refund_apply_tmall']=array (
'columns' =>
array (
'apply_id' =>
array (
'type' => 'number',
'required' => true,
'pkey' => true,
'editable' => false,
),
'refund_apply_bn' =>
array (
'type' => 'varchar(32)',
'required' => true,
'default' => '',
'label' => '退款申请单号',
'width' => 140,
'editable' => false,
'in_list' => true,
'is_title' => true,
),
'shop_id' =>
array (
'type' => 'table:shop@ome',
'label' => '来源店铺',
'width' => 75,
'editable' => false,
'in_list' => true,
'filtertype' => 'normal',
'filterdefault' => true,
),
'operation_contraint'=>array(
'type'=>'varchar(45)',
'label'=>'支付宝交易号',
),
'current_phase_timeout'=>array(
'type'=>'time',
'label'=>'当前状态超时时间',
),
'alipay_no'=>array(
'type'=>'varchar(45)',
'label'=>'支付宝交易号',
),
'tag_list'=>array(
'type'=>'longtext',
'label'=>'退款标签',
),
'memo' =>
array (
'type' => 'longtext',
'label' => '留言凭证',
'editable' => false,
),
'refuse_message'=>array(
'type' => 'longtext',
'label' => '拒绝退款原因留言',
),
'refuse_proof'=>array(
'type' => 'varchar(255)',
'label' => '拒绝退款举证上传',
),
'cs_status'=>array(
'label'=>'淘宝小二是否介入',
'type' => 'varchar(30)',
'default' => 'no',
),
'outer_lastmodify' =>
array (
'label' => '数据推送的修改时间',
'type' => 'time',
'width' => 130,
'editable' => false,
'in_list' => true,
),
'buyer_nick'=>array(
'type' => 'varchar(50)',
'label'=>'买家昵称',
),
'seller_nick'=>array(
'type' => 'varchar(50)',
'label'=>'卖家昵称',
),
'trade_status'=>array(
'type'=>'varchar(64)',
),
'has_good_return'=>array(
'type' => 'bool',
'default' => 'false',
'label'=>'买家是否需要退货',
),
'refund_phase'=>array(
'type'=>array(
'onsale'=>'售中',
'aftersale'=>'售后',
),
),
'refund_type'=>array(
'type'=>array(
'refund'=>'退款单',
'return'=>'退货单',
),
'default'=>'refund',
),
'bill_type'=>array(
'type'=>array(
'refund_bill'=>'退款单',
'return_bill'=>'退货单',
),
'default'=>'refund_bill',
),
'oid' =>
array (
'type' => 'varchar(50)',
'default' => 0,
'editable' => false,
'label' => '子订单号',
),
'refund_version'=>array (
'type' => 'varchar(50)',
'label'=>'退款版本号',
'editable' => false,
),
'alipay_no'=>array(
'type'=>'varchar(100)',
'label'=>'支付单编号',
),
'online_memo'=>array(
'type' => 'longtext',
'label' => '线上留言凭证',
),
'refund_fee'=>array(
'type'=>'money',
'label'=>'需退金额',
),
'order_status'=>array (
'type' => 'varchar(50)',
'label'=>'退款对应的订单交易状态',
'editable' => false,
),
),
'index' =>
array (
'ind_refund_apply_bn_shop' =>
array (
'columns' =>
array (
0 => 'refund_apply_bn',
1 => 'shop_id',
2=>'apply_id',
),
'prefix' => 'unique',
),
),
'comment' => '退款申请天猫附加信息表',
'engine' => 'innodb',
'version' => '$Rev: $',
);