oms-Accounting/Models/Debitor.php
2020-12-03 23:07:33 +01:00

69 lines
1.0 KiB
PHP

<?php
/**
* Orange Management
*
* PHP Version 8.0
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
namespace Modules\Accounting\Models;
use Modules\Admin\Models\Account;
/**
* Debitor class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Debitor
{
/**
* Debitor ID.
*
* @var int
* @since 1.0.0
*/
protected int $id = 0;
/**
* Account.
*
* @var null|int|Account
* @since 1.0.0
*/
protected $account = null;
/**
* Get id.
*
* @return int
*
* @since 1.0.0
*/
public function getId() : int
{
return $this->id;
}
/**
* Get account.
*
* @return null|int|Account
*
* @since 1.0.0
*/
public function getAccount()
{
return $this->account;
}
}