<?php
declare(strict_types=1);
namespace App\Entity\System;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table
*
* @ORM\Entity(repositoryClass="App\Repository\System\LockStatusRepository")
*/
class LockStatus
{
public const STATUS_NO_TRANSFER = 0;
public const STATUS_AWAITING = 1;
public const STATUS_IN_PROCESS = 2;
public const STATUS_CANCELLED = 3;
public const STATUS_EXPIRED = 4;
public const STATUS_REJECTED = 5;
public const STATUS_FINISHED = 6;
/**
* @var int
*
* @ORM\Id
*
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(name="name", type="string")
*/
private string $name;
public function getId(): int
{
return $this->id;
}
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getName(): string
{
return $this->name;
}
public function setName(string $name): LockStatus
{
$this->name = $name;
return $this;
}
}