-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: May 19, 2020 at 07:37 AM
-- Server version: 5.6.41-84.1
-- PHP Version: 7.2.7

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `bdwebsco_sql`
--

-- --------------------------------------------------------

--
-- Table structure for table `order_details`
--

CREATE TABLE `order_details` (
  `tran_sys_id` bigint(10) NOT NULL,
  `trxid` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `tran_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `tran_status` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `card_type` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `card_no` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `toal_amount` float DEFAULT NULL,
  `cus_first_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cus_last_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cus_email` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cus_phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cus_address` varchar(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cus_country` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cus_city` varchar(25) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cus_state` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `currency_type` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `currency_amount` float DEFAULT NULL,
  `currency_rate` float DEFAULT NULL,
  `paid_currency` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `paid_amount` float DEFAULT NULL,
  `store_amount` float DEFAULT NULL,
  `userid` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `usertype` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `transactiontype` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `invoiceids` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `sellingcurrencyamount` float DEFAULT NULL,
  `accountingcurrencyamount` float DEFAULT NULL,
  `checksum` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `resellerEmail` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `resellerURL` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `resellerCompanyName` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `resellerCurrency` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tran_init_time` timestamp NULL DEFAULT NULL,
  `tran_complete_time` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `order_details`
--
ALTER TABLE `order_details`
  ADD PRIMARY KEY (`tran_sys_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `order_details`
--
ALTER TABLE `order_details`
  MODIFY `tran_sys_id` bigint(10) NOT NULL AUTO_INCREMENT;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
