t_draw_apply_order.sql 847 B

12345678910111213
  1. -- 提款申请记录订单信息 t_draw_apply_order
  2. create table t_draw_apply_order(
  3. id int not null auto_increment comment 'id',
  4. code varchar(10) not null comment '订单编号',
  5. draw_code varchar(10) not null default '' comment '提款申请记录编号',
  6. amount double not null default 0 comment '订单金额',
  7. customer_name varchar(20) not null default '' comment '客户名称',
  8. order_date varchar(19) not null default '' comment '订单日期',
  9. create_time timestamp not null default current_timestamp comment '创建时间',
  10. update_time timestamp not null default current_timestamp on update current_timestamp comment '更新时间',
  11. primary key(id) comment '主键,没有重复',
  12. unique index(code) comment '提款申请记录编号,唯一索引'
  13. )ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT '提款申请记录订单信息';