oms-StockTaking/Models/StockTaking.php
Dennis Eichhorn da00c47772
Some checks are pending
Image optimization / general_image_workflow (push) Waiting to run
CI / general_module_workflow_php (push) Waiting to run
CI / general_module_workflow_js (push) Waiting to run
bug fixes
2025-04-02 13:33:51 +00:00

53 lines
876 B
PHP
Executable File

<?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();
}
}