<?php

namespace App\ImportedOrder\FormUtils;

abstract class GeneralAbstract
{

	/**
	 * The imported entity object.
	 * @var \App\ImportedOrder\EntityAbstract
	 */
	protected $importedEntity;

	/**
	 * The system id.
	 * @var Int
	 */
	protected $idSystem;

	/**
	 * Attaches the actual entity and the system id (for matching).
	 * @param \App\ImportedOrder\EntityAbstract $importedEntity
	 * @param Int $idSystem
	 */
 	public function __construct(\App\ImportedOrder\EntityAbstract $importedEntity, $idSystem)
	{
		$this->importedEntity = $importedEntity;
		$this->idSystem = $idSystem;
	}

	/**
	 * Returns an array of fields to be injected into the customer insert/udpate popup.
	 * @return Array
	 */
	abstract public function getFields();

}

