20 lines
501 B
PHP
20 lines
501 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Inventory\Domain\Enums;
|
|
|
|
/**
|
|
* What a stock movement is (spec 19.2): a purchase adds stock, use and a
|
|
* write-off take it, a stock count adjusts it either way, and a reversal
|
|
* cancels an earlier movement with the opposite quantity.
|
|
*/
|
|
enum StockMovementKind: string
|
|
{
|
|
case Purchase = 'purchase';
|
|
case Consumption = 'consumption';
|
|
case WriteOff = 'write_off';
|
|
case Adjustment = 'adjustment';
|
|
case Reversal = 'reversal';
|
|
}
|