mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-01-13 06:18:39 +00:00
151 lines
2.1 KiB
PHP
151 lines
2.1 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.1
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://orange-management.com
|
|
*/
|
|
declare(strict_types=1);
|
|
namespace Modules\Accounting\Models;
|
|
|
|
use phpOMS\Utils\IO\ExchangeInterface;
|
|
|
|
/**
|
|
* Balance class.
|
|
*
|
|
* @category Modules
|
|
* @package Modules\Accounting\Models
|
|
* @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
|
|
*/
|
|
public function __construct()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* @param int $id
|
|
*
|
|
* @return void
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
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)
|
|
{
|
|
}
|
|
}
|