-- Create Table Statement for 'Terminal Order Detail'
DROP TABLE IF EXISTS `TERMINAL_ORDER_DETAIL`;
CREATE TABLE `TERMINAL_ORDER_DETAIL` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	TERMINAL_CODE bigint(20),
	MODEL_CL varchar,
	IS_ASSCESSORIES_REQUIRED tinyint(1),
	ITEM_NUMBER varchar,
	SERIAL_NUMBER varchar,
	TERMINAL_ORDER_FK bigint(20),
	TERMINAL_CONFIGURATION_CODE varchar,
	RETURN_SERIAL_NUMBER varchar,
	TERMINAL_KEY_FK bigint(20),
	ITEM_NUMBER varchar,
	ITEM_NUMBER varchar,
	SERIAL_NUMBER varchar,
	SERIAL_NUMBER varchar,
	RETURN_SERIAL_NUMBER varchar,
	RETURN_SERIAL_NUMBER varchar,
	MODEL_CL varchar,
	MODEL_CL varchar,
	PRIMARY KEY (ID)
) ENGINE=InnoDB;