mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 11:48:49 +02:00
Use enum for undo mode
This commit is contained in:
parent
218b0adb8f
commit
8a20584e27
14 changed files with 140 additions and 180 deletions
|
@ -28,10 +28,6 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
#[ORM\Entity]
|
||||
class PartStockChangedLogEntry extends AbstractLogEntry
|
||||
{
|
||||
final public const TYPE_ADD = "add";
|
||||
final public const TYPE_WITHDRAW = "withdraw";
|
||||
final public const TYPE_MOVE = "move";
|
||||
|
||||
protected string $typeString = 'part_stock_changed';
|
||||
|
||||
protected const COMMENT_MAX_LENGTH = 300;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue