<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CellOperation
*
* @ORM\Table(name="cell_operation", uniqueConstraints={@ORM\UniqueConstraint(name="label", columns={"label"})})
* @ORM\Entity()
*/
class CellOperation
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="label", type="string", length=255, nullable=false)
*/
private $label;
/**
* @var \DateTime
*
* @ORM\Column(name="date", type="datetime", nullable=false)
*/
private $date;
/**
* @var string
*
* @ORM\Column(name="movement_type", type="string", length=255, nullable=false)
*/
private $movementType;
public function getId(): ?int
{
return $this->id;
}
public function getLabel(): ?string
{
return $this->label;
}
public function setLabel(string $label): self
{
$this->label = $label;
return $this;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function isMovementType(): ?bool
{
return $this->movementType;
}
public function setMovementType(bool $movementType): self
{
$this->movementType = $movementType;
return $this;
}
public function getMovementType(): ?string
{
return $this->movementType;
}
}