mirror of
https://github.com/Karaka-Management/oms-StockTaking.git
synced 2026-01-11 02:28:40 +00:00
53 lines
876 B
PHP
Executable File
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();
|
|
}
|
|
}
|