src/Entity/DocContract.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DocContractRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=DocContractRepository::class)
  7.  */
  8. class DocContract
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="text", nullable=true)
  18.      */
  19.     private $contractualDocument;
  20.     /**
  21.      * @ORM\Column(type="integer", nullable=true)
  22.      */
  23.     private $companyId;
  24.     /**
  25.      * @ORM\Column(type="integer", nullable=true)
  26.      * ID de la sala (En caso de GP)
  27.      */
  28.     private $modelId;
  29.     /**
  30.      * @ORM\Column(type="integer", nullable=true)
  31.      * ID del expediente
  32.      */
  33.     private $fileId;
  34.     /**
  35.      * @ORM\Column(type="integer", nullable=true)
  36.      */
  37.     private $clientId;
  38.     /**
  39.      * @var \DateTime
  40.      *
  41.      * @ORM\Column(name="created_at", type="datetime", nullable=true)
  42.      */
  43.     private $createdAt;
  44.     /**
  45.      * @var int
  46.      *
  47.      * @ORM\Column(name="created_id", type="integer", nullable=true)
  48.      */
  49.     private $createdId;
  50.     /**
  51.      * @var \DateTime
  52.      *
  53.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  54.      */
  55.     private $updatedAt;
  56.     /**
  57.      * @var int
  58.      *
  59.      * @ORM\Column(name="updated_id", type="integer", nullable=true)
  60.      */
  61.     private $updatedId;
  62.     /**
  63.      * @var \DateTime
  64.      *
  65.      * @ORM\Column(name="date_at", type="datetime", nullable=true)
  66.      * Fecha del contrato
  67.      */
  68.     private $dateAt;
  69.     /**
  70.      * @ORM\Column(name="booking_data", type="text", nullable=true)
  71.      * Especificaciones para la reserva, deposito y monto
  72.      */
  73.     private $bookingData;
  74.     /**
  75.      * @ORM\Column(name="client_proxy", type="string", length=255, nullable=true)
  76.      * Representante del cliente de cara al contrato.
  77.      */
  78.     private $clientProxy;
  79.     /**
  80.      * @ORM\Column(name="client_job", type="string", length=255, nullable=true)
  81.      * LĂ­nea de negocio del cliente
  82.      */
  83.     private $clientJob;
  84.     public function getId(): ?int
  85.     {
  86.         return $this->id;
  87.     }
  88.     public function getContractualDocument(): ?string
  89.     {
  90.         return $this->contractualDocument;
  91.     }
  92.     public function setContractualDocument(string $contractualDocument): self
  93.     {
  94.         $this->contractualDocument $contractualDocument;
  95.         return $this;
  96.     }
  97.     public function getCompanyId(): ?int
  98.     {
  99.         return $this->companyId;
  100.     }
  101.     public function setCompanyId(int $companyId): self
  102.     {
  103.         $this->companyId $companyId;
  104.         return $this;
  105.     }
  106.     public function getModelId(): ?int
  107.     {
  108.         return $this->modelId;
  109.     }
  110.     public function setModelId(int $modelId): self
  111.     {
  112.         $this->modelId $modelId;
  113.         return $this;
  114.     }
  115.     public function getFileId(): ?int
  116.     {
  117.         return $this->fileId;
  118.     }
  119.     public function setFileId(int $fileId): self
  120.     {
  121.         $this->fileId $fileId;
  122.         return $this;
  123.     }
  124.     public function getClientId(): ?int
  125.     {
  126.         return $this->clientId;
  127.     }
  128.     public function setClientId(int $clientId): self
  129.     {
  130.         $this->clientId $clientId;
  131.         return $this;
  132.     }
  133.     /**
  134.      * Set createdAt
  135.      *
  136.      * @param \Datetime $createdAt
  137.      *
  138.      * @return DocContract
  139.      */
  140.     public function setCreatedAt(\Datetime $createdAt)
  141.     {
  142.         $this->createdAt $createdAt;
  143.         return $this;
  144.     }
  145.     /**
  146.      * Get createdAt
  147.      *
  148.      * @return \Datetime
  149.      */
  150.     public function getCreatedAt()
  151.     {
  152.         return $this->createdAt;
  153.     }
  154.     /**
  155.      * Set createdId
  156.      *
  157.      * @param integer $createdId
  158.      *
  159.      * @return DocContract
  160.      */
  161.     public function setCreatedId($createdId)
  162.     {
  163.         $this->createdId $createdId;
  164.         return $this;
  165.     }
  166.     /**
  167.      * Get createdId
  168.      *
  169.      * @return int
  170.      */
  171.     public function getCreatedId()
  172.     {
  173.         return $this->createdId;
  174.     }
  175.     /**
  176.      * Set updatedAt
  177.      *
  178.      * @param \Datetime $updatedAt
  179.      *
  180.      * @return DocContract
  181.      */
  182.     public function setUpdatedAt(\Datetime $updatedAt)
  183.     {
  184.         $this->updatedAt $updatedAt;
  185.         return $this;
  186.     }
  187.     /**
  188.      * Get updatedAt
  189.      *
  190.      * @return \Datetime
  191.      */
  192.     public function getUpdatedAt()
  193.     {
  194.         return $this->updatedAt;
  195.     }
  196.     /**
  197.      * Set updatedId
  198.      *
  199.      * @param integer $updatedId
  200.      *
  201.      * @return DocContract
  202.      */
  203.     public function setUpdatedId($updatedId)
  204.     {
  205.         $this->updatedId $updatedId;
  206.         return $this;
  207.     }
  208.     /**
  209.      * Get updatedId
  210.      *
  211.      * @return int
  212.      */
  213.     public function getUpdatedId()
  214.     {
  215.         return $this->updatedId;
  216.     }
  217.     /**
  218.      * Set dateAt
  219.      *
  220.      * @param \Datetime $dateAt
  221.      *
  222.      * @return DocContract
  223.      */
  224.     public function setDateAt(\Datetime $dateAt)
  225.     {
  226.         $this->dateAt $dateAt;
  227.         return $this;
  228.     }
  229.     /**
  230.      * Get dateAt
  231.      *
  232.      * @return \Datetime
  233.      */
  234.     public function getDateAt()
  235.     {
  236.         return $this->dateAt;
  237.     }
  238.     /**
  239.      * Set bookingData
  240.      *
  241.      * @param string $bookingData
  242.      *
  243.      * @return DocContract
  244.      */
  245.     public function setBookingData($bookingData)
  246.     {
  247.         $this->bookingData $bookingData;
  248.         return $this;
  249.     }
  250.     /**
  251.      * Get bookingData
  252.      *
  253.      * @return string
  254.      */
  255.     public function getBookingData()
  256.     {
  257.         return $this->bookingData;
  258.     }
  259.     public function getClientProxy(): ?string
  260.     {
  261.         return $this->clientProxy;
  262.     }
  263.     public function setClientProxy(string $clientProxy): self
  264.     {
  265.         $this->clientProxy $clientProxy;
  266.         return $this;
  267.     }
  268.     public function getClientJob(): ?string
  269.     {
  270.         return $this->clientJob;
  271.     }
  272.     public function setClientJob(string $clientJob): self
  273.     {
  274.         $this->clientJob $clientJob;
  275.         return $this;
  276.     }
  277. }