src/Entity/Otpusk/TRefsType.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Otpusk;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\Otpusk\tRefsTypeRepository")
  6.  *
  7.  * @ORM\Table(
  8.  *     name="tRefsType",
  9.  *     uniqueConstraints={@ORM\UniqueConstraint(name="b_o", columns={"fBindType", "fOrder"}), @ORM\UniqueConstraint(name="fCode", columns={"fCode"})}, indexes={@ORM\Index(name="fDynamic", columns={"fDynamic"}), @ORM\Index(name="fView", columns={"fView"})},
  10.  * )
  11.  */
  12. class TRefsType
  13. {
  14.     /**
  15.      * @ORM\Id()
  16.      * @ORM\GeneratedValue()
  17.      * @ORM\Column(name="rec_id", type="smallint", options={"unsigned"=true})
  18.      */
  19.     private $rec_id;
  20.     /**
  21.      * @ORM\Column(name="fBindType", type="tRefsTypeFBindType", options={"default"="other"}, nullable=false)
  22.      */
  23.     private $fBindType;
  24.     /**
  25.      * @ORM\Column(type="string", length=64)
  26.      */
  27.     private $fCode;
  28.     /**
  29.      * @ORM\Column(type="string", length=64)
  30.      */
  31.     private $fName;
  32.     /**
  33.      * @ORM\Column(type="string", length=64)
  34.      */
  35.     private $fNameUkr;
  36.     /**
  37.      * @ORM\Column(type="string", length=512, nullable=false, options={"comment":"на каких проектаx/подпроектах показывать"})
  38.      */
  39.     private $fProject;
  40.     /**
  41.      * @ORM\Column(type="smallint", options={"unsigned"=true})
  42.      */
  43.     private $fOrder;
  44.     /**
  45.      * @ORM\Column(name="fFullView", type="tRefsTypeFFullView", options={"default":"no"}, nullable=false)
  46.      */
  47.     private $fFullView;
  48.     /**
  49.      * @ORM\Column(name="fView", type="tRefsTypeFView", options={"default":300}, nullable=false)
  50.      */
  51.     private $fView;
  52.     /**
  53.      * @ORM\Column(name="fDynamic", type="tRefsTypeFDynamic", options={"default":"no"}, nullable=false)
  54.      */
  55.     private $fDynamic;
  56.     public function getId(): ?int
  57.     {
  58.         return $this->rec_id;
  59.     }
  60.     public function getFBindType(): ?string
  61.     {
  62.         return $this->fBindType;
  63.     }
  64.     public function setFBindType(string $fBindType): self
  65.     {
  66.         $this->fBindType $fBindType;
  67.         return $this;
  68.     }
  69.     public function getFCode(): ?string
  70.     {
  71.         return $this->fCode;
  72.     }
  73.     public function setFCode(string $fCode): self
  74.     {
  75.         $this->fCode $fCode;
  76.         return $this;
  77.     }
  78.     public function getFName(): ?string
  79.     {
  80.         return $this->fName;
  81.     }
  82.     public function setFName(string $fName): self
  83.     {
  84.         $this->fName $fName;
  85.         return $this;
  86.     }
  87.     public function getFNameUkr(): ?string
  88.     {
  89.         return $this->fNameUkr;
  90.     }
  91.     public function setFNameUkr(string $fNameUkr): self
  92.     {
  93.         $this->fNameUkr $fNameUkr;
  94.         return $this;
  95.     }
  96.     public function getFProject(): ?string
  97.     {
  98.         return $this->fProject;
  99.     }
  100.     public function setFProject(string $fProject): self
  101.     {
  102.         $this->fProject $fProject;
  103.         return $this;
  104.     }
  105.     public function getFOrder(): ?int
  106.     {
  107.         return $this->fOrder;
  108.     }
  109.     public function setFOrder(int $fOrder): self
  110.     {
  111.         $this->fOrder $fOrder;
  112.         return $this;
  113.     }
  114.     public function getFFullView(): ?string
  115.     {
  116.         return $this->fFullView;
  117.     }
  118.     public function setFFullView(string $fFullView): self
  119.     {
  120.         $this->fFullView $fFullView;
  121.         return $this;
  122.     }
  123.     public function getFView(): ?string
  124.     {
  125.         return $this->fView;
  126.     }
  127.     public function setFView(string $fView): self
  128.     {
  129.         $this->fView $fView;
  130.         return $this;
  131.     }
  132.     public function getFDynamic(): ?string
  133.     {
  134.         return $this->fDynamic;
  135.     }
  136.     public function setFDynamic(string $fDynamic): self
  137.     {
  138.         $this->fDynamic $fDynamic;
  139.         return $this;
  140.     }
  141.     public function __toString()
  142.     {
  143.         return $this->getFName();
  144.     }
  145. }