* @author Dennis Eichhorn * @copyright 2013 Dennis Eichhorn * @license OMS License 1.0 * @version 1.0.0 * @link http://orange-management.com */ namespace Modules\Accounting\Models; use phpOMS\Utils\IO\ExchangeInterface; /** * Balance class. * * @category Modules * @package Modules\Accounting\Models * @author OMS Development Team * @author Dennis Eichhorn * @license OMS License 1.0 * @link http://orange-management.com * @since 1.0.0 */ abstract class Balance implements ExchangeInterface { /** * ID. * * @var int * @since 1.0.0 */ private $id = 0; /** * Date of the balance. * * @var \Datetime * @since 1.0.0 */ private $date = null; /** * Balance data. * * @var array * @since 1.0.0 */ private $balance = [ 'credit' => [ 'capital' => [], 'circulating' => [], ], 'debit' => [ 'equity' => [], 'debt' => [], ], ]; /** * Constructor. * * @since 1.0.0 * @author Dennis Eichhorn */ public function __construct() { } /** * @return int * * @since 1.0.0 * @author Dennis Eichhorn */ public function getId() { return $this->id; } /** * @param int $id * * @return void * * @since 1.0.0 * @author Dennis Eichhorn */ public function setId($id) { $this->id = $id; } /** * {@inheritdoc} */ public function exportJson($path) { } /** * {@inheritdoc} */ public function importJson($path) { } /** * {@inheritdoc} */ public function exportCsv($path) { } /** * {@inheritdoc} */ public function importCsv($path) { } /** * {@inheritdoc} */ public function exportExcel($path) { } /** * {@inheritdoc} */ public function importExcel($path) { } /** * {@inheritdoc} */ public function exportPdf($path) { } /** * {@inheritdoc} */ public function importPdf($path) { } }