src/Entity/Supplier.php line 17

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Constants\Typology;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Symfony\Component\Validator\Constraints as Assert;
  6. use Symfony\Component\Serializer\Annotation\Groups;
  7. /**
  8.  * Supplier
  9.  *
  10.  * @ORM\Table(name="suppliers")
  11.  * @ORM\Entity(repositoryClass="App\Repository\SupplierRepository")
  12.  * @ORM\HasLifecycleCallbacks()
  13.  */
  14. class Supplier
  15. {
  16.     /**
  17.      * @var int
  18.      *
  19.      * @ORM\Column(name="id", type="integer")
  20.      * @ORM\Id
  21.      * @ORM\GeneratedValue(strategy="AUTO")
  22.      * 
  23.      * @Groups({"destination", "supplier:read"})
  24.      */
  25.     private $id;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="company", type="string", length=255, nullable=true)
  30.      * 
  31.      * @Groups({"destination", "supplier:read"})
  32.      */
  33.     private $company;
  34.     /**
  35.      * @var string
  36.      *
  37.      * @ORM\Column(name="group_id", type="integer", nullable=true)
  38.      */
  39.     private $groupId;
  40.     /**
  41.      * @var string
  42.      *
  43.      * @ORM\Column(name="contact", type="string", length=255, nullable=true)
  44.      */
  45.     private $contact;
  46.     
  47.     /**
  48.      * @var string
  49.      *
  50.      * @ORM\Column(name="type_document", type="string", length=255, nullable=true)
  51.      */
  52.     private $typeDocument;
  53.     /**
  54.      * @var string
  55.      *
  56.      * @ORM\Column(name="id_document", type="string", length=255, nullable=true)
  57.      */
  58.     private $idDocument;
  59.     /**
  60.      * @var string
  61.      *
  62.      * @ORM\Column(name="address", type="string", length=255)
  63.      * @Assert\NotBlank()
  64.      * 
  65.      * @Groups({"destination", "supplier:read"})
  66.      */
  67.     private $address;
  68.     /**
  69.      * @var string
  70.      *
  71.      * @ORM\Column(name="population", type="string", length=255)
  72.      * @Assert\NotBlank()
  73.      */
  74.     private $population;
  75.     /**
  76.      * @var string
  77.      *
  78.      * @ORM\Column(name="province", type="string", length=255)
  79.      * @Assert\NotBlank()
  80.      */
  81.     private $province;
  82.     /**
  83.      * @var string
  84.      *
  85.      * @ORM\Column(name="region", type="string", length=255)
  86.      * @Assert\NotBlank()
  87.      */
  88.     private $region;
  89.     /**
  90.      * @var string
  91.      *
  92.      * @ORM\Column(name="zip_code", type="string", length=255, nullable=true)
  93.      */
  94.     private $zipCode;
  95.     /**
  96.      * @var string
  97.      *
  98.      * @ORM\Column(name="country", type="string", length=255)
  99.      * @Assert\NotBlank()
  100.      */
  101.     private $country;
  102.     /**
  103.      * @var string
  104.      *
  105.      * @ORM\Column(name="telephone", type="string", length=255)
  106.      * @Assert\NotBlank()
  107.      * 
  108.      * @Groups({"destination"})
  109.      */
  110.     private $telephone;
  111.     /**
  112.      * @var string
  113.      *
  114.      * @ORM\Column(name="fax", type="string", length=255, nullable=true)
  115.      */
  116.     private $fax;
  117.     /**
  118.      * @var string
  119.      *
  120.      * @ORM\Column(name="email", type="string", length=255, nullable=true)
  121.      * 
  122.      * @Groups({"destination"})
  123.      */
  124.     private $email;
  125.     /**
  126.      * @var string
  127.      *
  128.      * @ORM\Column(name="type", type="string", length=255, nullable=true)
  129.      * @Assert\NotBlank()
  130.      */
  131.     private $type;
  132.     /**
  133.      * @var string
  134.      *
  135.      * @ORM\Column(name="tags", type="string", length=255, nullable=true)
  136.      */
  137.     private $tags;
  138.     /**
  139.      * @var string
  140.      *
  141.      * @ORM\Column(name="preference", type="string", length=255)
  142.      * @Assert\NotBlank()
  143.      * 
  144.      * @Groups({"destination"})
  145.      */
  146.     private $preference;
  147.     /**
  148.      * @var int
  149.      *
  150.      * @ORM\Column(name="created_id", type="integer")
  151.      */
  152.     private $createdId;
  153.     /**
  154.      * @var \DateTime
  155.      *
  156.      * @ORM\Column(name="created_at", type="datetime")
  157.      */
  158.     private $createdAt;
  159.     /**
  160.      * @var int
  161.      *
  162.      * @ORM\Column(name="updated_id", type="integer")
  163.      */
  164.     private $updatedId;
  165.     /**
  166.      * @var \DateTime
  167.      *
  168.      * @ORM\Column(name="updated_at", type="datetime")
  169.      */
  170.     private $updatedAt;
  171.     /**
  172.      * @var bool
  173.      *
  174.      * @ORM\Column(name="state", type="boolean")
  175.      */
  176.     private $state;
  177.     /**
  178.      * @var string
  179.      *
  180.      * @ORM\Column(name="picture", type="string", length=255, nullable=true)
  181.      */
  182.     private $picture;
  183.     /**
  184.      * @var string
  185.      *
  186.      * @ORM\Column(name="observation", type="text", nullable=true)
  187.      */
  188.     private $observation;
  189.     /**
  190.      * @var string
  191.      *
  192.      * @ORM\Column(name="terms", type="text", nullable=true)
  193.      */
  194.     private $terms;
  195.     /**
  196.      * @var string
  197.      *
  198.      * @ORM\Column(name="star", type="string", length=255, nullable=true)
  199.      */
  200.     private $star;
  201.     /**
  202.      * @var string
  203.      *
  204.      * @ORM\Column(name="name", type="string", length=255, nullable=true)
  205.      * 
  206.      * @Groups({"destination", "supplier:read"})
  207.      */
  208.     private $name;
  209.     /**
  210.      * @var string
  211.      *
  212.      * @ORM\Column(name="url", type="string", length=255, nullable=true)
  213.      * 
  214.      * @Groups({"destination"})
  215.      */
  216.     private $url;
  217.     /**
  218.      * @var string
  219.      *
  220.      * @ORM\Column(name="commission", type="string", length=255, nullable=true)
  221.      */
  222.     private $commission;
  223.     /**
  224.      * @var string
  225.      *
  226.      * @ORM\Column(name="iva", type="string", length=255, nullable=true)
  227.      */
  228.     private $iva;
  229.     /**
  230.      * @var int
  231.      *
  232.      * @ORM\Column(name="accommodation", type="integer", nullable=true)
  233.      */
  234.     private $accommodation;
  235.     /**
  236.      * @var bool
  237.      *
  238.      * @ORM\Column(name="is_supplier_in_out", type="boolean", nullable=true)
  239.      */
  240.     private $isSupplierInOut;
  241.     /**
  242.      * @var bool
  243.      *
  244.      * @ORM\Column(name="is_supplier_green_patio", type="boolean", nullable=true)
  245.      */
  246.     private $isSupplierGreenPatio;
  247.     /**
  248.      * @var bool
  249.      *
  250.      * @ORM\Column(name="is_supplier_av_express", type="boolean", nullable=true)
  251.      */
  252.     private $isSupplierAvExpress;
  253.     /**
  254.      * @var bool
  255.      *
  256.      * @ORM\Column(name="is_supplier_develup", type="boolean", nullable=true)
  257.      */
  258.     private $isSupplierDevelup;
  259.     /**
  260.      * @ORM\Column(type="string", length=100, nullable=true)
  261.      */
  262.     private $typology;
  263.     /**
  264.      * Get id
  265.      *
  266.      * @return int
  267.      */
  268.     public function getId()
  269.     {
  270.         return $this->id;
  271.     }
  272.     /**
  273.      * Set groupId
  274.      *
  275.      * @param integer $groupId
  276.      *
  277.      * @return Supplier
  278.      */
  279.     public function setGroupId($groupId)
  280.     {
  281.         $this->groupId $groupId;
  282.         return $this;
  283.     }
  284.     /**
  285.      * Get groupId
  286.      *
  287.      * @return integer
  288.      */
  289.     public function getGroupId()
  290.     {
  291.         return $this->groupId;
  292.     }
  293.     /**
  294.      * Set company
  295.      *
  296.      * @param string $company
  297.      *
  298.      * @return Supplier
  299.      */
  300.     public function setCompany($company)
  301.     {
  302.         $this->company $company;
  303.         return $this;
  304.     }
  305.     /**
  306.      * Get company
  307.      *
  308.      * @return string
  309.      */
  310.     public function getCompany()
  311.     {
  312.         return $this->company;
  313.     }
  314.     /**
  315.      * Set contact
  316.      *
  317.      * @param string $contact
  318.      *
  319.      * @return Supplier
  320.      */
  321.     public function setContact($contact)
  322.     {
  323.         $this->contact $contact;
  324.         return $this;
  325.     }
  326.     /**
  327.      * Get contact
  328.      *
  329.      * @return string
  330.      */
  331.     public function getContact()
  332.     {
  333.         return $this->contact;
  334.     }
  335.     /**
  336.      * Set idDocument
  337.      *
  338.      * @param string $idDocument
  339.      *
  340.      * @return Supplier
  341.      */
  342.     public function setIdDocument($idDocument)
  343.     {
  344.         $this->idDocument $idDocument;
  345.         return $this;
  346.     }
  347.     /**
  348.      * Get idDocument
  349.      *
  350.      * @return string
  351.      */
  352.     public function getIdDocument()
  353.     {
  354.         return $this->idDocument;
  355.     }
  356.     /**
  357.      * Set address
  358.      *
  359.      * @param string $address
  360.      *
  361.      * @return Supplier
  362.      */
  363.     public function setAddress($address)
  364.     {
  365.         $this->address $address;
  366.         return $this;
  367.     }
  368.     /**
  369.      * Get address
  370.      *
  371.      * @return string
  372.      */
  373.     public function getAddress()
  374.     {
  375.         return $this->address;
  376.     }
  377.     /**
  378.      * Set population
  379.      *
  380.      * @param string $population
  381.      *
  382.      * @return Supplier
  383.      */
  384.     public function setPopulation($population)
  385.     {
  386.         $this->population $population;
  387.         return $this;
  388.     }
  389.     /**
  390.      * Get population
  391.      *
  392.      * @return string
  393.      */
  394.     public function getPopulation()
  395.     {
  396.         return $this->population;
  397.     }
  398.     /**
  399.      * Set province
  400.      *
  401.      * @param string $province
  402.      *
  403.      * @return Supplier
  404.      */
  405.     public function setProvince($province)
  406.     {
  407.         $this->province $province;
  408.         return $this;
  409.     }
  410.     /**
  411.      * Get province
  412.      *
  413.      * @return string
  414.      */
  415.     public function getProvince()
  416.     {
  417.         return $this->province;
  418.     }
  419.     /**
  420.      * Set zipCode
  421.      *
  422.      * @param string $zipCode
  423.      *
  424.      * @return Supplier
  425.      */
  426.     public function setZipCode($zipCode)
  427.     {
  428.         $this->zipCode $zipCode;
  429.         return $this;
  430.     }
  431.     /**
  432.      * Get zipCode
  433.      *
  434.      * @return string
  435.      */
  436.     public function getZipCode()
  437.     {
  438.         return $this->zipCode;
  439.     }
  440.     /**
  441.      * Set country
  442.      *
  443.      * @param string $country
  444.      *
  445.      * @return Supplier
  446.      */
  447.     public function setCountry($country)
  448.     {
  449.         $this->country $country;
  450.         return $this;
  451.     }
  452.     /**
  453.      * Get country
  454.      *
  455.      * @return string
  456.      */
  457.     public function getCountry()
  458.     {
  459.         return $this->country;
  460.     }
  461.     /**
  462.      * Set telephone
  463.      *
  464.      * @param string $telephone
  465.      *
  466.      * @return Supplier
  467.      */
  468.     public function setTelephone($telephone)
  469.     {
  470.         $this->telephone $telephone;
  471.         return $this;
  472.     }
  473.     /**
  474.      * Get telephone
  475.      *
  476.      * @return string
  477.      */
  478.     public function getTelephone()
  479.     {
  480.         return $this->telephone;
  481.     }
  482.     /**
  483.      * Set fax
  484.      *
  485.      * @param string $fax
  486.      *
  487.      * @return Supplier
  488.      */
  489.     public function setFax($fax)
  490.     {
  491.         $this->fax $fax;
  492.         return $this;
  493.     }
  494.     /**
  495.      * Get fax
  496.      *
  497.      * @return string
  498.      */
  499.     public function getFax()
  500.     {
  501.         return $this->fax;
  502.     }
  503.     /**
  504.      * Set email
  505.      *
  506.      * @param string $email
  507.      *
  508.      * @return Supplier
  509.      */
  510.     public function setEmail($email)
  511.     {
  512.         $this->email $email;
  513.         return $this;
  514.     }
  515.     /**
  516.      * Get email
  517.      *
  518.      * @return string
  519.      */
  520.     public function getEmail()
  521.     {
  522.         return $this->email;
  523.     }
  524.     /**
  525.      * Set type
  526.      *
  527.      * @param string $type
  528.      *
  529.      * @return Supplier
  530.      */
  531.     public function setType($type)
  532.     {
  533.         $this->type $type;
  534.         return $this;
  535.     }
  536.     /**
  537.      * Get type
  538.      *
  539.      * @return string
  540.      */
  541.     public function getType()
  542.     {
  543.         return $this->type;
  544.     }
  545.     /**
  546.      * Set preference
  547.      *
  548.      * @param string $preference
  549.      *
  550.      * @return Supplier
  551.      */
  552.     public function setPreference($preference)
  553.     {
  554.         $this->preference $preference;
  555.         return $this;
  556.     }
  557.     /**
  558.      * Get preference
  559.      *
  560.      * @return string
  561.      */
  562.     public function getPreference()
  563.     {
  564.         return $this->preference;
  565.     }
  566.     /**
  567.      * Set createdId
  568.      *
  569.      * @param integer $createdId
  570.      *
  571.      * @return Supplier
  572.      */
  573.     public function setCreatedId($createdId)
  574.     {
  575.         $this->createdId $createdId;
  576.         return $this;
  577.     }
  578.     /**
  579.      * Get createdId
  580.      *
  581.      * @return int
  582.      */
  583.     public function getCreatedId()
  584.     {
  585.         return $this->createdId;
  586.     }
  587.     /**
  588.      * Set updatedId
  589.      *
  590.      * @param integer $updatedId
  591.      *
  592.      * @return Supplier
  593.      */
  594.     public function setUpdatedId($updatedId)
  595.     {
  596.         $this->updatedId $updatedId;
  597.         return $this;
  598.     }
  599.     /**
  600.      * Get updatedId
  601.      *
  602.      * @return int
  603.      */
  604.     public function getUpdatedId()
  605.     {
  606.         return $this->updatedId;
  607.     }
  608.     /**
  609.      * Set state
  610.      *
  611.      * @param boolean $state
  612.      *
  613.      * @return Supplier
  614.      */
  615.     public function setState($state)
  616.     {
  617.         $this->state $state;
  618.         return $this;
  619.     }
  620.     /**
  621.      * Get state
  622.      *
  623.      * @return bool
  624.      */
  625.     public function getState()
  626.     {
  627.         return $this->state;
  628.     }
  629.     /**
  630.      * Set picture
  631.      *
  632.      * @param string $picture
  633.      *
  634.      * @return Supplier
  635.      */
  636.     public function setPicture($picture)
  637.     {
  638.         $this->picture $picture;
  639.         return $this;
  640.     }
  641.     /**
  642.      * Get picture
  643.      *
  644.      * @return string
  645.      */
  646.     public function getPicture()
  647.     {
  648.         return $this->picture;
  649.     }
  650.     /**
  651.      * Set observation
  652.      *
  653.      * @param string $observation
  654.      *
  655.      * @return Supplier
  656.      */
  657.     public function setObservation($observation)
  658.     {
  659.         $this->observation $observation;
  660.         return $this;
  661.     }
  662.     /**
  663.      * Get observation
  664.      *
  665.      * @return string
  666.      */
  667.     public function getObservation()
  668.     {
  669.         return $this->observation;
  670.     }
  671.     /**
  672.      * Set createdAt
  673.      *
  674.      * @param \Datetime $createdAt
  675.      *
  676.      * @return Supplier
  677.      */
  678.     public function setCreatedAt(\Datetime $createdAt)
  679.     {
  680.         $this->createdAt $createdAt;
  681.         return $this;
  682.     }
  683.     /**
  684.      * Get createdAt
  685.      *
  686.      * @return \DateTime
  687.      */
  688.     public function getCreatedAt()
  689.     {
  690.         return $this->createdAt;
  691.     }
  692.     /**
  693.      * Set updatedAt
  694.      *
  695.      * @param \Datetime $updatedAt
  696.      *
  697.      * @return Supplier
  698.      */
  699.     public function setUpdatedAt(\Datetime $updatedAt)
  700.     {
  701.         $this->updatedAt $updatedAt;
  702.         return $this;
  703.     }
  704.     /**
  705.      * Get updatedAt
  706.      *
  707.      * @return \DateTime
  708.      */
  709.     public function getUpdatedAt()
  710.     {
  711.         return $this->updatedAt;
  712.     }
  713.     /**
  714.      * @ORM\PrePersist
  715.      */
  716.     public function setCreatedAtValue()
  717.     {
  718.         $this->createdAt = new \Datetime();
  719.     }
  720.     /**
  721.      * @ORM\PrePersist
  722.      * @ORM\PreUpdate
  723.      */
  724.     public function setUpdatedAtValue()
  725.     {
  726.         $this->updatedAt = new \Datetime();
  727.     }
  728.     /**
  729.      * Set star
  730.      *
  731.      * @param string $star
  732.      *
  733.      * @return Supplier
  734.      */
  735.     public function setStar($star)
  736.     {
  737.         $this->star $star;
  738.         return $this;
  739.     }
  740.     /**
  741.      * Get star
  742.      *
  743.      * @return string
  744.      */
  745.     public function getStar()
  746.     {
  747.         return $this->star;
  748.     }
  749.     /**
  750.      * Set name
  751.      *
  752.      * @param string $name
  753.      *
  754.      * @return Supplier
  755.      */
  756.     public function setName($name)
  757.     {
  758.         $this->name $name;
  759.         return $this;
  760.     }
  761.     /**
  762.      * Get name
  763.      *
  764.      * @return string
  765.      */
  766.     public function getName()
  767.     {
  768.         return $this->name;
  769.     }
  770.     /**
  771.      * Set url
  772.      *
  773.      * @param string $url
  774.      *
  775.      * @return Supplier
  776.      */
  777.     public function setUrl($url)
  778.     {
  779.         $this->url $url;
  780.         return $this;
  781.     }
  782.     /**
  783.      * Get url
  784.      *
  785.      * @return string
  786.      */
  787.     public function getUrl()
  788.     {
  789.         return $this->url;
  790.     }
  791.     /**
  792.      * Set commission
  793.      *
  794.      * @param string $commission
  795.      *
  796.      * @return Supplier
  797.      */
  798.     public function setCommission($commission)
  799.     {
  800.         $this->commission $commission;
  801.         return $this;
  802.     }
  803.     /**
  804.      * Get commission
  805.      *
  806.      * @return string
  807.      */
  808.     public function getCommission()
  809.     {
  810.         return $this->commission;
  811.     }
  812.     /**
  813.      * Set iva
  814.      *
  815.      * @param string $iva
  816.      *
  817.      * @return Supplier
  818.      */
  819.     public function setIva($iva)
  820.     {
  821.         $this->iva $iva;
  822.         return $this;
  823.     }
  824.     /**
  825.      * Get iva
  826.      *
  827.      * @return string
  828.      */
  829.     public function getIva()
  830.     {
  831.         return $this->iva;
  832.     }
  833.     /**
  834.      * Set terms
  835.      *
  836.      * @param string $terms
  837.      *
  838.      * @return Supplier
  839.      */
  840.     public function setTerms($terms)
  841.     {
  842.         $this->terms $terms;
  843.         return $this;
  844.     }
  845.     /**
  846.      * Get terms
  847.      *
  848.      * @return string
  849.      */
  850.     public function getTerms()
  851.     {
  852.         return $this->terms;
  853.     }
  854.     /**
  855.      * Set typeDocument
  856.      *
  857.      * @param string $typeDocument
  858.      *
  859.      * @return Supplier
  860.      */
  861.     public function setTypeDocument($typeDocument)
  862.     {
  863.         $this->typeDocument $typeDocument;
  864.         return $this;
  865.     }
  866.     /**
  867.      * Get typeDocument
  868.      *
  869.      * @return string
  870.      */
  871.     public function getTypeDocument()
  872.     {
  873.         return $this->typeDocument;
  874.     }
  875.     /**
  876.      * Set accommodation
  877.      *
  878.      * @param integer $accommodation
  879.      *
  880.      * @return Supplier
  881.      */
  882.     public function setAccommodation($accommodation)
  883.     {
  884.         $this->accommodation $accommodation;
  885.         return $this;
  886.     }
  887.     /**
  888.      * Get accommodation
  889.      *
  890.      * @return int
  891.      */
  892.     public function getAccommodation()
  893.     {
  894.         return $this->accommodation;
  895.     }
  896.     /**
  897.      * Set tags
  898.      *
  899.      * @param string $tags
  900.      *
  901.      * @return Supplier
  902.      */
  903.     public function setTags($tags)
  904.     {
  905.         $this->tags $tags;
  906.         return $this;
  907.     }
  908.     /**
  909.      * Get tags
  910.      *
  911.      * @return string
  912.      */
  913.     public function getTags()
  914.     {
  915.         return $this->tags;
  916.     }
  917.     /**
  918.      * Set region
  919.      *
  920.      * @param string $region
  921.      *
  922.      * @return Supplier
  923.      */
  924.     public function setRegion($region)
  925.     {
  926.         $this->region $region;
  927.         return $this;
  928.     }
  929.     /**
  930.      * Get region
  931.      *
  932.      * @return string
  933.      */
  934.     public function getRegion()
  935.     {
  936.         return $this->region;
  937.     }
  938.     /**
  939.      * Set isSupplierInOut
  940.      *
  941.      * @param boolean $isSupplierInOut
  942.      *
  943.      * @return Supplier
  944.      */
  945.     public function setIsSupplierInOut($isSupplierInOut)
  946.     {
  947.         $this->isSupplierInOut $isSupplierInOut;
  948.         return $this;
  949.     }
  950.     /**
  951.      * Get isSupplierInOut
  952.      *
  953.      * @return boolean
  954.      */
  955.     public function getIsSupplierInOut()
  956.     {
  957.         return $this->isSupplierInOut;
  958.     }
  959.     /**
  960.      * Set isSupplierGreenPatio
  961.      *
  962.      * @param boolean $isSupplierGreenPatio
  963.      *
  964.      * @return Supplier
  965.      */
  966.     public function setIsSupplierGreenPatio($isSupplierGreenPatio)
  967.     {
  968.         $this->isSupplierGreenPatio $isSupplierGreenPatio;
  969.         return $this;
  970.     }
  971.     /**
  972.      * Get isSupplierGreenPatio
  973.      *
  974.      * @return boolean
  975.      */
  976.     public function getIsSupplierGreenPatio()
  977.     {
  978.         return $this->isSupplierGreenPatio;
  979.     }
  980.     /**
  981.      * Set isSupplierAvExpress
  982.      *
  983.      * @param boolean $isSupplierAvExpress
  984.      *
  985.      * @return Supplier
  986.      */
  987.     public function setIsSupplierAvExpress($isSupplierAvExpress)
  988.     {
  989.         $this->isSupplierAvExpress $isSupplierAvExpress;
  990.         return $this;
  991.     }
  992.     /**
  993.      * Get isSupplierAvExpress
  994.      *
  995.      * @return boolean
  996.      */
  997.     public function getIsSupplierAvExpress()
  998.     {
  999.         return $this->isSupplierAvExpress;
  1000.     }
  1001.     /**
  1002.      * Set isSupplierDevelup
  1003.      *
  1004.      * @param boolean $isSupplierDevelup
  1005.      *
  1006.      * @return Supplier
  1007.      */
  1008.     public function setIsSupplierDevelup($isSupplierDevelup)
  1009.     {
  1010.         $this->isSupplierDevelup $isSupplierDevelup;
  1011.         return $this;
  1012.     }
  1013.     /**
  1014.      * Get isSupplierDevelup
  1015.      *
  1016.      * @return boolean
  1017.      */
  1018.     public function getIsSupplierDevelup()
  1019.     {
  1020.         return $this->isSupplierDevelup;
  1021.     }
  1022.     public function getTypology(): ?string
  1023.     {
  1024.         return $this->typology;
  1025.     }
  1026.     public function setTypology(?string $typology): self
  1027.     {
  1028.         if (!Typology::isValid($typology)) {
  1029.             throw new \InvalidArgumentException("Sector inválido: $typology");
  1030.         }
  1031.         $this->typology $typology;
  1032.         return $this;
  1033.     }
  1034. }