oms-StockTaking/Models/StockTaking.php
Dennis Eichhorn c605dd3e3d
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
fix permissions
2025-04-02 14:15:06 +00:00

53 lines
876 B
PHP

<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package Modules\StockTaking\Models
* @copyright Dennis Eichhorn
* @license OMS License 2.2
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace Modules\StockTaking\Models;
/**
* Stock taking
*
* @package Modules\StockTaking\Models
* @license OMS License 2.2
* @link https://jingga.app
* @since 1.0.0
*/
class StockTaking
{
public int $id = 0;
public \DateTimeImmutable $createdAt;
public array $stocks = [];
public array $types = [];
public array $items = [];
public array $distributions = [];
public int $unit = 0;
public int $status = StockTakingStatus::ACTIVE;
/**
* Constructor.
*
* @since 1.0.0
*/
public function __construct()
{
$this->createdAt = new \DateTimeImmutable();
}
}