123456789101112131415 |
- create table bt_refund_record
- (
- id bigint(20) not null comment '主键',
- order_id bigint(20) not null comment '订单ID',
- refund_type char(1) not null comment '退款类型: 0 -> 自动退款, 1 -> 人工退款',
- refund_reason varchar(200) comment '退款原因',
- refund_amount decimal(20,2) comment '退款金额',
- create_time datetime comment '创建时间',
- create_user bigint(20) comment '创建人',
- update_time datetime comment '修改时间',
- update_user bigint(20) comment '修改人',
- primary key (id)
- );
- alter table bt_refund_record comment '退款记录';
|