-- Create Table Statement for 'EFT T Tech Batch Transaction'
DROP TABLE IF EXISTS `EFT_TTECH_BATCH_TRANSACTION`;
CREATE TABLE `EFT_TTECH_BATCH_TRANSACTION` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	ACTION varchar,
	TRAN_ID varchar,
	AMOUNT varchar,
	TRAN_DATE varchar,
	LAST_NAME varchar,
	CUSTOMER_NAME varchar,
	ADDRESS1 varchar,
	CITY varchar,
	STATE varchar,
	ZIP varchar,
	PHONE1 varchar,
	EMAIL varchar,
	COMPANY varchar,
	CHECK_NUMBER varchar,
	CHECK_TYPE varchar,
	CLASS_CODE varchar,
	TRAN_TYPE varchar,
	APPLICATION varchar,
	PAYMENT_TYPE varchar,
	TRAN_REFERENCE varchar,
	COLLECTION_LEVEL varchar,
	ACCEPT_DATE varchar,
	ACH_DATE varchar,
	RETURN_DATE varchar,
	BATCH_NUMBER varchar,
	RETURN_REASON_CODE varchar,
	RETURN_REASON varchar,
	RETURN_TYPE_CODE varchar,
	NOC_DATA1 varchar,
	NOC_DATA2 varchar,
	NOC_DATA3 varchar,
	RETURN_DISPOSITION varchar,
	CHARGE_TRANSACTION_FK bigint(20),
	EFT_TTECH_BATCH_FK bigint(20),
	EFT_TTECH_BATCH_PROVIDER_CHARGE_TRANSACTIONS_IDX int(11),
	EFT_TTECH_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	EFT_TTECH_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;