src/Entity/HsitoricTransact.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\HsitoricTransactRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=HsitoricTransactRepository::class)
  7.  */
  8. class HsitoricTransact
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $title;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity=Finance::class)
  22.      * @ORM\JoinColumn(nullable=false)
  23.      */
  24.     private $relation;
  25.     /**
  26.      * @ORM\Column(type="boolean")
  27.      */
  28.     private $entertransact;
  29.     /**
  30.      * @ORM\Column(type="decimal", precision=10, scale=2)
  31.      */
  32.     private $rising;
  33.     /**
  34.      * @ORM\Column(type="text", nullable=true)
  35.      */
  36.     private $description;
  37.     public function getId(): ?int
  38.     {
  39.         return $this->id;
  40.     }
  41.     public function getTitle(): ?string
  42.     {
  43.         return $this->title;
  44.     }
  45.     public function setTitle(string $title): self
  46.     {
  47.         $this->title $title;
  48.         return $this;
  49.     }
  50.     public function getRelation(): ?Finance
  51.     {
  52.         return $this->relation;
  53.     }
  54.     public function setRelation(?Finance $relation): self
  55.     {
  56.         $this->relation $relation;
  57.         return $this;
  58.     }
  59.     public function isEntertransact(): ?bool
  60.     {
  61.         return $this->entertransact;
  62.     }
  63.     public function setEntertransact(bool $entertransact): self
  64.     {
  65.         $this->entertransact $entertransact;
  66.         return $this;
  67.     }
  68.     public function getRising(): ?string
  69.     {
  70.         return $this->rising;
  71.     }
  72.     public function setRising(string $rising): self
  73.     {
  74.         $this->rising $rising;
  75.         return $this;
  76.     }
  77.     public function getDescription(): ?string
  78.     {
  79.         return $this->description;
  80.     }
  81.     public function setDescription(?string $description): self
  82.     {
  83.         $this->description $description;
  84.         return $this;
  85.     }
  86. }