DROP TABLE IF EXISTS `T_RECHARGE_ORDER`;
CREATE TABLE `T_RECHARGE_ORDER` (
  `UUID` varchar(32) NOT NULL,
  `ORDER_NO` char(32) ,
  `CHANNEL_ORDER_NO` varchar(64) ,
  `PARTY_ID` varchar(32) ,
  `CHANNEL` varchar(32) ,
  `AMOUNT` double ,
  `CHANNEL_AMOUNT` double ,
  `SUCCEEDED` int(11) ,
  `CREATED` datetime ,
  `EXTRA` varchar(4096) ,
  `DESCRIPTION` varchar(256) ,
  `FAILURE_MSG` varchar(4096) ,
   `CURRENCY` varchar(32) ,
  PRIMARY KEY (`UUID`),
  KEY `INX_RECHARGE_ORDER_PARTY_ID` (`PARTY_ID`,`CREATED`),
  KEY `INX_RECHARGE_ORDER_SUCCEEDED` (`SUCCEEDED`,`CREATED`),
  KEY `INX_RECHARGE_ORDER_ORDER_NO` (`ORDER_NO`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
