src/Entity/DnsitTranslateProductCriterion.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * DnsitTranslateProductCriterion
  6.  *
  7.  * @ORM\Table(name="dnsit_translate_product_criterion",indexes={@ORM\Index(name="search_translate_product_criterion_codes_idx", columns={"criterion_code","modality_code"}), @ORM\Index(name="search_translate_product_criterion_procrimod", columns={"product_id","criterion_id","modality_id"})})
  8.  * @ORM\Entity(repositoryClass="App\Repository\DnsitTranslateProductCriterionRepository")
  9.  */
  10. class DnsitTranslateProductCriterion
  11. {
  12.     /**
  13.      * @var string|null
  14.      *
  15.      * @ORM\Column(name="en_name", type="string", length=255, nullable=true)
  16.      */
  17.     private $enName;
  18.     /**
  19.      * @var string|null
  20.      *
  21.      * @ORM\Column(name="de_name", type="string", length=255, nullable=true)
  22.      */
  23.     private $deName;
  24.     /**
  25.      * @var string|null
  26.      *
  27.      * @ORM\Column(name="nl_name", type="string", length=255, nullable=true)
  28.      */
  29.     private $nlName;
  30.     /**
  31.      * @var string|null
  32.      *
  33.      * @ORM\Column(name="it_name", type="string", length=255, nullable=true)
  34.      */
  35.     private $itName;
  36.     /**
  37.      * @var string|null
  38.      *
  39.      * @ORM\Column(name="es_name", type="string", length=255, nullable=true)
  40.      */
  41.     private $esName;
  42.     /**
  43.      * @ORM\Column(type="string", length=255, nullable=true)
  44.      */
  45.     private $ptName;
  46.     /**
  47.      * @var int|null
  48.      *
  49.      * @ORM\Column(name="product_code", type="bigint", nullable=true)
  50.      */
  51.     private $productCode;
  52.     /**
  53.      * @var int|null
  54.      *
  55.      * @ORM\Column(name="criterion_code", type="bigint", nullable=true)
  56.      */
  57.     private $criterionCode;
  58.     /**
  59.      * @var int|null
  60.      *
  61.      * @ORM\Column(name="modality_code", type="bigint", nullable=true)
  62.      */
  63.     private $modalityCode;
  64.     /**
  65.      * @var string|null
  66.      *
  67.      * @ORM\Column(name="original_text", type="string", length=1000000, nullable=true)
  68.      */
  69.     private $originalText;
  70.     /**
  71.      * @var string|null
  72.      *
  73.      * @ORM\Column(name="value", type="string", length=1000000, nullable=true)
  74.      */
  75.     private $value;
  76.     /**
  77.      * @var string|null
  78.      *
  79.      * @ORM\Column(name="en_value", type="string", length=1000000, nullable=true)
  80.      */
  81.     private $enValue;
  82.     /**
  83.      * @var string|null
  84.      *
  85.      * @ORM\Column(name="de_value", type="string", length=1000000, nullable=true)
  86.      */
  87.     private $deValue;
  88.     /**
  89.      * @var string|null
  90.      *
  91.      * @ORM\Column(name="nl_value", type="string", length=1000000, nullable=true)
  92.      */
  93.     private $nlValue;
  94.     /**
  95.      * @var string|null
  96.      *
  97.      * @ORM\Column(name="it_value", type="string", length=1000000, nullable=true)
  98.      */
  99.     private $itValue;
  100.     /**
  101.      * @var string|null
  102.      *
  103.      * @ORM\Column(name="es_value", type="string", length=1000000, nullable=true)
  104.      */
  105.     private $esValue;
  106.     /**
  107.      * @ORM\Column(type="string", length=1000000, nullable=true)
  108.      */
  109.     private $ptValue;
  110.     /**
  111.      * @var float|null
  112.      *
  113.      * @ORM\Column(name="min_value", type="float", nullable=true)
  114.      */
  115.     private $minValue;
  116.     /**
  117.      * @var float|null
  118.      *
  119.      * @ORM\Column(name="max_value", type="float", nullable=true)
  120.      */
  121.     private $maxValue;
  122.     
  123.     /**
  124.      * @var float|null
  125.      *
  126.      * @ORM\Column(name="int_value", type="float", nullable=true)
  127.      */
  128.     private $intValue;
  129.     /**
  130.      * @var \DateTime|null
  131.      *
  132.      * @ORM\Column(name="date_value", type="datetime", nullable=true)
  133.      */
  134.     private $dateValue;
  135.     /**
  136.      * @var string|null
  137.      *
  138.      * @ORM\Column(name="geo_value", type="string", length=255, nullable=true)
  139.      */
  140.     private $geoValue;
  141.     /**
  142.      * @var int|null
  143.      *
  144.      * @ORM\Column(name="dn_order", type="bigint", nullable=true)
  145.      */
  146.     private $order;
  147.     /**
  148.      * @var int|null
  149.      *
  150.      * @ORM\Column(name="entity", type="bigint", nullable=true)
  151.      */
  152.     private $entity;
  153.     /**
  154.      * @var int|null
  155.      *
  156.      * @ORM\Column(name="marking", type="smallint", nullable=true)
  157.      */
  158.     private $marking;
  159.     /**
  160.      * @var string|null
  161.      *
  162.      * @ORM\Column(name="params", type="text", nullable=true)
  163.      */
  164.     private $params;
  165.     /**
  166.      * @var \DateTime|null
  167.      *
  168.      * @ORM\Column(name="created_at", type="datetime", nullable=true)
  169.      */
  170.     private $createdAt;
  171.     /**
  172.      * @var int|null
  173.      *
  174.      * @ORM\Column(name="created_by", type="bigint", nullable=true)
  175.      */
  176.     private $createdBy;
  177.     /**
  178.      * @var \DateTime|null
  179.      *
  180.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  181.      */
  182.     private $updatedAt;
  183.     /**
  184.      * @var int|null
  185.      *
  186.      * @ORM\Column(name="updated_by", type="bigint", nullable=true)
  187.      */
  188.     private $updatedBy;
  189.     /**
  190.      * @var int
  191.      *
  192.      * @ORM\Column(name="id", type="bigint")
  193.      * @ORM\Id
  194.      * @ORM\GeneratedValue(strategy="IDENTITY")
  195.      */
  196.     private $id;
  197.     /**
  198.      * @var \App\Entity\DnsitTranslateCriterion
  199.      *
  200.      * @ORM\ManyToOne(targetEntity="App\Entity\DnsitTranslateCriterion", cascade={"persist"})
  201.      * @ORM\JoinColumns({
  202.      *   @ORM\JoinColumn(name="criterion_id", referencedColumnName="id", onDelete="CASCADE")
  203.      * })
  204.      */
  205.     private $criterion;
  206.     /**
  207.      * @var \App\Entity\DnsitTranslateModality
  208.      *
  209.      * @ORM\ManyToOne(targetEntity="App\Entity\DnsitTranslateModality", cascade={"persist"})
  210.      * @ORM\JoinColumns({
  211.      *   @ORM\JoinColumn(name="modality_id", referencedColumnName="id", onDelete="CASCADE")
  212.      * })
  213.      */
  214.     private $modality;
  215.     /**
  216.      * @var \App\Entity\DnsitTranslateProduct
  217.      *
  218.      * @ORM\ManyToOne(targetEntity="App\Entity\DnsitTranslateProduct", inversedBy="productCriterions")
  219.      * @ORM\JoinColumns({
  220.      *   @ORM\JoinColumn(name="product_id", referencedColumnName="id", onDelete="CASCADE")
  221.      * })
  222.      */
  223.     private $product;
  224.     /**
  225.      * @ORM\Column(type="json", nullable=true, name="raw_data_en")
  226.      */
  227.     private $rawDataEn;
  228.     /**
  229.      * @ORM\Column(type="json", nullable=true, name="raw_data_de")
  230.      */
  231.     private $rawDataDe;
  232.     /**
  233.      * @ORM\Column(type="json", nullable=true, name="raw_data_es")
  234.      */
  235.     private $rawDataEs;
  236.     /**
  237.      * @ORM\Column(type="json", nullable=true, name="raw_data_it")
  238.      */
  239.     private $rawDataIt;
  240.     /**
  241.      * @ORM\Column(type="json", nullable=true, name="raw_data_nl")
  242.      */
  243.     private $rawDataNl;
  244.     /**
  245.      * @ORM\Column(type="json", nullable=true, name="raw_data_pt")
  246.      */
  247.     private $rawDataPt;
  248.     /**
  249.      * @ORM\Column(type="date", nullable=true)
  250.      */
  251.     private $dateFrom;
  252.     /**
  253.      * @ORM\Column(type="date", nullable=true)
  254.      */
  255.     private $dateTo;
  256.     /**
  257.      * @ORM\Column(type="json", nullable=true, name="automatic_translations")
  258.      */
  259.     private $automaticTranslations;
  260.     public function getEnName(): ?string
  261.     {
  262.         return $this->enName;
  263.     }
  264.     public function setEnName(?string $enName): self
  265.     {
  266.         $this->enName $enName;
  267.         return $this;
  268.     }
  269.     public function getDeName(): ?string
  270.     {
  271.         return $this->deName;
  272.     }
  273.     public function setDeName(?string $deName): self
  274.     {
  275.         $this->deName $deName;
  276.         return $this;
  277.     }
  278.     public function getNlName(): ?string
  279.     {
  280.         return $this->nlName;
  281.     }
  282.     public function setNlName(?string $nlName): self
  283.     {
  284.         $this->nlName $nlName;
  285.         return $this;
  286.     }
  287.     public function getItName(): ?string
  288.     {
  289.         return $this->itName;
  290.     }
  291.     public function setItName(?string $itName): self
  292.     {
  293.         $this->itName $itName;
  294.         return $this;
  295.     }
  296.     public function getEsName(): ?string
  297.     {
  298.         return $this->esName;
  299.     }
  300.     public function setEsName(?string $esName): self
  301.     {
  302.         $this->esName $esName;
  303.         return $this;
  304.     }
  305.     public function getPtName(): ?string
  306.     {
  307.         return $this->ptName;
  308.     }
  309.     public function setPtName(?string $ptName): self
  310.     {
  311.         $this->ptName $ptName;
  312.         return $this;
  313.     }
  314.     public function getProductCode(): ?int
  315.     {
  316.         return $this->productCode;
  317.     }
  318.     public function setProductCode(?int $productCode): self
  319.     {
  320.         $this->productCode $productCode;
  321.         return $this;
  322.     }
  323.     public function getCriterionCode(): ?int
  324.     {
  325.         return $this->criterionCode;
  326.     }
  327.     public function setCriterionCode(?int $criterionCode): self
  328.     {
  329.         $this->criterionCode $criterionCode;
  330.         return $this;
  331.     }
  332.     public function getModalityCode(): ?int
  333.     {
  334.         return $this->modalityCode;
  335.     }
  336.     public function setModalityCode(?int $modalityCode): self
  337.     {
  338.         $this->modalityCode $modalityCode;
  339.         return $this;
  340.     }
  341.     public function getValue(): ?string
  342.     {
  343.         return $this->value;
  344.     }
  345.     public function setValue(?string $value): self
  346.     {
  347.         $this->value $value;
  348.         return $this;
  349.     }
  350.     public function getEnValue(): ?string
  351.     {
  352.         return $this->enValue;
  353.     }
  354.     public function setEnValue(?string $enValue): self
  355.     {
  356.         $this->enValue $enValue;
  357.         return $this;
  358.     }
  359.     public function getDeValue(): ?string
  360.     {
  361.         return $this->deValue;
  362.     }
  363.     public function setDeValue(?string $deValue): self
  364.     {
  365.         $this->deValue $deValue;
  366.         return $this;
  367.     }
  368.     public function getNlValue(): ?string
  369.     {
  370.         return $this->nlValue;
  371.     }
  372.     public function setNlValue(?string $nlValue): self
  373.     {
  374.         $this->nlValue $nlValue;
  375.         return $this;
  376.     }
  377.     public function getItValue(): ?string
  378.     {
  379.         return $this->itValue;
  380.     }
  381.     public function setItValue(?string $itValue): self
  382.     {
  383.         $this->itValue $itValue;
  384.         return $this;
  385.     }
  386.     public function getEsValue(): ?string
  387.     {
  388.         return $this->esValue;
  389.     }
  390.     public function setEsValue(?string $esValue): self
  391.     {
  392.         $this->esValue $esValue;
  393.         return $this;
  394.     }
  395.     public function getPtValue(): ?string
  396.     {
  397.         return $this->ptValue;
  398.     }
  399.     public function setPtValue(?string $ptValue): self
  400.     {
  401.         $this->ptValue $ptValue;
  402.         return $this;
  403.     }
  404.     public function getIntValue(): ?float
  405.     {
  406.         return $this->intValue;
  407.     }
  408.     public function setIntValue(?float $intValue): self
  409.     {
  410.         $this->intValue $intValue;
  411.         return $this;
  412.     }
  413.     public function getDateValue(): ?\DateTimeInterface
  414.     {
  415.         return $this->dateValue;
  416.     }
  417.     public function setDateValue(?\DateTimeInterface $dateValue): self
  418.     {
  419.         $this->dateValue $dateValue;
  420.         return $this;
  421.     }
  422.     public function getGeoValue(): ?string
  423.     {
  424.         return $this->geoValue;
  425.     }
  426.     public function setGeoValue(?string $geoValue): self
  427.     {
  428.         $this->geoValue $geoValue;
  429.         return $this;
  430.     }
  431.     public function getOrder(): ?int
  432.     {
  433.         return $this->order;
  434.     }
  435.     public function setOrder(?int $order): self
  436.     {
  437.         $this->order $order;
  438.         return $this;
  439.     }
  440.     public function getEntity(): ?int
  441.     {
  442.         return $this->entity;
  443.     }
  444.     public function setEntity(?int $entity): self
  445.     {
  446.         $this->entity $entity;
  447.         return $this;
  448.     }
  449.     public function getMarking(): ?int
  450.     {
  451.         return $this->marking;
  452.     }
  453.     public function setMarking(?int $marking): self
  454.     {
  455.         $this->marking $marking;
  456.         return $this;
  457.     }
  458.     public function getParams(): ?string
  459.     {
  460.         return $this->params;
  461.     }
  462.     public function setParams(?string $params): self
  463.     {
  464.         $this->params $params;
  465.         return $this;
  466.     }
  467.     public function getCreatedAt(): ?\DateTimeInterface
  468.     {
  469.         return $this->createdAt;
  470.     }
  471.     public function setCreatedAt(?\DateTimeInterface $createdAt): self
  472.     {
  473.         $this->createdAt $createdAt;
  474.         return $this;
  475.     }
  476.     public function getCreatedBy(): ?int
  477.     {
  478.         return $this->createdBy;
  479.     }
  480.     public function setCreatedBy(?int $createdBy): self
  481.     {
  482.         $this->createdBy $createdBy;
  483.         return $this;
  484.     }
  485.     public function getUpdatedAt(): ?\DateTimeInterface
  486.     {
  487.         return $this->updatedAt;
  488.     }
  489.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  490.     {
  491.         $this->updatedAt $updatedAt;
  492.         return $this;
  493.     }
  494.     public function getUpdatedBy(): ?int
  495.     {
  496.         return $this->updatedBy;
  497.     }
  498.     public function setUpdatedBy(?int $updatedBy): self
  499.     {
  500.         $this->updatedBy $updatedBy;
  501.         return $this;
  502.     }
  503.     public function getId(): ?int
  504.     {
  505.         return $this->id;
  506.     }
  507.     public function getCriterion(): ?DnsitTranslateCriterion
  508.     {
  509.         return $this->criterion;
  510.     }
  511.     public function setCriterion(?DnsitTranslateCriterion $criterion): self
  512.     {
  513.         $this->criterion $criterion;
  514.         return $this;
  515.     }
  516.     public function getModality(): ?DnsitTranslateModality
  517.     {
  518.         return $this->modality;
  519.     }
  520.     public function setModality(?DnsitTranslateModality $modality): self
  521.     {
  522.         $this->modality $modality;
  523.         return $this;
  524.     }
  525.     public function getProduct(): ?DnsitTranslateProduct
  526.     {
  527.         return $this->product;
  528.     }
  529.     public function setProduct(?DnsitTranslateProduct $product): self
  530.     {
  531.         $this->product $product;
  532.         return $this;
  533.     }
  534.     public function getMinValue(): ?float
  535.     {
  536.         return $this->minValue;
  537.     }
  538.     public function setMinValue(?float $minValue): self
  539.     {
  540.         $this->minValue $minValue;
  541.         return $this;
  542.     }
  543.     public function getMaxValue(): ?float
  544.     {
  545.         return $this->maxValue;
  546.     }
  547.     public function setMaxValue(?float $maxValue): self
  548.     {
  549.         $this->maxValue $maxValue;
  550.         return $this;
  551.     }
  552.     public function getRawDataEn(): ?array
  553.     {
  554.         return $this->rawDataEn;
  555.     }
  556.     public function setRawDataEn(?array $rawDataEn): self
  557.     {
  558.         $this->rawDataEn $rawDataEn;
  559.         return $this;
  560.     }
  561.     public function getRawDataDe(): ?array
  562.     {
  563.         return $this->rawDataDe;
  564.     }
  565.     public function setRawDataDe(?array $rawDataDe): self
  566.     {
  567.         $this->rawDataDe $rawDataDe;
  568.         return $this;
  569.     }
  570.     public function getRawDataEs(): ?array
  571.     {
  572.         return $this->rawDataEs;
  573.     }
  574.     public function setRawDataEs(?array $rawDataEs): self
  575.     {
  576.         $this->rawDataEs $rawDataEs;
  577.         return $this;
  578.     }
  579.     public function getRawDataIt(): ?array
  580.     {
  581.         return $this->rawDataIt;
  582.     }
  583.     public function setRawDataIt(?array $rawDataIt): self
  584.     {
  585.         $this->rawDataIt $rawDataIt;
  586.         return $this;
  587.     }
  588.     public function getRawDataNl(): ?array
  589.     {
  590.         return $this->rawDataNl;
  591.     }
  592.     public function setRawDataNl(?array $rawDataNl): self
  593.     {
  594.         $this->rawDataNl $rawDataNl;
  595.         return $this;
  596.     }
  597.     public function getRawDataPt(): ?array
  598.     {
  599.         return $this->rawDataPt;
  600.     }
  601.     public function setRawDataPt(?array $rawDataPt): self
  602.     {
  603.         $this->rawDataPt $rawDataPt;
  604.         return $this;
  605.     }
  606.     public function getDateFrom(): ?\DateTimeInterface
  607.     {
  608.         return $this->dateFrom;
  609.     }
  610.     public function setDateFrom(?\DateTimeInterface $dateFrom): self
  611.     {
  612.         $this->dateFrom $dateFrom;
  613.         return $this;
  614.     }
  615.     public function getDateTo(): ?\DateTimeInterface
  616.     {
  617.         return $this->dateTo;
  618.     }
  619.     public function setDateTo(?\DateTimeInterface $dateTo): self
  620.     {
  621.         $this->dateTo $dateTo;
  622.         return $this;
  623.     }
  624.     public function getAutomaticTranslations(): ?array
  625.     {
  626.         return $this->automaticTranslations;
  627.     }
  628.     public function setAutomaticTranslations(?array $automaticTranslations): self
  629.     {
  630.         $this->automaticTranslations $automaticTranslations;
  631.         return $this;
  632.     }
  633.     public function getOriginalText(): ?string
  634.     {
  635.         return $this->originalText;
  636.     }
  637.     public function setOriginalText(?string $originalText): self
  638.     {
  639.         $this->originalText $originalText;
  640.         return $this;
  641.     }
  642. }