src/Entity/DnsitTranslateProduct.php line 17

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Mask\MarkingCodesMask;
  4. use Doctrine\ORM\EntityManagerInterface;
  5. use Jsor\Doctrine\PostGIS\Types\PostGISType;
  6. use Doctrine\Common\Collections\ArrayCollection;
  7. use Doctrine\Common\Collections\Collection;
  8. use Doctrine\ORM\Mapping as ORM;
  9. /**
  10.  * DnsitTranslateProduct
  11.  *
  12.  * @ORM\Table(name="dnsit_translate_product",indexes={@ORM\Index(name="dnsit_translate_product_product_text_key_idx", columns={"product_text_key"})})
  13.  * @ORM\Entity(repositoryClass="App\Repository\DnsitTranslateProductRepository")
  14.  */
  15. class DnsitTranslateProduct
  16. {
  17.     /**
  18.      * @var string|null
  19.      *
  20.      * @ORM\Column(name="product_text_key", type="string", length=255, nullable=true, unique=true)
  21.      */
  22.     private $productTextKey;
  23.     /**
  24.      * @var string|null
  25.      *
  26.      * @ORM\Column(name="de_name", type="string", length=255, nullable=true)
  27.      */
  28.     private $deName;
  29.     /**
  30.      * @var string|null
  31.      *
  32.      * @ORM\Column(name="de_slug", type="string", length=255, nullable=true)
  33.      */
  34.     private $deSlug;
  35.     /**
  36.      * @var string|null
  37.      *
  38.      * @ORM\Column(name="de_comment", type="text", nullable=true)
  39.      */
  40.     private $deComment;
  41.     /**
  42.      * @var string|null
  43.      *
  44.      * @ORM\Column(name="de_comment1", type="text", nullable=true)
  45.      */
  46.     private $deComment1;
  47.     /**
  48.      * @var string|null
  49.      *
  50.      * @ORM\Column(name="de_comment2", type="text", nullable=true)
  51.      */
  52.     private $deComment2;
  53.     /**
  54.      * @var string|null
  55.      *
  56.      * @ORM\Column(name="de_comment_html", type="text", nullable=true)
  57.      */
  58.     private $deCommentHtml;
  59.     /**
  60.      * @var string|null
  61.      *
  62.      * @ORM\Column(name="de_memo1", type="text", nullable=true)
  63.      */
  64.     private $deMemo1;
  65.     /**
  66.      * @var string|null
  67.      *
  68.      * @ORM\Column(name="de_memo2", type="text", nullable=true)
  69.      */
  70.     private $deMemo2;
  71.     /**
  72.      * @var string|null
  73.      *
  74.      * @ORM\Column(name="de_memo3", type="text", nullable=true)
  75.      */
  76.     private $deMemo3;
  77.     /**
  78.      * @var string|null
  79.      *
  80.      * @ORM\Column(name="de_internal_comment", type="text", nullable=true)
  81.      */
  82.     private $deInternalComment;
  83.     /**
  84.      * @var string|null
  85.      *
  86.      * @ORM\Column(name="de_documentationf", type="text", nullable=true)
  87.      */
  88.     private $deDocumentationf;
  89.     /**
  90.      * @var string|null
  91.      *
  92.      * @ORM\Column(name="de_documentationl1", type="text", nullable=true)
  93.      */
  94.     private $deDocumentationl1;
  95.     /**
  96.      * @var string|null
  97.      *
  98.      * @ORM\Column(name="de_documentationl2", type="text", nullable=true)
  99.      */
  100.     private $deDocumentationl2;
  101.     /**
  102.      * @var string|null
  103.      *
  104.      * @ORM\Column(name="en_name", type="string", length=255, nullable=true)
  105.      */
  106.     private $enName;
  107.     /**
  108.      * @var string|null
  109.      *
  110.      * @ORM\Column(name="en_slug", type="string", length=255, nullable=true)
  111.      */
  112.     private $enSlug;
  113.     /**
  114.      * @var string|null
  115.      *
  116.      * @ORM\Column(name="en_comment", type="text", nullable=true)
  117.      */
  118.     private $enComment;
  119.     /**
  120.      * @var string|null
  121.      *
  122.      * @ORM\Column(name="en_comment1", type="text", nullable=true)
  123.      */
  124.     private $enComment1;
  125.     /**
  126.      * @var string|null
  127.      *
  128.      * @ORM\Column(name="en_comment2", type="text", nullable=true)
  129.      */
  130.     private $enComment2;
  131.     /**
  132.      * @var string|null
  133.      *
  134.      * @ORM\Column(name="en_comment_html", type="text", nullable=true)
  135.      */
  136.     private $enCommentHtml;
  137.     /**
  138.      * @var string|null
  139.      *
  140.      * @ORM\Column(name="en_memo1", type="text", nullable=true)
  141.      */
  142.     private $enMemo1;
  143.     /**
  144.      * @var string|null
  145.      *
  146.      * @ORM\Column(name="en_memo2", type="text", nullable=true)
  147.      */
  148.     private $enMemo2;
  149.     /**
  150.      * @var string|null
  151.      *
  152.      * @ORM\Column(name="en_memo3", type="text", nullable=true)
  153.      */
  154.     private $enMemo3;
  155.     /**
  156.      * @var string|null
  157.      *
  158.      * @ORM\Column(name="en_internal_comment", type="text", nullable=true)
  159.      */
  160.     private $enInternalComment;
  161.     /**
  162.      * @var string|null
  163.      *
  164.      * @ORM\Column(name="en_documentationf", type="text", nullable=true)
  165.      */
  166.     private $enDocumentationf;
  167.     /**
  168.      * @var string|null
  169.      *
  170.      * @ORM\Column(name="en_documentationl1", type="text", nullable=true)
  171.      */
  172.     private $enDocumentationl1;
  173.     /**
  174.      * @var string|null
  175.      *
  176.      * @ORM\Column(name="en_documentationl2", type="text", nullable=true)
  177.      */
  178.     private $enDocumentationl2;
  179.     /**
  180.      * @var string|null
  181.      *
  182.      * @ORM\Column(name="es_name", type="string", length=255, nullable=true)
  183.      */
  184.     private $esName;
  185.     /**
  186.      * @var string|null
  187.      *
  188.      * @ORM\Column(name="es_slug", type="string", length=255, nullable=true)
  189.      */
  190.     private $esSlug;
  191.     /**
  192.      * @var string|null
  193.      *
  194.      * @ORM\Column(name="es_comment", type="text", nullable=true)
  195.      */
  196.     private $esComment;
  197.     /**
  198.      * @var string|null
  199.      *
  200.      * @ORM\Column(name="es_comment1", type="text", nullable=true)
  201.      */
  202.     private $esComment1;
  203.     /**
  204.      * @var string|null
  205.      *
  206.      * @ORM\Column(name="es_comment2", type="text", nullable=true)
  207.      */
  208.     private $esComment2;
  209.     /**
  210.      * @var string|null
  211.      *
  212.      * @ORM\Column(name="es_comment_html", type="text", nullable=true)
  213.      */
  214.     private $esCommentHtml;
  215.     /**
  216.      * @var string|null
  217.      *
  218.      * @ORM\Column(name="es_memo1", type="text", nullable=true)
  219.      */
  220.     private $esMemo1;
  221.     /**
  222.      * @var string|null
  223.      *
  224.      * @ORM\Column(name="es_memo2", type="text", nullable=true)
  225.      */
  226.     private $esMemo2;
  227.     /**
  228.      * @var string|null
  229.      *
  230.      * @ORM\Column(name="es_memo3", type="text", nullable=true)
  231.      */
  232.     private $esMemo3;
  233.     /**
  234.      * @var string|null
  235.      *
  236.      * @ORM\Column(name="es_internal_comment", type="text", nullable=true)
  237.      */
  238.     private $esInternalComment;
  239.     /**
  240.      * @var string|null
  241.      *
  242.      * @ORM\Column(name="es_documentationf", type="text", nullable=true)
  243.      */
  244.     private $esDocumentationf;
  245.     /**
  246.      * @var string|null
  247.      *
  248.      * @ORM\Column(name="es_documentationl1", type="text", nullable=true)
  249.      */
  250.     private $esDocumentationl1;
  251.     /**
  252.      * @var string|null
  253.      *
  254.      * @ORM\Column(name="es_documentationl2", type="text", nullable=true)
  255.      */
  256.     private $esDocumentationl2;
  257.     /**
  258.      * @var string|null
  259.      *
  260.      * @ORM\Column(name="it_name", type="string", length=255, nullable=true)
  261.      */
  262.     private $itName;
  263.     /**
  264.      * @var string|null
  265.      *
  266.      * @ORM\Column(name="it_slug", type="string", length=255, nullable=true)
  267.      */
  268.     private $itSlug;
  269.     /**
  270.      * @var string|null
  271.      *
  272.      * @ORM\Column(name="it_comment", type="text", nullable=true)
  273.      */
  274.     private $itComment;
  275.     /**
  276.      * @var string|null
  277.      *
  278.      * @ORM\Column(name="it_comment1", type="text", nullable=true)
  279.      */
  280.     private $itComment1;
  281.     /**
  282.      * @var string|null
  283.      *
  284.      * @ORM\Column(name="it_comment2", type="text", nullable=true)
  285.      */
  286.     private $itComment2;
  287.     /**
  288.      * @var string|null
  289.      *
  290.      * @ORM\Column(name="it_comment_html", type="text", nullable=true)
  291.      */
  292.     private $itCommentHtml;
  293.     /**
  294.      * @var string|null
  295.      *
  296.      * @ORM\Column(name="it_memo1", type="text", nullable=true)
  297.      */
  298.     private $itMemo1;
  299.     /**
  300.      * @var string|null
  301.      *
  302.      * @ORM\Column(name="it_memo2", type="text", nullable=true)
  303.      */
  304.     private $itMemo2;
  305.     /**
  306.      * @var string|null
  307.      *
  308.      * @ORM\Column(name="it_memo3", type="text", nullable=true)
  309.      */
  310.     private $itMemo3;
  311.     /**
  312.      * @var string|null
  313.      *
  314.      * @ORM\Column(name="it_internal_comment", type="text", nullable=true)
  315.      */
  316.     private $itInternalComment;
  317.     /**
  318.      * @var string|null
  319.      *
  320.      * @ORM\Column(name="it_documentationf", type="text", nullable=true)
  321.      */
  322.     private $itDocumentationf;
  323.     /**
  324.      * @var string|null
  325.      *
  326.      * @ORM\Column(name="it_documentationl1", type="text", nullable=true)
  327.      */
  328.     private $itDocumentationl1;
  329.     /**
  330.      * @var string|null
  331.      *
  332.      * @ORM\Column(name="it_documentationl2", type="text", nullable=true)
  333.      */
  334.     private $itDocumentationl2;
  335.     /**
  336.      * @var string|null
  337.      *
  338.      * @ORM\Column(name="nl_name", type="string", length=255, nullable=true)
  339.      */
  340.     private $nlName;
  341.     /**
  342.      * @var string|null
  343.      *
  344.      * @ORM\Column(name="nl_slug", type="string", length=255, nullable=true)
  345.      */
  346.     private $nlSlug;
  347.     /**
  348.      * @var string|null
  349.      *
  350.      * @ORM\Column(name="nl_comment", type="text", nullable=true)
  351.      */
  352.     private $nlComment;
  353.     /**
  354.      * @var string|null
  355.      *
  356.      * @ORM\Column(name="nl_comment1", type="text", nullable=true)
  357.      */
  358.     private $nlComment1;
  359.     /**
  360.      * @var string|null
  361.      *
  362.      * @ORM\Column(name="nl_comment2", type="text", nullable=true)
  363.      */
  364.     private $nlComment2;
  365.     /**
  366.      * @var string|null
  367.      *
  368.      * @ORM\Column(name="nl_comment_html", type="text", nullable=true)
  369.      */
  370.     private $nlCommentHtml;
  371.     /**
  372.      * @var string|null
  373.      *
  374.      * @ORM\Column(name="nl_memo1", type="text", nullable=true)
  375.      */
  376.     private $nlMemo1;
  377.     /**
  378.      * @var string|null
  379.      *
  380.      * @ORM\Column(name="nl_memo2", type="text", nullable=true)
  381.      */
  382.     private $nlMemo2;
  383.     /**
  384.      * @var string|null
  385.      *
  386.      * @ORM\Column(name="nl_memo3", type="text", nullable=true)
  387.      */
  388.     private $nlMemo3;
  389.     /**
  390.      * @var string|null
  391.      *
  392.      * @ORM\Column(name="nl_internal_comment", type="text", nullable=true)
  393.      */
  394.     private $nlInternalComment;
  395.     /**
  396.      * @var string|null
  397.      *
  398.      * @ORM\Column(name="nl_documentationf", type="text", nullable=true)
  399.      */
  400.     private $nlDocumentationf;
  401.     /**
  402.      * @var string|null
  403.      *
  404.      * @ORM\Column(name="nl_documentationl1", type="text", nullable=true)
  405.      */
  406.     private $nlDocumentationl1;
  407.     /**
  408.      * @var string|null
  409.      *
  410.      * @ORM\Column(name="nl_documentationl2", type="text", nullable=true)
  411.      */
  412.     private $nlDocumentationl2;
  413.     /**
  414.      * @ORM\Column(type="string", length=255, nullable=true)
  415.      */
  416.     private $ptName;
  417.     /**
  418.      * @ORM\Column(type="string", length=255, nullable=true)
  419.      */
  420.     private $ptSlug;
  421.     /**
  422.      * @ORM\Column(type="text", nullable=true)
  423.      */
  424.     private $ptComment;
  425.     /**
  426.      * @ORM\Column(type="text", nullable=true)
  427.      */
  428.     private $ptComment1;
  429.     /**
  430.      * @ORM\Column(type="text", nullable=true)
  431.      */
  432.     private $ptComment2;
  433.     /**
  434.      * @ORM\Column(type="text", nullable=true)
  435.      */
  436.     private $ptCommentHtml;
  437.     /**
  438.      * @ORM\Column(type="text", nullable=true)
  439.      */
  440.     private $ptMemo1;
  441.     /**
  442.      * @ORM\Column(type="text", nullable=true)
  443.      */
  444.     private $ptMemo2;
  445.     /**
  446.      * @ORM\Column(type="text", nullable=true)
  447.      */
  448.     private $ptMemo3;
  449.     /**
  450.      * @ORM\Column(type="text", nullable=true)
  451.      */
  452.     private $ptInternalComment;
  453.     /**
  454.      * @var string|null
  455.      *
  456.      * @ORM\Column(name="pt_documentationf", type="text", nullable=true)
  457.      */
  458.     private $ptDocumentationf;
  459.     /**
  460.      * @var string|null
  461.      *
  462.      * @ORM\Column(name="pt_documentationl1", type="text", nullable=true)
  463.      */
  464.     private $ptDocumentationl1;
  465.     /**
  466.      * @var string|null
  467.      *
  468.      * @ORM\Column(name="pt_documentationl2", type="text", nullable=true)
  469.      */
  470.     private $ptDocumentationl2;
  471.     /**
  472.      * @var int|null
  473.      *
  474.      * @ORM\Column(name="product_code", type="bigint", nullable=true, unique=true)
  475.      */
  476.     private $productCode;
  477.     /**
  478.      * @var int|null
  479.      *
  480.      * @ORM\Column(name="product_type_code", type="bigint", nullable=true)
  481.      */
  482.     private $productTypeCode;
  483.     /**
  484.      * @var string|null
  485.      *
  486.      * @ORM\Column(name="type_name", type="string", nullable=true)
  487.      */
  488.     private $typeName;
  489.     /**
  490.      * @var string|null
  491.      *
  492.      * @ORM\Column(name="dn_reference", type="string", nullable=true)
  493.      */
  494.     private $reference;
  495.     /**
  496.      * @var float|null
  497.      *
  498.      * @ORM\Column(name="latitude", type="float", nullable=true)
  499.      */
  500.     private $latitude;
  501.     /**
  502.      * @var float|null
  503.      *
  504.      * @ORM\Column(name="longitude", type="float", nullable=true)
  505.      */
  506.     private $longitude;
  507.     /**
  508.      * @var int|null
  509.      *
  510.      * @ORM\Column(name="georef_type", type="integer", nullable=true)
  511.      */
  512.     private $georefType;
  513.     /**
  514.      * @var int|null
  515.      *
  516.      * @ORM\Column(name="georef", type="integer", nullable=true)
  517.      */
  518.     private $georef;
  519.     /**
  520.      * @var float|null
  521.      *
  522.      * @ORM\Column(name="distance", type="float", nullable=true)
  523.      */
  524.     private $distance;
  525.     /**
  526.      * @var float|null
  527.      *
  528.      * @ORM\Column(name="score", type="float", nullable=true)
  529.      */
  530.     private $score;
  531.     /**
  532.      * @var string|null
  533.      *
  534.      * @ORM\Column(name="location_name", type="string", length=255, nullable=true)
  535.      */
  536.     private $locationName;
  537.     /**
  538.      * @var string|null
  539.      *
  540.      * @ORM\Column(name="street_num", type="string", length=255, nullable=true)
  541.      */
  542.     private $streetNumber;
  543.     /**
  544.      * @var string|null
  545.      *
  546.      * @ORM\Column(name="street_name", type="string", length=255, nullable=true)
  547.      */
  548.     private $streetName;
  549.     /**
  550.      * @var string|null
  551.      *
  552.      * @ORM\Column(name="addition_address", type="string", length=255, nullable=true)
  553.      */
  554.     private $additionAddress;
  555.     /**
  556.      * @var string|null
  557.      *
  558.      * @ORM\Column(name="special_distribution_address", type="string", length=500, nullable=true)
  559.      */
  560.     private $specialDistributionAddress;
  561.     /**
  562.      * @var string|null
  563.      *
  564.      * @ORM\Column(name="address", type="string", length=255, nullable=true)
  565.      */
  566.     private $address;
  567.     /**
  568.      * @var string|null
  569.      *
  570.      * @ORM\Column(name="zip_code", type="string", length=255, nullable=true)
  571.      */
  572.     private $zipCode;
  573.     /**
  574.      * @var string|null
  575.      *
  576.      * @ORM\Column(name="insee", type="string", nullable=true)
  577.      */
  578.     private $insee;
  579.     /**
  580.      * @var string|null
  581.      *
  582.      * @ORM\Column(name="city", type="string", length=255, nullable=true)
  583.      */
  584.     private $city;
  585.     /**
  586.      * @var string|null
  587.      *
  588.      * @ORM\Column(name="country", type="string", length=255, nullable=true)
  589.      */
  590.     private $country;
  591.     /**
  592.      * @var string|null
  593.      *
  594.      * @ORM\Column(name="phone", type="string", length=255, nullable=true)
  595.      */
  596.     private $phone;
  597.     /**
  598.      * @var string|null
  599.      *
  600.      * @ORM\Column(name="phone2", type="string", length=255, nullable=true)
  601.      */
  602.     private $phone2;
  603.     /**
  604.      * @var string|null
  605.      *
  606.      * @ORM\Column(name="phone3", type="string", length=255, nullable=true)
  607.      */
  608.     private $phone3;
  609.     /**
  610.      * @var string|null
  611.      *
  612.      * @ORM\Column(name="fax", type="string", length=255, nullable=true)
  613.      */
  614.     private $fax;
  615.     /**
  616.      * @var string|null
  617.      *
  618.      * @ORM\Column(name="email", type="string", length=255, nullable=true)
  619.      */
  620.     private $email;
  621.     /**
  622.      * @var string|null
  623.      *
  624.      * @ORM\Column(name="email2", type="string", length=2555, nullable=true)
  625.      */
  626.     private $email2;
  627.     /**
  628.      * @var string|null
  629.      *
  630.      * @ORM\Column(name="url", type="text", nullable=true)
  631.      */
  632.     private $url;
  633.     /**
  634.      * @var string|null
  635.      *
  636.      * @ORM\Column(name="url2", type="text", nullable=true)
  637.      */
  638.     private $url2;
  639.     /**
  640.      * @var int|null
  641.      *
  642.      * @ORM\Column(name="entity_manager", type="bigint", nullable=true)
  643.      */
  644.     private $entityManager;
  645.     /**
  646.      * @var int|null
  647.      *
  648.      * @ORM\Column(name="provider_code", type="bigint", nullable=true)
  649.      */
  650.     private $providerCode;
  651.     /**
  652.      * @var string|null
  653.      *
  654.      * @ORM\Column(name="provider_text_key", type="text", nullable=true)
  655.      */
  656.     private $providerTextKey;
  657.     /**
  658.      * @var string|null
  659.      *
  660.      * @ORM\Column(name="provider_name", type="string", length=255, nullable=true)
  661.      */
  662.     private $providerName;
  663.     /**
  664.      * @var string|null
  665.      *
  666.      * @ORM\Column(name="provider_civility", type="string", length=255, nullable=true)
  667.      */
  668.     private $providerCivility;
  669.     /**
  670.      * @var string|null
  671.      *
  672.      * @ORM\Column(name="provider_responsible_name", type="string", length=255, nullable=true)
  673.      */
  674.     private $providerResponsibleName;
  675.     /**
  676.      * @var string|null
  677.      *
  678.      * @ORM\Column(name="provider_responsible_firstname", type="string", length=255, nullable=true)
  679.      */
  680.     private $providerResponsibleFirstname;
  681.     /**
  682.      * @var string|null
  683.      *
  684.      * @ORM\Column(name="provider_location_name", type="string", length=255, nullable=true)
  685.      */
  686.     private $providerLocationName;
  687.     /**
  688.      * @var string|null
  689.      *
  690.      * @ORM\Column(name="provider_street_number", type="string", length=255, nullable=true)
  691.      */
  692.     private $providerStreetNumber;
  693.     /**
  694.      * @var string|null
  695.      *
  696.      * @ORM\Column(name="provider_street_name", type="string", length=255, nullable=true)
  697.      */
  698.     private $providerStreetName;
  699.     /**
  700.      * @var string|null
  701.      *
  702.      * @ORM\Column(name="provider_addition_address", type="string", length=255, nullable=true)
  703.      */
  704.     private $providerAdditionAddress;
  705.     /**
  706.      * @var string|null
  707.      *
  708.      * @ORM\Column(name="provider_zip_code", type="string", length=255, nullable=true)
  709.      */
  710.     private $providerZipCode;
  711.     /**
  712.      * @var string|null
  713.      *
  714.      * @ORM\Column(name="provider_city", type="string", length=255, nullable=true)
  715.      */
  716.     private $providerCity;
  717.     /**
  718.      * @var string|null
  719.      *
  720.      * @ORM\Column(name="provider_country", type="string", length=255, nullable=true)
  721.      */
  722.     private $providerCountry;
  723.     /**
  724.      * @var string|null
  725.      *
  726.      * @ORM\Column(name="provider_phone", type="string", length=255, nullable=true)
  727.      */
  728.     private $providerPhone;
  729.     /**
  730.      * @var string|null
  731.      *
  732.      * @ORM\Column(name="provider_phone2", type="string", length=255, nullable=true)
  733.      */
  734.     private $providerPhone2;
  735.     /**
  736.      * @var string|null
  737.      *
  738.      * @ORM\Column(name="provider_phone3", type="string", length=255, nullable=true)
  739.      */
  740.     private $providerPhone3;
  741.     /**
  742.      * @var string|null
  743.      *
  744.      * @ORM\Column(name="provider_fax", type="string", length=255, nullable=true)
  745.      */
  746.     private $providerFax;
  747.     /**
  748.      * @var string|null
  749.      *
  750.      * @ORM\Column(name="provider_email", type="string", length=255, nullable=true)
  751.      */
  752.     private $providerEmail;
  753.     /**
  754.      * @var string|null
  755.      *
  756.      * @ORM\Column(name="provider_email2", type="string", length=255, nullable=true)
  757.      */
  758.     private $providerEmail2;
  759.     /**
  760.      * @var string|null
  761.      *
  762.      * @ORM\Column(name="provider_url", type="string", length=255, nullable=true)
  763.      */
  764.     private $providerUrl;
  765.     /**
  766.      * @var string|null
  767.      *
  768.      * @ORM\Column(name="provider_url2", type="string", length=255, nullable=true)
  769.      */
  770.     private $providerUrl2;
  771.     /**
  772.      * @var string|null
  773.      *
  774.      * @ORM\Column(name="provider_special_distribution", type="string", length=255, nullable=true)
  775.      */
  776.     private $providerSpecialDistribution;
  777.     /**
  778.      * @var string|null
  779.      *
  780.      * @ORM\Column(name="contact_civility", type="string", length=255, nullable=true)
  781.      */
  782.     private $contactCivility;
  783.     /**
  784.      * @var string|null
  785.      *
  786.      * @ORM\Column(name="contact_lastname", type="string", length=255, nullable=true)
  787.      */
  788.     private $contactLastname;
  789.     /**
  790.      * @var string|null
  791.      *
  792.      * @ORM\Column(name="contact_firstname", type="string", length=255, nullable=true)
  793.      */
  794.     private $contactFirstName;
  795.     /**
  796.      * @var string|null
  797.      *
  798.      * @ORM\Column(name="manager_civility", type="string", length=255, nullable=true)
  799.      */
  800.     private $managerCivility;
  801.     /**
  802.      * @var string|null
  803.      *
  804.      * @ORM\Column(name="manager_lastname", type="string", length=255, nullable=true)
  805.      */
  806.     private $managerLastname;
  807.     /**
  808.      * @var string|null
  809.      *
  810.      * @ORM\Column(name="manager_firstname", type="string", length=255, nullable=true)
  811.      */
  812.     private $managerFirstName;
  813.     /**
  814.      * @var string|null
  815.      *
  816.      * @ORM\Column(name="manager_street_number", type="string", length=255, nullable=true)
  817.      */
  818.     private $managerStreetNumber;
  819.     /**
  820.      * @var string|null
  821.      *
  822.      * @ORM\Column(name="manager_street_name", type="string", length=255, nullable=true)
  823.      */
  824.     private $managerStreetName;
  825.     /**
  826.      * @var string|null
  827.      *
  828.      * @ORM\Column(name="manager_addition_address", type="string", length=255, nullable=true)
  829.      */
  830.     private $managerAdditionAddress;
  831.     /**
  832.      * @var string|null
  833.      *
  834.      * @ORM\Column(name="manager_zip_code", type="string", length=255, nullable=true)
  835.      */
  836.     private $managerZipCode;
  837.     /**
  838.      * @var string|null
  839.      *
  840.      * @ORM\Column(name="manager_city", type="string", length=255, nullable=true)
  841.      */
  842.     private $managerCity;
  843.     /**
  844.      * @var string|null
  845.      *
  846.      * @ORM\Column(name="manager_country", type="string", length=255, nullable=true)
  847.      */
  848.     private $managerCountry;
  849.     /**
  850.      * @var string|null
  851.      *
  852.      * @ORM\Column(name="manager_phone", type="string", length=255, nullable=true)
  853.      */
  854.     private $managerPhone;
  855.     /**
  856.      * @var string|null
  857.      *
  858.      * @ORM\Column(name="manager_phone2", type="string", length=255, nullable=true)
  859.      */
  860.     private $managerPhone2;
  861.     /**
  862.      * @var string|null
  863.      *
  864.      * @ORM\Column(name="manager_phone3", type="string", length=255, nullable=true)
  865.      */
  866.     private $managerPhone3;
  867.     /**
  868.      * @var string|null
  869.      *
  870.      * @ORM\Column(name="manager_fax", type="string", length=255, nullable=true)
  871.      */
  872.     private $managerFax;
  873.     /**
  874.      * @var string|null
  875.      *
  876.      * @ORM\Column(name="manager_email", type="string", length=255, nullable=true)
  877.      */
  878.     private $managerEmail;
  879.     /**
  880.      * @var string|null
  881.      *
  882.      * @ORM\Column(name="manager_email2", type="string", length=255, nullable=true)
  883.      */
  884.     private $managerEmail2;
  885.     /**
  886.      * @var string|null
  887.      *
  888.      * @ORM\Column(name="manager_url", type="text", nullable=true)
  889.      */
  890.     private $managerUrl;
  891.     /**
  892.      * @var string|null
  893.      *
  894.      * @ORM\Column(name="manager_url2", type="text", nullable=true)
  895.      */
  896.     private $managerUrl2;
  897.     /**
  898.      * @var string|null
  899.      *
  900.      * @ORM\Column(name="manager_special_distribution", type="string", length=255, nullable=true)
  901.      */
  902.     private $managerSpecialDistribution;
  903.     /**
  904.      * @var bool|null
  905.      *
  906.      * @ORM\Column(name="is_valid", type="boolean", nullable=true)
  907.      */
  908.     private $isValid;
  909.     /**
  910.      * @var \DateTime|null
  911.      *
  912.      * @ORM\Column(name="valid_from", type="date", nullable=true)
  913.      */
  914.     private $validFrom;
  915.     /**
  916.      * @var \DateTime|null
  917.      *
  918.      * @ORM\Column(name="valid_to", type="date", nullable=true)
  919.      */
  920.     private $validTo;
  921.     /**
  922.      * @var \DateTime|null
  923.      *
  924.      * @ORM\Column(name="max_update", type="datetime", nullable=true)
  925.      */
  926.     private $maxUpdate;
  927.     /**
  928.      * @var string|null
  929.      *
  930.      * @ORM\Column(name="kml", type="text", nullable=true)
  931.      */
  932.     private $kml;
  933.     /**
  934.      *
  935.      * @ORM\Column(name="geo_point", type="geometry", options={"geometry_type":"POINT"}, nullable=true)
  936.      */
  937.     private $geoPoint;
  938.     /**
  939.      *
  940.      * @ORM\Column(name="geo_linestring", type="geometry", options={"geometry_type":"LINESTRING"}, nullable=true)
  941.      */
  942.     private $geoLinestring;
  943.     /**
  944.      * @var int|null
  945.      *
  946.      * @ORM\Column(name="entite", type="bigint", nullable=true)
  947.      */
  948.     private $entite;
  949.     /**
  950.      * @var int|null
  951.      *
  952.      * @ORM\Column(name="marking", type="smallint", nullable=true)
  953.      */
  954.     private $marking;
  955.     /**
  956.      * @var string|null
  957.      *
  958.      * @ORM\Column(name="params", type="text", nullable=true)
  959.      */
  960.     private $params;
  961.     /**
  962.      * @var \DateTime|null
  963.      *
  964.      * @ORM\Column(name="created_at", type="datetime", length=45, nullable=true)
  965.      */
  966.     private $createdAt;
  967.     /**
  968.      * @var int|null
  969.      *
  970.      * @ORM\Column(name="created_by", type="bigint", nullable=true)
  971.      */
  972.     private $created_by;
  973.     /**
  974.      * @var \DateTime|null
  975.      *
  976.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  977.      */
  978.     private $updatedAt;
  979.     /**
  980.      * @var int|null
  981.      *
  982.      * @ORM\Column(name="updated_by", type="bigint", nullable=true)
  983.      */
  984.     private $updatedBy;
  985.     /**
  986.      * @var int|null
  987.      *
  988.      * @ORM\Column(name="alea", type="bigint", nullable=true)
  989.      */
  990.     private $alea;
  991.     /**
  992.      * @var string|null
  993.      *
  994.      * @ORM\Column(name="document", type="text", nullable=true)
  995.      */
  996.     private $document;
  997.     /**
  998.      * @var int
  999.      *
  1000.      * @ORM\Column(name="id", type="bigint")
  1001.      * @ORM\Id
  1002.      * @ORM\GeneratedValue(strategy="IDENTITY")
  1003.      */
  1004.     private $id;
  1005.     /**
  1006.      * @var \App\Entity\DnsitEntity
  1007.      *
  1008.      * @ORM\ManyToOne(targetEntity="App\Entity\DnsitEntity")
  1009.      * @ORM\JoinColumns({
  1010.      *   @ORM\JoinColumn(name="entity_id", referencedColumnName="id")
  1011.      * })
  1012.      */
  1013.     private $productEntity;
  1014.     /**
  1015.      * @var \Doctrine\Common\Collections\Collection
  1016.      *
  1017.      * @ORM\OneToMany(targetEntity="App\Entity\DnsitTranslateProductCriterion", mappedBy="product", cascade={"persist","remove"})
  1018.      */
  1019.     private $productCriterions;
  1020.     /**
  1021.      * @var \Doctrine\Common\Collections\Collection
  1022.      *
  1023.      * @ORM\OneToMany(targetEntity="App\Entity\DnsitHour", mappedBy="product", cascade={"persist","remove"})
  1024.      */
  1025.     private $hours;
  1026.     /**
  1027.      * @var \Doctrine\Common\Collections\Collection
  1028.      *
  1029.      * @ORM\OneToMany(targetEntity="App\Entity\DnsitCoupledProduct", mappedBy="translateProduct", cascade={"persist","remove"})
  1030.      */
  1031.     private $coupledProducts;
  1032.     /**
  1033.      * @var \Doctrine\Common\Collections\Collection
  1034.      *
  1035.      * @ORM\OneToMany(targetEntity="App\Entity\DnsitCoupledProduct", mappedBy="coupledTranslateProduct", cascade={"persist","remove"})
  1036.      */
  1037.     private $coupledCoupledProducts;
  1038.     /**
  1039.      * @var \App\Entity\DnsitTranslateType
  1040.      *
  1041.      * @ORM\ManyToOne(targetEntity="App\Entity\DnsitTranslateType")
  1042.      * @ORM\JoinColumns({
  1043.      *   @ORM\JoinColumn(name="type_id", referencedColumnName="id")
  1044.      * })
  1045.      */
  1046.     private $type;
  1047.     /**
  1048.      * @var \App\Entity\CityInsee
  1049.      *
  1050.      * @ORM\ManyToOne(targetEntity="App\Entity\CityInsee")
  1051.      * @ORM\JoinColumns({
  1052.      *   @ORM\JoinColumn(name="city_insee_id", referencedColumnName="id")
  1053.      * })
  1054.      */
  1055.     private $cityInsee;
  1056.     /**
  1057.      * @var string
  1058.      */
  1059.     private $comment1;
  1060.     /**
  1061.      * @var string
  1062.      */
  1063.     private $comment2;
  1064.     /**
  1065.      * @var string
  1066.      */
  1067.     private $commentHtml;
  1068.     /**
  1069.      * @var string
  1070.      */
  1071.     private $memo1;
  1072.     /**
  1073.      * @var string
  1074.      */
  1075.     private $memo2;
  1076.     /**
  1077.      * @var string
  1078.      */
  1079.     private $memo3;
  1080.     /**
  1081.      * @ORM\OneToMany(targetEntity="App\Entity\DnsitProductDispo", mappedBy="translateProduct")
  1082.      */
  1083.     private $dispos;
  1084.     /**
  1085.      * @ORM\Column(type="text", nullable=true)
  1086.      */
  1087.     private $en_document;
  1088.     /**
  1089.      * @ORM\Column(type="text", nullable=true)
  1090.      */
  1091.     private $de_document;
  1092.     /**
  1093.      * @ORM\Column(type="text", nullable=true)
  1094.      */
  1095.     private $it_document;
  1096.     /**
  1097.      * @ORM\Column(type="text", nullable=true)
  1098.      */
  1099.     private $es_document;
  1100.     /**
  1101.      * @ORM\Column(type="text", nullable=true)
  1102.      */
  1103.     private $nl_document;
  1104.     /**
  1105.      * @ORM\Column(type="text", nullable=true)
  1106.      */
  1107.     private $pt_document;
  1108.     /**
  1109.      * @ORM\Column(type="datetime", nullable=true)
  1110.      */
  1111.     private $enUpdatedAt;
  1112.     /**
  1113.      * @ORM\Column(type="datetime", nullable=true)
  1114.      */
  1115.     private $deUpdatedAt;
  1116.     /**
  1117.      * @ORM\Column(type="datetime", nullable=true)
  1118.      */
  1119.     private $esUpdatedAt;
  1120.     /**
  1121.      * @ORM\Column(type="datetime", nullable=true)
  1122.      */
  1123.     private $itUpdatedAt;
  1124.     /**
  1125.      * @ORM\Column(type="datetime", nullable=true)
  1126.      */
  1127.     private $nlUpdatedAt;
  1128.     /**
  1129.      * @ORM\Column(type="datetime", nullable=true)
  1130.      */
  1131.     private $ptUpdatedAt;
  1132.     /**
  1133.      * @ORM\Column(type="text", nullable=true)
  1134.      */
  1135.     private $enComment7;
  1136.     /**
  1137.      * @ORM\Column(type="text", nullable=true)
  1138.      */
  1139.     private $enComment8;
  1140.     /**
  1141.      * @ORM\Column(type="text", nullable=true)
  1142.      */
  1143.     private $enComment9;
  1144.     /**
  1145.      * @ORM\Column(type="text", nullable=true)
  1146.      */
  1147.     private $enCommentHtml2;
  1148.     /**
  1149.      * @ORM\Column(type="text", nullable=true)
  1150.      */
  1151.     private $enCommentHtml3;
  1152.     /**
  1153.      * @ORM\Column(type="text", nullable=true)
  1154.      */
  1155.     private $deComment7;
  1156.     /**
  1157.      * @ORM\Column(type="text", nullable=true)
  1158.      */
  1159.     private $deComment8;
  1160.     /**
  1161.      * @ORM\Column(type="text", nullable=true)
  1162.      */
  1163.     private $deComment9;
  1164.     /**
  1165.      * @ORM\Column(type="text", nullable=true)
  1166.      */
  1167.     private $deCommentHtml2;
  1168.     /**
  1169.      * @ORM\Column(type="text", nullable=true)
  1170.      */
  1171.     private $deCommentHtml3;
  1172.     /**
  1173.      * @ORM\Column(type="text", nullable=true)
  1174.      */
  1175.     private $esComment7;
  1176.     /**
  1177.      * @ORM\Column(type="text", nullable=true)
  1178.      */
  1179.     private $esComment8;
  1180.     /**
  1181.      * @ORM\Column(type="text", nullable=true)
  1182.      */
  1183.     private $esComment9;
  1184.     /**
  1185.      * @ORM\Column(type="text", nullable=true)
  1186.      */
  1187.     private $esCommentHtml2;
  1188.     /**
  1189.      * @ORM\Column(type="text", nullable=true)
  1190.      */
  1191.     private $esCommentHtml3;
  1192.     /**
  1193.      * @ORM\Column(type="text", nullable=true)
  1194.      */
  1195.     private $itComment7;
  1196.     /**
  1197.      * @ORM\Column(type="text", nullable=true)
  1198.      */
  1199.     private $itComment8;
  1200.     /**
  1201.      * @ORM\Column(type="text", nullable=true)
  1202.      */
  1203.     private $itComment9;
  1204.     /**
  1205.      * @ORM\Column(type="text", nullable=true)
  1206.      */
  1207.     private $itCommentHtml2;
  1208.     /**
  1209.      * @ORM\Column(type="text", nullable=true)
  1210.      */
  1211.     private $itCommentHtml3;
  1212.     /**
  1213.      * @ORM\Column(type="text", nullable=true)
  1214.      */
  1215.     private $nlComment7;
  1216.     /**
  1217.      * @ORM\Column(type="text", nullable=true)
  1218.      */
  1219.     private $nlComment8;
  1220.     /**
  1221.      * @ORM\Column(type="text", nullable=true)
  1222.      */
  1223.     private $nlComment9;
  1224.     /**
  1225.      * @ORM\Column(type="text", nullable=true)
  1226.      */
  1227.     private $nlCommentHtml2;
  1228.     /**
  1229.      * @ORM\Column(type="text", nullable=true)
  1230.      */
  1231.     private $nlCommentHtml3;
  1232.     /**
  1233.      * @ORM\Column(type="text", nullable=true)
  1234.      */
  1235.     private $ptComment7;
  1236.     /**
  1237.      * @ORM\Column(type="text", nullable=true)
  1238.      */
  1239.     private $ptComment8;
  1240.     /**
  1241.      * @ORM\Column(type="text", nullable=true)
  1242.      */
  1243.     private $ptComment9;
  1244.     /**
  1245.      * @ORM\Column(type="text", nullable=true)
  1246.      */
  1247.     private $ptCommentHtml2;
  1248.     /**
  1249.      * @ORM\Column(type="text", nullable=true)
  1250.      */
  1251.     private $ptCommentHtml3;
  1252. private $name;
  1253.     /**
  1254.      * @var string
  1255.      */
  1256.     private $comment;
  1257.     /**
  1258.      * @var string
  1259.      */
  1260.     private $internalComment;
  1261.     /**
  1262.      * Constructor
  1263.      */
  1264.     public function __construct()
  1265.     {
  1266.         $this->productCriterions = new \Doctrine\Common\Collections\ArrayCollection();
  1267.         $this->hours = new \Doctrine\Common\Collections\ArrayCollection();
  1268.         $this->coupledProducts = new \Doctrine\Common\Collections\ArrayCollection();
  1269.         $this->coupledCoupledProducts = new \Doctrine\Common\Collections\ArrayCollection();
  1270.         $this->dispos = new ArrayCollection();
  1271.     }
  1272.     public static function getClassMetadata($resultType "className"$language 'fr')
  1273.     {
  1274.         switch (strtolower($language)) {
  1275.             case "fr" :
  1276.                 $className "DnsitProduct";
  1277.                 $classPath "\App\Entity\DnsitProduct";
  1278.                 break;
  1279.             default :
  1280.                 $className "DnsitTranslateProduct";
  1281.                 $classPath "\App\Entity\DnsitTranslateProduct";
  1282.                 break;
  1283.         }
  1284.         if ($resultType == "className") {
  1285.             return $className;
  1286.         } else {
  1287.             return $classPath;
  1288.         }
  1289.     }
  1290.     public function __toString()
  1291.     {
  1292.         return (string)$this->getId();
  1293.     }
  1294.     public function getId(): ?int
  1295.     {
  1296.         return $this->id;
  1297.     }
  1298.     public function getProductTextKey(): ?string
  1299.     {
  1300.         return $this->productTextKey;
  1301.     }
  1302.     public function setProductTextKey(?string $productTextKey): self
  1303.     {
  1304.         $this->productTextKey $productTextKey;
  1305.         return $this;
  1306.     }
  1307.     public function getProductEntity(): ?DnsitEntity
  1308.     {
  1309.         return $this->productEntity;
  1310.     }
  1311.     public function setProductEntity(?DnsitEntity $ent): self
  1312.     {
  1313.         $this->productEntity $ent;
  1314.         return $this;
  1315.     }
  1316.     public function getDeName(): ?string
  1317.     {
  1318.         return $this->deName;
  1319.     }
  1320.     public function setDeName(?string $deName): self
  1321.     {
  1322.         $this->deName $deName;
  1323.         return $this;
  1324.     }
  1325.     public function getDeSlug(): ?string
  1326.     {
  1327.         return $this->deSlug;
  1328.     }
  1329.     public function setDeSlug(?string $deSlug): self
  1330.     {
  1331.         $this->deSlug $deSlug;
  1332.         return $this;
  1333.     }
  1334.     public function getDeComment(): ?string
  1335.     {
  1336.         return $this->deComment;
  1337.     }
  1338.     public function setDeComment(?string $deComment): self
  1339.     {
  1340.         $this->deComment $deComment;
  1341.         return $this;
  1342.     }
  1343.     public function getDeComment1(): ?string
  1344.     {
  1345.         return $this->deComment1;
  1346.     }
  1347.     public function setDeComment1(?string $deComment1): self
  1348.     {
  1349.         $this->deComment1 $deComment1;
  1350.         return $this;
  1351.     }
  1352.     public function getDeComment2(): ?string
  1353.     {
  1354.         return $this->deComment2;
  1355.     }
  1356.     public function setDeComment2(?string $deComment2): self
  1357.     {
  1358.         $this->deComment2 $deComment2;
  1359.         return $this;
  1360.     }
  1361.     public function getDeCommentHtml(): ?string
  1362.     {
  1363.         return $this->deCommentHtml;
  1364.     }
  1365.     public function setDeCommentHtml(?string $deCommentHtml): self
  1366.     {
  1367.         $this->deCommentHtml $deCommentHtml;
  1368.         return $this;
  1369.     }
  1370.     public function getDeMemo1(): ?string
  1371.     {
  1372.         return $this->deMemo1;
  1373.     }
  1374.     public function setDeMemo1(?string $deMemo1): self
  1375.     {
  1376.         $this->deMemo1 $deMemo1;
  1377.         return $this;
  1378.     }
  1379.     public function getDeMemo2(): ?string
  1380.     {
  1381.         return $this->deMemo2;
  1382.     }
  1383.     public function setDeMemo2(?string $deMemo2): self
  1384.     {
  1385.         $this->deMemo2 $deMemo2;
  1386.         return $this;
  1387.     }
  1388.     public function getDeMemo3(): ?string
  1389.     {
  1390.         return $this->deMemo3;
  1391.     }
  1392.     public function setDeMemo3(?string $deMemo3): self
  1393.     {
  1394.         $this->deMemo3 $deMemo3;
  1395.         return $this;
  1396.     }
  1397.     public function getDeInternalComment(): ?string
  1398.     {
  1399.         return $this->deInternalComment;
  1400.     }
  1401.     public function setDeInternalComment(?string $deInternalComment): self
  1402.     {
  1403.         $this->deInternalComment $deInternalComment;
  1404.         return $this;
  1405.     }
  1406.     public function getDeDocumentationf(): ?string
  1407.     {
  1408.         return $this->deDocumentationf;
  1409.     }
  1410.     public function setDeDocumentationf(?string $dedocumentationf): self
  1411.     {
  1412.         $this->deDocumentationf $dedocumentationf;
  1413.         return $this;
  1414.     }
  1415.     public function getDeDocumentationl1(): ?string
  1416.     {
  1417.         return $this->deDocumentationl1;
  1418.     }
  1419.     public function setDeDocumentationl1(?string $dedocumentationl1): self
  1420.     {
  1421.         $this->deDocumentationl1 $dedocumentationl1;
  1422.         return $this;
  1423.     }
  1424.     public function getDeDocumentationl2(): ?string
  1425.     {
  1426.         return $this->deDocumentationl2;
  1427.     }
  1428.     public function setDeDocumentationl2(?string $dedocumentationl2): self
  1429.     {
  1430.         $this->deDocumentationl2 $dedocumentationl2;
  1431.         return $this;
  1432.     }
  1433.     public function getEnName(): ?string
  1434.     {
  1435.         return $this->enName;
  1436.     }
  1437.     public function setEnName(?string $enName): self
  1438.     {
  1439.         $this->enName $enName;
  1440.         return $this;
  1441.     }
  1442.     public function getEnSlug(): ?string
  1443.     {
  1444.         return $this->enSlug;
  1445.     }
  1446.     public function setEnSlug(?string $enSlug): self
  1447.     {
  1448.         $this->enSlug $enSlug;
  1449.         return $this;
  1450.     }
  1451.     public function getEnComment(): ?string
  1452.     {
  1453.         return $this->enComment;
  1454.     }
  1455.     public function setEnComment(?string $enComment): self
  1456.     {
  1457.         $this->enComment $enComment;
  1458.         return $this;
  1459.     }
  1460.     public function getEnComment1(): ?string
  1461.     {
  1462.         return $this->enComment1;
  1463.     }
  1464.     public function setEnComment1(?string $enComment1): self
  1465.     {
  1466.         $this->enComment1 $enComment1;
  1467.         return $this;
  1468.     }
  1469.     public function getEnComment2(): ?string
  1470.     {
  1471.         return $this->enComment2;
  1472.     }
  1473.     public function setEnComment2(?string $enComment2): self
  1474.     {
  1475.         $this->enComment2 $enComment2;
  1476.         return $this;
  1477.     }
  1478.     public function getEnCommentHtml(): ?string
  1479.     {
  1480.         return $this->enCommentHtml;
  1481.     }
  1482.     public function setEnCommentHtml(?string $enCommentHtml): self
  1483.     {
  1484.         $this->enCommentHtml $enCommentHtml;
  1485.         return $this;
  1486.     }
  1487.     public function getEnMemo1(): ?string
  1488.     {
  1489.         return $this->enMemo1;
  1490.     }
  1491.     public function setEnMemo1(?string $enMemo1): self
  1492.     {
  1493.         $this->enMemo1 $enMemo1;
  1494.         return $this;
  1495.     }
  1496.     public function getEnMemo2(): ?string
  1497.     {
  1498.         return $this->enMemo2;
  1499.     }
  1500.     public function setEnMemo2(?string $enMemo2): self
  1501.     {
  1502.         $this->enMemo2 $enMemo2;
  1503.         return $this;
  1504.     }
  1505.     public function getEnMemo3(): ?string
  1506.     {
  1507.         return $this->enMemo3;
  1508.     }
  1509.     public function setEnMemo3(?string $enMemo3): self
  1510.     {
  1511.         $this->enMemo3 $enMemo3;
  1512.         return $this;
  1513.     }
  1514.     public function getEnInternalComment(): ?string
  1515.     {
  1516.         return $this->enInternalComment;
  1517.     }
  1518.     public function setEnInternalComment(?string $enInternalComment): self
  1519.     {
  1520.         $this->enInternalComment $enInternalComment;
  1521.         return $this;
  1522.     }
  1523.     public function getEnDocumentationf(): ?string
  1524.     {
  1525.         return $this->enDocumentationf;
  1526.     }
  1527.     public function setEnDocumentationf(?string $endocumentationf): self
  1528.     {
  1529.         $this->enDocumentationf $endocumentationf;
  1530.         return $this;
  1531.     }
  1532.     public function getEnDocumentationl1(): ?string
  1533.     {
  1534.         return $this->enDocumentationl1;
  1535.     }
  1536.     public function setEnDocumentationl1(?string $endocumentationl1): self
  1537.     {
  1538.         $this->enDocumentationl1 $endocumentationl1;
  1539.         return $this;
  1540.     }
  1541.     public function getEnDocumentationl2(): ?string
  1542.     {
  1543.         return $this->enDocumentationl2;
  1544.     }
  1545.     public function setEnDocumentationl2(?string $endocumentationl2): self
  1546.     {
  1547.         $this->enDocumentationl2 $endocumentationl2;
  1548.         return $this;
  1549.     }
  1550.     public function getEsName(): ?string
  1551.     {
  1552.         return $this->esName;
  1553.     }
  1554.     public function setEsName(?string $esName): self
  1555.     {
  1556.         $this->esName $esName;
  1557.         return $this;
  1558.     }
  1559.     public function getEsSlug(): ?string
  1560.     {
  1561.         return $this->esSlug;
  1562.     }
  1563.     public function setEsSlug(?string $esSlug): self
  1564.     {
  1565.         $this->esSlug $esSlug;
  1566.         return $this;
  1567.     }
  1568.     public function getEsComment(): ?string
  1569.     {
  1570.         return $this->esComment;
  1571.     }
  1572.     public function setEsComment(?string $esComment): self
  1573.     {
  1574.         $this->esComment $esComment;
  1575.         return $this;
  1576.     }
  1577.     public function getEsComment1(): ?string
  1578.     {
  1579.         return $this->esComment1;
  1580.     }
  1581.     public function setEsComment1(?string $esComment1): self
  1582.     {
  1583.         $this->esComment1 $esComment1;
  1584.         return $this;
  1585.     }
  1586.     public function getEsComment2(): ?string
  1587.     {
  1588.         return $this->esComment2;
  1589.     }
  1590.     public function setEsComment2(?string $esComment2): self
  1591.     {
  1592.         $this->esComment2 $esComment2;
  1593.         return $this;
  1594.     }
  1595.     public function getEsCommentHtml(): ?string
  1596.     {
  1597.         return $this->esCommentHtml;
  1598.     }
  1599.     public function setEsCommentHtml(?string $esCommentHtml): self
  1600.     {
  1601.         $this->esCommentHtml $esCommentHtml;
  1602.         return $this;
  1603.     }
  1604.     public function getEsMemo1(): ?string
  1605.     {
  1606.         return $this->esMemo1;
  1607.     }
  1608.     public function setEsMemo1(?string $esMemo1): self
  1609.     {
  1610.         $this->esMemo1 $esMemo1;
  1611.         return $this;
  1612.     }
  1613.     public function getEsMemo2(): ?string
  1614.     {
  1615.         return $this->esMemo2;
  1616.     }
  1617.     public function setEsMemo2(?string $esMemo2): self
  1618.     {
  1619.         $this->esMemo2 $esMemo2;
  1620.         return $this;
  1621.     }
  1622.     public function getEsMemo3(): ?string
  1623.     {
  1624.         return $this->esMemo3;
  1625.     }
  1626.     public function setEsMemo3(?string $esMemo3): self
  1627.     {
  1628.         $this->esMemo3 $esMemo3;
  1629.         return $this;
  1630.     }
  1631.     public function getEsInternalComment(): ?string
  1632.     {
  1633.         return $this->esInternalComment;
  1634.     }
  1635.     public function setEsInternalComment(?string $esInternalComment): self
  1636.     {
  1637.         $this->esInternalComment $esInternalComment;
  1638.         return $this;
  1639.     }
  1640.     public function getEsDocumentationf(): ?string
  1641.     {
  1642.         return $this->esDocumentationf;
  1643.     }
  1644.     public function setEsDocumentationf(?string $esdocumentationf): self
  1645.     {
  1646.         $this->esDocumentationf $esdocumentationf;
  1647.         return $this;
  1648.     }
  1649.     public function getEsDocumentationl1(): ?string
  1650.     {
  1651.         return $this->esDocumentationl1;
  1652.     }
  1653.     public function setEsDocumentationl1(?string $esdocumentationl1): self
  1654.     {
  1655.         $this->esDocumentationl1 $esdocumentationl1;
  1656.         return $this;
  1657.     }
  1658.     public function getEsDocumentationl2(): ?string
  1659.     {
  1660.         return $this->esDocumentationl2;
  1661.     }
  1662.     public function setEsDocumentationl2(?string $esdocumentationl2): self
  1663.     {
  1664.         $this->esDocumentationl2 $esdocumentationl2;
  1665.         return $this;
  1666.     }
  1667.     public function getItName(): ?string
  1668.     {
  1669.         return $this->itName;
  1670.     }
  1671.     public function setItName(?string $itName): self
  1672.     {
  1673.         $this->itName $itName;
  1674.         return $this;
  1675.     }
  1676.     public function getItSlug(): ?string
  1677.     {
  1678.         return $this->itSlug;
  1679.     }
  1680.     public function setItSlug(?string $itSlug): self
  1681.     {
  1682.         $this->itSlug $itSlug;
  1683.         return $this;
  1684.     }
  1685.     public function getItComment(): ?string
  1686.     {
  1687.         return $this->itComment;
  1688.     }
  1689.     public function setItComment(?string $itComment): self
  1690.     {
  1691.         $this->itComment $itComment;
  1692.         return $this;
  1693.     }
  1694.     public function getItComment1(): ?string
  1695.     {
  1696.         return $this->itComment1;
  1697.     }
  1698.     public function setItComment1(?string $itComment1): self
  1699.     {
  1700.         $this->itComment1 $itComment1;
  1701.         return $this;
  1702.     }
  1703.     public function getItComment2(): ?string
  1704.     {
  1705.         return $this->itComment2;
  1706.     }
  1707.     public function setItComment2(?string $itComment2): self
  1708.     {
  1709.         $this->itComment2 $itComment2;
  1710.         return $this;
  1711.     }
  1712.     public function getItCommentHtml(): ?string
  1713.     {
  1714.         return $this->itCommentHtml;
  1715.     }
  1716.     public function setItCommentHtml(?string $itCommentHtml): self
  1717.     {
  1718.         $this->itCommentHtml $itCommentHtml;
  1719.         return $this;
  1720.     }
  1721.     public function getItMemo1(): ?string
  1722.     {
  1723.         return $this->itMemo1;
  1724.     }
  1725.     public function setItMemo1(?string $itMemo1): self
  1726.     {
  1727.         $this->itMemo1 $itMemo1;
  1728.         return $this;
  1729.     }
  1730.     public function getItMemo2(): ?string
  1731.     {
  1732.         return $this->itMemo2;
  1733.     }
  1734.     public function setItMemo2(?string $itMemo2): self
  1735.     {
  1736.         $this->itMemo2 $itMemo2;
  1737.         return $this;
  1738.     }
  1739.     public function getItMemo3(): ?string
  1740.     {
  1741.         return $this->itMemo3;
  1742.     }
  1743.     public function setItMemo3(?string $itMemo3): self
  1744.     {
  1745.         $this->itMemo3 $itMemo3;
  1746.         return $this;
  1747.     }
  1748.     public function getItInternalComment(): ?string
  1749.     {
  1750.         return $this->itInternalComment;
  1751.     }
  1752.     public function setItInternalComment(?string $itInternalComment): self
  1753.     {
  1754.         $this->itInternalComment $itInternalComment;
  1755.         return $this;
  1756.     }
  1757.     public function getItDocumentationf(): ?string
  1758.     {
  1759.         return $this->itDocumentationf;
  1760.     }
  1761.     public function setItDocumentationf(?string $itdocumentationf): self
  1762.     {
  1763.         $this->itDocumentationf $itdocumentationf;
  1764.         return $this;
  1765.     }
  1766.     public function getItDocumentationl1(): ?string
  1767.     {
  1768.         return $this->itDocumentationl1;
  1769.     }
  1770.     public function setItDocumentationl1(?string $itdocumentationl1): self
  1771.     {
  1772.         $this->itDocumentationl1 $itdocumentationl1;
  1773.         return $this;
  1774.     }
  1775.     public function getItDocumentationl2(): ?string
  1776.     {
  1777.         return $this->itDocumentationl2;
  1778.     }
  1779.     public function setItDocumentationl2(?string $itdocumentationl2): self
  1780.     {
  1781.         $this->itDocumentationl2 $itdocumentationl2;
  1782.         return $this;
  1783.     }
  1784.     public function getNlName(): ?string
  1785.     {
  1786.         return $this->nlName;
  1787.     }
  1788.     public function setNlName(?string $nlName): self
  1789.     {
  1790.         $this->nlName $nlName;
  1791.         return $this;
  1792.     }
  1793.     public function getNlSlug(): ?string
  1794.     {
  1795.         return $this->nlSlug;
  1796.     }
  1797.     public function setNlSlug(?string $nlSlug): self
  1798.     {
  1799.         $this->nlSlug $nlSlug;
  1800.         return $this;
  1801.     }
  1802.     public function getNlComment(): ?string
  1803.     {
  1804.         return $this->nlComment;
  1805.     }
  1806.     public function setNlComment(?string $nlComment): self
  1807.     {
  1808.         $this->nlComment $nlComment;
  1809.         return $this;
  1810.     }
  1811.     public function getNlComment1(): ?string
  1812.     {
  1813.         return $this->nlComment1;
  1814.     }
  1815.     public function setNlComment1(?string $nlComment1): self
  1816.     {
  1817.         $this->nlComment1 $nlComment1;
  1818.         return $this;
  1819.     }
  1820.     public function getNlComment2(): ?string
  1821.     {
  1822.         return $this->nlComment2;
  1823.     }
  1824.     public function setNlComment2(?string $nlComment2): self
  1825.     {
  1826.         $this->nlComment2 $nlComment2;
  1827.         return $this;
  1828.     }
  1829.     public function getNlCommentHtml(): ?string
  1830.     {
  1831.         return $this->nlCommentHtml;
  1832.     }
  1833.     public function setNlCommentHtml(?string $nlCommentHtml): self
  1834.     {
  1835.         $this->nlCommentHtml $nlCommentHtml;
  1836.         return $this;
  1837.     }
  1838.     public function getNlMemo1(): ?string
  1839.     {
  1840.         return $this->nlMemo1;
  1841.     }
  1842.     public function setNlMemo1(?string $nlMemo1): self
  1843.     {
  1844.         $this->nlMemo1 $nlMemo1;
  1845.         return $this;
  1846.     }
  1847.     public function getNlMemo2(): ?string
  1848.     {
  1849.         return $this->nlMemo2;
  1850.     }
  1851.     public function setNlMemo2(?string $nlMemo2): self
  1852.     {
  1853.         $this->nlMemo2 $nlMemo2;
  1854.         return $this;
  1855.     }
  1856.     public function getNlMemo3(): ?string
  1857.     {
  1858.         return $this->nlMemo3;
  1859.     }
  1860.     public function setNlMemo3(?string $nlMemo3): self
  1861.     {
  1862.         $this->nlMemo3 $nlMemo3;
  1863.         return $this;
  1864.     }
  1865.     public function getNlInternalComment(): ?string
  1866.     {
  1867.         return $this->nlInternalComment;
  1868.     }
  1869.     public function setNlInternalComment(?string $nlInternalComment): self
  1870.     {
  1871.         $this->nlInternalComment $nlInternalComment;
  1872.         return $this;
  1873.     }
  1874.     public function getNlDocumentationf(): ?string
  1875.     {
  1876.         return $this->nlDocumentationf;
  1877.     }
  1878.     public function setNlDocumentationf(?string $nldocumentationf): self
  1879.     {
  1880.         $this->nlDocumentationf $nldocumentationf;
  1881.         return $this;
  1882.     }
  1883.     public function getNlDocumentationl1(): ?string
  1884.     {
  1885.         return $this->nlDocumentationl1;
  1886.     }
  1887.     public function setNlDocumentationl1(?string $nldocumentationl1): self
  1888.     {
  1889.         $this->nlDocumentationl1 $nldocumentationl1;
  1890.         return $this;
  1891.     }
  1892.     public function getNlDocumentationl2(): ?string
  1893.     {
  1894.         return $this->nlDocumentationl2;
  1895.     }
  1896.     public function setNlDocumentationl2(?string $nldocumentationl2): self
  1897.     {
  1898.         $this->nlDocumentationl2 $nldocumentationl2;
  1899.         return $this;
  1900.     }
  1901.     public function getPtName(): ?string
  1902.     {
  1903.         return $this->ptName;
  1904.     }
  1905.     public function setPtName(?string $ptName): self
  1906.     {
  1907.         $this->ptName $ptName;
  1908.         return $this;
  1909.     }
  1910.     public function getPtSlug(): ?string
  1911.     {
  1912.         return $this->ptSlug;
  1913.     }
  1914.     public function setPtSlug(?string $ptSlug): self
  1915.     {
  1916.         $this->ptSlug $ptSlug;
  1917.         return $this;
  1918.     }
  1919.     public function getPtComment(): ?string
  1920.     {
  1921.         return $this->ptComment;
  1922.     }
  1923.     public function setPtComment(?string $ptComment): self
  1924.     {
  1925.         $this->ptComment $ptComment;
  1926.         return $this;
  1927.     }
  1928.     public function getPtComment1(): ?string
  1929.     {
  1930.         return $this->ptComment1;
  1931.     }
  1932.     public function setPtComment1(?string $ptComment1): self
  1933.     {
  1934.         $this->ptComment1 $ptComment1;
  1935.         return $this;
  1936.     }
  1937.     public function getPtComment2(): ?string
  1938.     {
  1939.         return $this->ptComment2;
  1940.     }
  1941.     public function setPtComment2(?string $ptComment2): self
  1942.     {
  1943.         $this->ptComment2 $ptComment2;
  1944.         return $this;
  1945.     }
  1946.     public function getPtCommentHtml(): ?string
  1947.     {
  1948.         return $this->ptCommentHtml;
  1949.     }
  1950.     public function setPtCommentHtml(?string $ptCommentHtml): self
  1951.     {
  1952.         $this->ptCommentHtml $ptCommentHtml;
  1953.         return $this;
  1954.     }
  1955.     public function getPtMemo1(): ?string
  1956.     {
  1957.         return $this->ptMemo1;
  1958.     }
  1959.     public function setPtMemo1(?string $ptMemo1): self
  1960.     {
  1961.         $this->ptMemo1 $ptMemo1;
  1962.         return $this;
  1963.     }
  1964.     public function getPtMemo2(): ?string
  1965.     {
  1966.         return $this->ptMemo2;
  1967.     }
  1968.     public function setPtMemo2(?string $ptMemo2): self
  1969.     {
  1970.         $this->ptMemo2 $ptMemo2;
  1971.         return $this;
  1972.     }
  1973.     public function getPtMemo3(): ?string
  1974.     {
  1975.         return $this->ptMemo3;
  1976.     }
  1977.     public function setPtMemo3(?string $ptMemo3): self
  1978.     {
  1979.         $this->ptMemo3 $ptMemo3;
  1980.         return $this;
  1981.     }
  1982.     public function getPtInternalComment(): ?string
  1983.     {
  1984.         return $this->ptInternalComment;
  1985.     }
  1986.     public function setPtInternalComment(?string $ptInternalComment): self
  1987.     {
  1988.         $this->ptInternalComment $ptInternalComment;
  1989.         return $this;
  1990.     }
  1991.     public function getPtDocumentationf(): ?string
  1992.     {
  1993.         return $this->ptDocumentationf;
  1994.     }
  1995.     public function setPtDocumentationf(?string $ptdocumentationf): self
  1996.     {
  1997.         $this->ptDocumentationf $ptdocumentationf;
  1998.         return $this;
  1999.     }
  2000.     public function getPtDocumentationl1(): ?string
  2001.     {
  2002.         return $this->ptDocumentationl1;
  2003.     }
  2004.     public function setPtDocumentationl1(?string $ptdocumentationl1): self
  2005.     {
  2006.         $this->ptDocumentationl1 $ptdocumentationl1;
  2007.         return $this;
  2008.     }
  2009.     public function getPtDocumentationl2(): ?string
  2010.     {
  2011.         return $this->ptDocumentationl2;
  2012.     }
  2013.     public function setPtDocumentationl2(?string $ptdocumentationl2): self
  2014.     {
  2015.         $this->ptDocumentationl2 $ptdocumentationl2;
  2016.         return $this;
  2017.     }
  2018.     public function getProductCode(): ?int
  2019.     {
  2020.         return $this->productCode;
  2021.     }
  2022.     public function setProductCode(?int $productCode): self
  2023.     {
  2024.         $this->productCode $productCode;
  2025.         return $this;
  2026.     }
  2027.     public function getProductTypeCode(): ?int
  2028.     {
  2029.         return $this->productTypeCode;
  2030.     }
  2031.     public function setProductTypeCode(?int $productTypeCode): self
  2032.     {
  2033.         $this->productTypeCode $productTypeCode;
  2034.         return $this;
  2035.     }
  2036.     public function getTypeName(): ?string
  2037.     {
  2038.         return $this->typeName;
  2039.     }
  2040.     public function setTypeName(?string $typeName): self
  2041.     {
  2042.         $this->typeName $typeName;
  2043.         return $this;
  2044.     }
  2045.     public function getReference(): ?string
  2046.     {
  2047.         return $this->reference;
  2048.     }
  2049.     public function setReference(?string $reference): self
  2050.     {
  2051.         $this->reference $reference;
  2052.         return $this;
  2053.     }
  2054.     public function getGeorefType(): ?int
  2055.     {
  2056.         return $this->georefType;
  2057.     }
  2058.     public function setGeorefType(?int $georefType): self
  2059.     {
  2060.         $this->georefType $georefType;
  2061.         return $this;
  2062.     }
  2063.     public function getGeoref(): ?int
  2064.     {
  2065.         return $this->georef;
  2066.     }
  2067.     public function setGeoref(?int $georef): self
  2068.     {
  2069.         $this->georef $georef;
  2070.         return $this;
  2071.     }
  2072.     public function getDistance(): ?float
  2073.     {
  2074.         return $this->distance;
  2075.     }
  2076.     public function setDistance(?float $distance): self
  2077.     {
  2078.         $this->distance $distance;
  2079.         return $this;
  2080.     }
  2081.     public function getScore(): ?float
  2082.     {
  2083.         return $this->score;
  2084.     }
  2085.     public function setScore(?float $score): self
  2086.     {
  2087.         $this->score $score;
  2088.         return $this;
  2089.     }
  2090.     public function getLocationName(): ?string
  2091.     {
  2092.         return $this->locationName;
  2093.     }
  2094.     public function setLocationName(?string $locationName): self
  2095.     {
  2096.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2097.         if (!empty($locationName) && strlen($locationName) > 255)
  2098.             return $this;
  2099.         $this->locationName $locationName;
  2100.         return $this;
  2101.     }
  2102.     public function getStreetNumber(): ?string
  2103.     {
  2104.         return $this->streetNumber;
  2105.     }
  2106.     public function setStreetNumber(?string $streetNumber): self
  2107.     {
  2108.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2109.         if (!empty($streetNumber) && strlen($streetNumber) > 255)
  2110.             return $this;
  2111.         $this->streetNumber $streetNumber;
  2112.         return $this;
  2113.     }
  2114.     public function getStreetName(): ?string
  2115.     {
  2116.         return $this->streetName;
  2117.     }
  2118.     public function setStreetName(?string $streetName): self
  2119.     {
  2120.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2121.         if (!empty($streetName) && strlen($streetName) > 255)
  2122.             return $this;
  2123.         $this->streetName $streetName;
  2124.         return $this;
  2125.     }
  2126.     public function getAdditionAddress(): ?string
  2127.     {
  2128.         return $this->additionAddress;
  2129.     }
  2130.     public function setAdditionAddress(?string $additionAddress): self
  2131.     {
  2132.         $this->additionAddress $additionAddress;
  2133.         return $this;
  2134.     }
  2135.     public function getSpecialDistributionAddress(): ?string
  2136.     {
  2137.         return $this->specialDistributionAddress;
  2138.     }
  2139.     public function setSpecialDistributionAddress(?string $specialDistributionAddress): self
  2140.     {
  2141.         $this->specialDistributionAddress $specialDistributionAddress;
  2142.         return $this;
  2143.     }
  2144.     public function getAddress(): ?string
  2145.     {
  2146.         return $this->address;
  2147.     }
  2148.     public function setAddress(?string $address): self
  2149.     {
  2150.         $this->address $address;
  2151.         return $this;
  2152.     }
  2153.     public function getZipCode(): ?string
  2154.     {
  2155.         return $this->zipCode;
  2156.     }
  2157.     public function setZipCode(?string $zipCode): self
  2158.     {
  2159.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2160.         if (!empty($zipCode) && strlen($zipCode) > 255)
  2161.             return $this;
  2162.         $this->zipCode $zipCode;
  2163.         return $this;
  2164.     }
  2165.     public function getInsee(): ?string
  2166.     {
  2167.         return $this->insee;
  2168.     }
  2169.     public function setInsee(?string $insee): self
  2170.     {
  2171.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2172.         if (!empty($insee) && strlen($insee) > 255)
  2173.             return $this;
  2174.         $this->insee $insee;
  2175.         return $this;
  2176.     }
  2177.     public function getCityInsee(): ?CityInsee
  2178.     {
  2179.         return $this->cityInsee;
  2180.     }
  2181.     public function setCityInsee(?CityInsee $cityInsee): self
  2182.     {
  2183.         $this->cityInsee $cityInsee;
  2184.         return $this;
  2185.     }
  2186.     public function getCity(): ?string
  2187.     {
  2188.         return $this->city;
  2189.     }
  2190.     public function setCity(?string $city): self
  2191.     {
  2192.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2193.         if (!empty($city) && strlen($city) > 255)
  2194.             return $this;
  2195.         $this->city $city;
  2196.         return $this;
  2197.     }
  2198.     public function getCountry(): ?string
  2199.     {
  2200.         return $this->country;
  2201.     }
  2202.     public function setCountry(?string $country): self
  2203.     {
  2204.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2205.         if (!empty($country) && strlen($country) > 255)
  2206.             return $this;
  2207.         $this->country $country;
  2208.         return $this;
  2209.     }
  2210.     public function getPhone(): ?string
  2211.     {
  2212.         return $this->phone;
  2213.     }
  2214.     public function setPhone(?string $phone): self
  2215.     {
  2216.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2217.         if (!empty($phone) && strlen($phone) > 255)
  2218.             return $this;
  2219.         $this->phone $phone;
  2220.         return $this;
  2221.     }
  2222.     public function getPhone2(): ?string
  2223.     {
  2224.         return $this->phone2;
  2225.     }
  2226.     public function setPhone2(?string $phone2): self
  2227.     {
  2228.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2229.         if (!empty($phone2) && strlen($phone2) > 255)
  2230.             return $this;
  2231.         $this->phone2 $phone2;
  2232.         return $this;
  2233.     }
  2234.     public function getPhone3(): ?string
  2235.     {
  2236.         return $this->phone3;
  2237.     }
  2238.     public function setPhone3(?string $phone3): self
  2239.     {
  2240.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2241.         if (!empty($phone3) && strlen($phone3) > 255)
  2242.             return $this;
  2243.         $this->phone3 $phone3;
  2244.         return $this;
  2245.     }
  2246.     public function getFax(): ?string
  2247.     {
  2248.         return $this->fax;
  2249.     }
  2250.     public function setFax(?string $fax): self
  2251.     {
  2252.         $this->fax $fax;
  2253.         return $this;
  2254.     }
  2255.     public function getEmail(): ?string
  2256.     {
  2257.         return $this->email;
  2258.     }
  2259.     public function setEmail(?string $email): self
  2260.     {
  2261.         $this->email $email;
  2262.         return $this;
  2263.     }
  2264.     public function getEmail2(): ?string
  2265.     {
  2266.         return $this->email2;
  2267.     }
  2268.     public function setEmail2(?string $email2): self
  2269.     {
  2270.         $this->email2 $email2;
  2271.         return $this;
  2272.     }
  2273.     public function getUrl(): ?string
  2274.     {
  2275.         return $this->url;
  2276.     }
  2277.     public function setUrl(?string $url): self
  2278.     {
  2279.         $this->url $url;
  2280.         return $this;
  2281.     }
  2282.     public function getUrl2(): ?string
  2283.     {
  2284.         return $this->url2;
  2285.     }
  2286.     public function setUrl2(?string $url2): self
  2287.     {
  2288.         $this->url2 $url2;
  2289.         return $this;
  2290.     }
  2291.     public function getEntityManager(): ?int
  2292.     {
  2293.         return $this->entityManager;
  2294.     }
  2295.     public function setEntityManager(?int $entityManager): self
  2296.     {
  2297.         $this->entityManager $entityManager;
  2298.         return $this;
  2299.     }
  2300.     public function getProviderCode(): ?int
  2301.     {
  2302.         return $this->providerCode;
  2303.     }
  2304.     public function setProviderCode(?int $providerCode): self
  2305.     {
  2306.         $this->providerCode $providerCode;
  2307.         return $this;
  2308.     }
  2309.     public function getProviderName(): ?string
  2310.     {
  2311.         return $this->providerName;
  2312.     }
  2313.     public function setProviderName(?string $providerName): self
  2314.     {
  2315.         $this->providerName $providerName;
  2316.         return $this;
  2317.     }
  2318.     public function getProviderCivility(): ?string
  2319.     {
  2320.         return $this->providerCivility;
  2321.     }
  2322.     public function setProviderCivility(?string $providerCivility): self
  2323.     {
  2324.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2325.         if (!empty($providerCivility) && strlen($providerCivility) > 255)
  2326.             return $this;
  2327.         $this->providerCivility $providerCivility;
  2328.         return $this;
  2329.     }
  2330.     public function getProviderResponsibleName(): ?string
  2331.     {
  2332.         return $this->providerResponsibleName;
  2333.     }
  2334.     public function setProviderResponsibleName(?string $providerResponsibleName): self
  2335.     {
  2336.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2337.         if (!empty($providerResponsibleName) && strlen($providerResponsibleName) > 255)
  2338.             return $this;
  2339.         $this->providerResponsibleName $providerResponsibleName;
  2340.         return $this;
  2341.     }
  2342.     public function getProviderResponsibleFirstname(): ?string
  2343.     {
  2344.         return $this->providerResponsibleFirstname;
  2345.     }
  2346.     public function setProviderResponsibleFirstname(?string $providerResponsibleFirstname): self
  2347.     {
  2348.         $this->providerResponsibleFirstname $providerResponsibleFirstname;
  2349.         return $this;
  2350.     }
  2351.     public function getProviderLocationName(): ?string
  2352.     {
  2353.         return $this->providerLocationName;
  2354.     }
  2355.     public function setProviderLocationName(?string $providerLocationName): self
  2356.     {
  2357.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2358.         if (!empty($providerLocationName) && strlen($providerLocationName) > 255)
  2359.             return $this;
  2360.         $this->providerLocationName $providerLocationName;
  2361.         return $this;
  2362.     }
  2363.     public function getProviderStreetNumber(): ?string
  2364.     {
  2365.         return $this->providerStreetNumber;
  2366.     }
  2367.     public function setProviderStreetNumber(?string $providerStreetNumber): self
  2368.     {
  2369.         $this->providerStreetNumber $providerStreetNumber;
  2370.         return $this;
  2371.     }
  2372.     public function getProviderStreetName(): ?string
  2373.     {
  2374.         return $this->providerStreetName;
  2375.     }
  2376.     public function setProviderStreetName(?string $providerStreetName): self
  2377.     {
  2378.         $this->providerStreetName $providerStreetName;
  2379.         return $this;
  2380.     }
  2381.     public function getProviderAdditionAddress(): ?string
  2382.     {
  2383.         return $this->providerAdditionAddress;
  2384.     }
  2385.     public function setProviderAdditionAddress(?string $providerAdditionAddress): self
  2386.     {
  2387.         $this->providerAdditionAddress $providerAdditionAddress;
  2388.         return $this;
  2389.     }
  2390.     public function getProviderZipCode(): ?string
  2391.     {
  2392.         return $this->providerZipCode;
  2393.     }
  2394.     public function setProviderZipCode(?string $providerZipCode): self
  2395.     {
  2396.         $this->providerZipCode $providerZipCode;
  2397.         return $this;
  2398.     }
  2399.     public function getProviderCity(): ?string
  2400.     {
  2401.         return $this->providerCity;
  2402.     }
  2403.     public function setProviderCity(?string $providerCity): self
  2404.     {
  2405.         $this->providerCity $providerCity;
  2406.         return $this;
  2407.     }
  2408.     public function getProviderCountry(): ?string
  2409.     {
  2410.         return $this->providerCountry;
  2411.     }
  2412.     public function setProviderCountry(?string $providerCountry): self
  2413.     {
  2414.         $this->providerCountry $providerCountry;
  2415.         return $this;
  2416.     }
  2417.     public function getProviderPhone(): ?string
  2418.     {
  2419.         return $this->providerPhone;
  2420.     }
  2421.     public function setProviderPhone(?string $providerPhone): self
  2422.     {
  2423.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2424.         if (!empty($providerPhone) && strlen($providerPhone) > 255)
  2425.             return $this;
  2426.         $this->providerPhone $providerPhone;
  2427.         return $this;
  2428.     }
  2429.     public function getProviderPhone2(): ?string
  2430.     {
  2431.         return $this->providerPhone2;
  2432.     }
  2433.     public function setProviderPhone2(?string $providerPhone2): self
  2434.     {
  2435.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2436.         if (!empty($providerPhone2) && strlen($providerPhone2) > 255)
  2437.             return $this;
  2438.         $this->providerPhone2 $providerPhone2;
  2439.         return $this;
  2440.     }
  2441.     public function getProviderPhone3(): ?string
  2442.     {
  2443.         return $this->providerPhone3;
  2444.     }
  2445.     public function setProviderPhone3(?string $providerPhone3): self
  2446.     {
  2447.         // Patch DN 12/2020 : Touroinsoft ne controle pas la longueur de ses champs !!!
  2448.         if (!empty($providerPhone3) && strlen($providerPhone3) > 255)
  2449.             return $this;
  2450.         $this->providerPhone3 $providerPhone3;
  2451.         return $this;
  2452.     }
  2453.     public function getProviderFax(): ?string
  2454.     {
  2455.         return $this->providerFax;
  2456.     }
  2457.     public function setProviderFax(?string $providerFax): self
  2458.     {
  2459.         $this->providerFax $providerFax;
  2460.         return $this;
  2461.     }
  2462.     public function getProviderEmail(): ?string
  2463.     {
  2464.         return $this->providerEmail;
  2465.     }
  2466.     public function setProviderEmail(?string $providerEmail): self
  2467.     {
  2468.         $this->providerEmail $providerEmail;
  2469.         return $this;
  2470.     }
  2471.     public function getProviderEmail2(): ?string
  2472.     {
  2473.         return $this->providerEmail2;
  2474.     }
  2475.     public function setProviderEmail2(?string $providerEmail2): self
  2476.     {
  2477.         $this->providerEmail2 $providerEmail2;
  2478.         return $this;
  2479.     }
  2480.     public function getProviderUrl(): ?string
  2481.     {
  2482.         return $this->providerUrl;
  2483.     }
  2484.     public function setProviderUrl(?string $providerUrl): self
  2485.     {
  2486.         $this->providerUrl $providerUrl;
  2487.         return $this;
  2488.     }
  2489.     public function getProviderUrl2(): ?string
  2490.     {
  2491.         return $this->providerUrl2;
  2492.     }
  2493.     public function setProviderUrl2(?string $providerUrl2): self
  2494.     {
  2495.         $this->providerUrl2 $providerUrl2;
  2496.         return $this;
  2497.     }
  2498.     public function getProviderSpecialDistribution(): ?string
  2499.     {
  2500.         return $this->providerSpecialDistribution;
  2501.     }
  2502.     public function setProviderSpecialDistribution(?string $providerSpecialDistribution): self
  2503.     {
  2504.         $this->providerSpecialDistribution $providerSpecialDistribution;
  2505.         return $this;
  2506.     }
  2507.     public function getContactCivility(): ?string
  2508.     {
  2509.         return $this->contactCivility;
  2510.     }
  2511.     public function setContactCivility(?string $contactCivility): self
  2512.     {
  2513.         $this->contactCivility $contactCivility;
  2514.         return $this;
  2515.     }
  2516.     public function getContactLastname(): ?string
  2517.     {
  2518.         return $this->contactLastname;
  2519.     }
  2520.     public function setContactLastname(?string $contactLastname): self
  2521.     {
  2522.         $this->contactLastname $contactLastname;
  2523.         return $this;
  2524.     }
  2525.     public function getContactFirstName(): ?string
  2526.     {
  2527.         return $this->contactFirstName;
  2528.     }
  2529.     public function setContactFirstName(?string $contactFirstName): self
  2530.     {
  2531.         $this->contactFirstName $contactFirstName;
  2532.         return $this;
  2533.     }
  2534.     public function getManagerCivility(): ?string
  2535.     {
  2536.         return $this->managerCivility;
  2537.     }
  2538.     public function setManagerCivility(?string $managerCivility): self
  2539.     {
  2540.         $this->managerCivility $managerCivility;
  2541.         return $this;
  2542.     }
  2543.     public function getManagerLastname(): ?string
  2544.     {
  2545.         return $this->managerLastname;
  2546.     }
  2547.     public function setManagerLastname(?string $managerLastname): self
  2548.     {
  2549.         $this->managerLastname $managerLastname;
  2550.         return $this;
  2551.     }
  2552.     public function getManagerFirstName(): ?string
  2553.     {
  2554.         return $this->managerFirstName;
  2555.     }
  2556.     public function setManagerFirstName(?string $managerFirstName): self
  2557.     {
  2558.         $this->managerFirstName $managerFirstName;
  2559.         return $this;
  2560.     }
  2561.     public function getManagerStreetNumber(): ?string
  2562.     {
  2563.         return $this->managerStreetNumber;
  2564.     }
  2565.     public function setManagerStreetNumber(?string $managerStreetNumber): self
  2566.     {
  2567.         $this->managerStreetNumber $managerStreetNumber;
  2568.         return $this;
  2569.     }
  2570.     public function getManagerStreetName(): ?string
  2571.     {
  2572.         return $this->managerStreetName;
  2573.     }
  2574.     public function setManagerStreetName(?string $managerStreetName): self
  2575.     {
  2576.         $this->managerStreetName $managerStreetName;
  2577.         return $this;
  2578.     }
  2579.     public function getManagerAdditionAddress(): ?string
  2580.     {
  2581.         return $this->managerAdditionAddress;
  2582.     }
  2583.     public function setManagerAdditionAddress(?string $managerAdditionAddress): self
  2584.     {
  2585.         $this->managerAdditionAddress $managerAdditionAddress;
  2586.         return $this;
  2587.     }
  2588.     public function getManagerZipCode(): ?string
  2589.     {
  2590.         return $this->managerZipCode;
  2591.     }
  2592.     public function setManagerZipCode(?string $managerZipCode): self
  2593.     {
  2594.         $this->managerZipCode $managerZipCode;
  2595.         return $this;
  2596.     }
  2597.     public function getManagerCity(): ?string
  2598.     {
  2599.         return $this->managerCity;
  2600.     }
  2601.     public function setManagerCity(?string $managerCity): self
  2602.     {
  2603.         $this->managerCity $managerCity;
  2604.         return $this;
  2605.     }
  2606.     public function getManagerCountry(): ?string
  2607.     {
  2608.         return $this->managerCountry;
  2609.     }
  2610.     public function setManagerCountry(?string $managerCountry): self
  2611.     {
  2612.         $this->managerCountry $managerCountry;
  2613.         return $this;
  2614.     }
  2615.     public function getManagerPhone(): ?string
  2616.     {
  2617.         return $this->managerPhone;
  2618.     }
  2619.     public function setManagerPhone(?string $managerPhone): self
  2620.     {
  2621.         $this->managerPhone $managerPhone;
  2622.         return $this;
  2623.     }
  2624.     public function getManagerPhone2(): ?string
  2625.     {
  2626.         return $this->managerPhone2;
  2627.     }
  2628.     public function setManagerPhone2(?string $managerPhone2): self
  2629.     {
  2630.         $this->managerPhone2 $managerPhone2;
  2631.         return $this;
  2632.     }
  2633.     public function getManagerPhone3(): ?string
  2634.     {
  2635.         return $this->managerPhone3;
  2636.     }
  2637.     public function setManagerPhone3(?string $managerPhone3): self
  2638.     {
  2639.         $this->managerPhone3 $managerPhone3;
  2640.         return $this;
  2641.     }
  2642.     public function getManagerFax(): ?string
  2643.     {
  2644.         return $this->managerFax;
  2645.     }
  2646.     public function setManagerFax(?string $managerFax): self
  2647.     {
  2648.         $this->managerFax $managerFax;
  2649.         return $this;
  2650.     }
  2651.     public function getManagerEmail(): ?string
  2652.     {
  2653.         return $this->managerEmail;
  2654.     }
  2655.     public function setManagerEmail(?string $managerEmail): self
  2656.     {
  2657.         $this->managerEmail $managerEmail;
  2658.         return $this;
  2659.     }
  2660.     public function getManagerEmail2(): ?string
  2661.     {
  2662.         return $this->managerEmail2;
  2663.     }
  2664.     public function setManagerEmail2(?string $managerEmail2): self
  2665.     {
  2666.         $this->managerEmail2 $managerEmail2;
  2667.         return $this;
  2668.     }
  2669.     public function getManagerUrl(): ?string
  2670.     {
  2671.         return $this->managerUrl;
  2672.     }
  2673.     public function setManagerUrl(?string $managerUrl): self
  2674.     {
  2675.         $this->managerUrl $managerUrl;
  2676.         return $this;
  2677.     }
  2678.     public function getManagerUrl2(): ?string
  2679.     {
  2680.         return $this->managerUrl2;
  2681.     }
  2682.     public function setManagerUrl2(?string $managerUrl2): self
  2683.     {
  2684.         $this->managerUrl2 $managerUrl2;
  2685.         return $this;
  2686.     }
  2687.     public function getManagerSpecialDistribution(): ?string
  2688.     {
  2689.         return $this->managerSpecialDistribution;
  2690.     }
  2691.     public function setManagerSpecialDistribution(?string $managerSpecialDistribution): self
  2692.     {
  2693.         $this->managerSpecialDistribution $managerSpecialDistribution;
  2694.         return $this;
  2695.     }
  2696.     public function getIsValid(): ?bool
  2697.     {
  2698.         return $this->isValid;
  2699.     }
  2700.     public function setIsValid(?bool $isValid): self
  2701.     {
  2702.         $this->isValid $isValid;
  2703.         return $this;
  2704.     }
  2705.     public function getValidFrom(): ?\DateTimeInterface
  2706.     {
  2707.         return $this->validFrom;
  2708.     }
  2709.     public function setValidFrom(?\DateTimeInterface $validFrom): self
  2710.     {
  2711.         $this->validFrom $validFrom;
  2712.         return $this;
  2713.     }
  2714.     public function getValidTo(): ?\DateTimeInterface
  2715.     {
  2716.         return $this->validTo;
  2717.     }
  2718.     public function setValidTo(?\DateTimeInterface $validTo): self
  2719.     {
  2720.         $this->validTo $validTo;
  2721.         return $this;
  2722.     }
  2723.     public function getMaxUpdate(): ?\DateTimeInterface
  2724.     {
  2725.         return $this->maxUpdate;
  2726.     }
  2727.     public function setMaxUpdate(?\DateTimeInterface $maxUpdate): self
  2728.     {
  2729.         $this->maxUpdate $maxUpdate;
  2730.         return $this;
  2731.     }
  2732.     public function getKml(): ?string
  2733.     {
  2734.         return $this->kml;
  2735.     }
  2736.     public function setKml(?string $kml): self
  2737.     {
  2738.         $this->kml $kml;
  2739.         return $this;
  2740.     }
  2741.     public function getGeoPoint()
  2742.     {
  2743.         return $this->geoPoint;
  2744.     }
  2745.     public function setGeoPoint($geoPoint): self
  2746.     {
  2747.         $this->geoPoint $geoPoint;
  2748.         return $this;
  2749.     }
  2750.     public function getGeoLinestring()
  2751.     {
  2752.         return $this->geoLinestring;
  2753.     }
  2754.     public function setGeoLinestring($geoLinestring): self
  2755.     {
  2756.         $this->geoLinestring $geoLinestring;
  2757.         return $this;
  2758.     }
  2759.     public function getEntite(): ?int
  2760.     {
  2761.         return $this->entite;
  2762.     }
  2763.     public function setEntite(?int $entite): self
  2764.     {
  2765.         $this->entite $entite;
  2766.         return $this;
  2767.     }
  2768.     public function getMarking(): ?int
  2769.     {
  2770.         return $this->marking;
  2771.     }
  2772.     public function setMarking(?int $marking): self
  2773.     {
  2774.         $this->marking $marking;
  2775.         return $this;
  2776.     }
  2777.     public function getParams(): ?string
  2778.     {
  2779.         return $this->params;
  2780.     }
  2781.     public function setParams(?string $params): self
  2782.     {
  2783.         $this->params $params;
  2784.         return $this;
  2785.     }
  2786.     public function getCreatedAt(): ?\DateTimeInterface
  2787.     {
  2788.         return $this->createdAt;
  2789.     }
  2790.     public function setCreatedAt(?\DateTimeInterface $createdAt): self
  2791.     {
  2792.         $this->createdAt $createdAt;
  2793.         return $this;
  2794.     }
  2795.     public function getCreatedBy(): ?int
  2796.     {
  2797.         return $this->created_by;
  2798.     }
  2799.     public function setCreatedBy(?int $created_by): self
  2800.     {
  2801.         $this->created_by $created_by;
  2802.         return $this;
  2803.     }
  2804.     public function getUpdatedAt(): ?\DateTimeInterface
  2805.     {
  2806.         return $this->updatedAt;
  2807.     }
  2808.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  2809.     {
  2810.         $this->updatedAt $updatedAt;
  2811.         return $this;
  2812.     }
  2813.     public function getUpdatedBy(): ?int
  2814.     {
  2815.         return $this->updatedBy;
  2816.     }
  2817.     public function setUpdatedBy(?int $updatedBy): self
  2818.     {
  2819.         $this->updatedBy $updatedBy;
  2820.         return $this;
  2821.     }
  2822.     public function getAlea(): ?int
  2823.     {
  2824.         return $this->alea;
  2825.     }
  2826.     public function setAlea(?int $alea): self
  2827.     {
  2828.         $this->alea $alea;
  2829.         return $this;
  2830.     }
  2831.     public function getDocument(): ?string
  2832.     {
  2833.         return $this->document;
  2834.     }
  2835.     public function setDocument(?string $document): self
  2836.     {
  2837.         $this->document $document;
  2838.         return $this;
  2839.     }
  2840.     /**
  2841.      * @return Collection|DnsitTranslateProductCriterion[]
  2842.      */
  2843.     public function getProductCriterions(): Collection
  2844.     {
  2845.         return $this->productCriterions;
  2846.     }
  2847.     public function addProductCriterion(DnsitTranslateProductCriterion $productCriterion): self
  2848.     {
  2849.         if (!$this->productCriterions->contains($productCriterion)) {
  2850.             $this->productCriterions[] = $productCriterion;
  2851.             $productCriterion->setProduct($this);
  2852.         }
  2853.         return $this;
  2854.     }
  2855.     public function removeProductCriterion(DnsitTranslateProductCriterion $productCriterion): self
  2856.     {
  2857.         if ($this->productCriterions->contains($productCriterion)) {
  2858.             $this->productCriterions->removeElement($productCriterion);
  2859.             // set the owning side to null (unless already changed)
  2860.             if ($productCriterion->getProduct() === $this) {
  2861.                 $productCriterion->setProduct(null);
  2862.             }
  2863.         }
  2864.         return $this;
  2865.     }
  2866.     /**
  2867.      * @return Collection|DnsitHour[]
  2868.      */
  2869.     public function getHours(): Collection
  2870.     {
  2871.         return $this->hours;
  2872.     }
  2873.     public function addHour(DnsitHour $hour): self
  2874.     {
  2875.         if (!$this->hours->contains($hour)) {
  2876.             $this->hours[] = $hour;
  2877.             $hour->setProduct($this);
  2878.         }
  2879.         return $this;
  2880.     }
  2881.     public function removeHour(DnsitHour $hour): self
  2882.     {
  2883.         if ($this->hours->contains($hour)) {
  2884.             $this->hours->removeElement($hour);
  2885.             // set the owning side to null (unless already changed)
  2886.             if ($hour->getProduct() === $this) {
  2887.                 $hour->setProduct(null);
  2888.             }
  2889.         }
  2890.         return $this;
  2891.     }
  2892.     /**
  2893.      * @return Collection|DnsitCoupledProduct[]
  2894.      */
  2895.     public function getCoupledProducts(): Collection
  2896.     {
  2897.         return $this->coupledProducts;
  2898.     }
  2899.     public function addCoupledProduct(DnsitCoupledProduct $coupledProduct): self
  2900.     {
  2901.         if (!$this->coupledProducts->contains($coupledProduct)) {
  2902.             $this->coupledProducts[] = $coupledProduct;
  2903.             $coupledProduct->setTranslateProduct($this);
  2904.         }
  2905.         return $this;
  2906.     }
  2907.     public function removeCoupledProduct(DnsitCoupledProduct $coupledProduct): self
  2908.     {
  2909.         if ($this->coupledProducts->contains($coupledProduct)) {
  2910.             $this->coupledProducts->removeElement($coupledProduct);
  2911.             // set the owning side to null (unless already changed)
  2912.             if ($coupledProduct->getTranslateProduct() === $this) {
  2913.                 $coupledProduct->setTranslateProduct(null);
  2914.             }
  2915.         }
  2916.         return $this;
  2917.     }
  2918.     /**
  2919.      * @return Collection|DnsitCoupledProduct[]
  2920.      */
  2921.     public function getCoupledCoupledProducts(): Collection
  2922.     {
  2923.         return $this->coupledCoupledProducts;
  2924.     }
  2925.     public function addCoupledCoupledProduct(DnsitCoupledProduct $coupledCoupledProduct): self
  2926.     {
  2927.         if (!$this->coupledCoupledProducts->contains($coupledCoupledProduct)) {
  2928.             $this->coupledCoupledProducts[] = $coupledCoupledProduct;
  2929.             $coupledCoupledProduct->setCoupledTranslateProduct($this);
  2930.         }
  2931.         return $this;
  2932.     }
  2933.     public function removeCoupledCoupledProduct(DnsitCoupledProduct $coupledCoupledProduct): self
  2934.     {
  2935.         if ($this->coupledCoupledProducts->contains($coupledCoupledProduct)) {
  2936.             $this->coupledCoupledProducts->removeElement($coupledCoupledProduct);
  2937.             // set the owning side to null (unless already changed)
  2938.             if ($coupledCoupledProduct->getCoupledTranslateProduct() === $this) {
  2939.                 $coupledCoupledProduct->setCoupledTranslateProduct(null);
  2940.             }
  2941.         }
  2942.         return $this;
  2943.     }
  2944.     public function getType(): ?DnsitTranslateType
  2945.     {
  2946.         return $this->type;
  2947.     }
  2948.     public function setType(?DnsitTranslateType $type): self
  2949.     {
  2950.         $this->type $type;
  2951.         return $this;
  2952.     }
  2953.     public function bindLeiDatas($fiche$type null$language "fr"$product null$em null)
  2954.     {
  2955.         $columns = array();
  2956.         $values = array();
  2957.         if (isset($product)) {
  2958.             $this->setName($product['de_name'], "de");
  2959.             $this->setName($product['en_name'], "en");
  2960.             $this->setName($product['it_name'], "it");
  2961.             $this->setName($product['es_name'], "es");
  2962.             $this->setName($product['nl_name'], "nl");
  2963.             $this->setName($product['pt_name'], "pt");
  2964.             $this->setComment($product['de_comment'], "de");
  2965.             $this->setComment($product['en_comment'], "en");
  2966.             $this->setComment($product['it_comment'], "it");
  2967.             $this->setComment($product['es_comment'], "es");
  2968.             $this->setComment($product['nl_comment'], "nl");
  2969.             $this->setComment($product['pt_comment'], "pt");
  2970.             $this->setComment1($product['de_comment1'], "de");
  2971.             $this->setComment1($product['en_comment1'], "en");
  2972.             $this->setComment1($product['it_comment1'], "it");
  2973.             $this->setComment1($product['es_comment1'], "es");
  2974.             $this->setComment1($product['nl_comment1'], "nl");
  2975.             $this->setComment1($product['pt_comment1'], "pt");
  2976.             $this->setComment2($product['de_comment2'], "de");
  2977.             $this->setComment2($product['en_comment2'], "en");
  2978.             $this->setComment2($product['it_comment2'], "it");
  2979.             $this->setComment2($product['es_comment2'], "es");
  2980.             $this->setComment2($product['nl_comment2'], "nl");
  2981.             $this->setComment2($product['pt_comment2'], "pt");
  2982.             $this->setComment3($product['de_comment3'], "de");
  2983.             $this->setComment3($product['en_comment3'], "en");
  2984.             $this->setComment3($product['it_comment3'], "it");
  2985.             $this->setComment3($product['es_comment3'], "es");
  2986.             $this->setComment3($product['nl_comment3'], "nl");
  2987.             $this->setComment3($product['pt_comment3'], "pt");
  2988.             $this->setComment7($product['de_comment7'], "de");
  2989.             $this->setComment7($product['en_comment7'], "en");
  2990.             $this->setComment7($product['it_comment7'], "it");
  2991.             $this->setComment7($product['es_comment7'], "es");
  2992.             $this->setComment7($product['nl_comment7'], "nl");
  2993.             $this->setComment7($product['pt_comment7'], "pt");
  2994.             $this->setComment8($product['de_comment8'], "de");
  2995.             $this->setComment8($product['en_comment8'], "en");
  2996.             $this->setComment8($product['it_comment8'], "it");
  2997.             $this->setComment8($product['es_comment8'], "es");
  2998.             $this->setComment8($product['nl_comment8'], "nl");
  2999.             $this->setComment8($product['pt_comment8'], "pt");
  3000.             $this->setComment9($product['de_comment9'], "de");
  3001.             $this->setComment9($product['en_comment9'], "en");
  3002.             $this->setComment9($product['it_comment9'], "it");
  3003.             $this->setComment9($product['es_comment9'], "es");
  3004.             $this->setComment9($product['nl_comment9'], "nl");
  3005.             $this->setComment9($product['pt_comment9'], "pt");
  3006.             $this->setCommentHtml($product['de_comment_html'], "de");
  3007.             $this->setCommentHtml($product['en_comment_html'], "en");
  3008.             $this->setCommentHtml($product['it_comment_html'], "it");
  3009.             $this->setCommentHtml($product['es_comment_html'], "es");
  3010.             $this->setCommentHtml($product['nl_comment_html'], "nl");
  3011.             $this->setCommentHtml($product['pt_comment_html'], "pt");
  3012.             $this->setCommentHtml2($product['de_comment_html2'], "de");
  3013.             $this->setCommentHtml2($product['en_comment_html2'], "en");
  3014.             $this->setCommentHtml2($product['it_comment_html2'], "it");
  3015.             $this->setCommentHtml2($product['es_comment_html2'], "es");
  3016.             $this->setCommentHtml2($product['nl_comment_html2'], "nl");
  3017.             $this->setCommentHtml2($product['pt_comment_html2'], "pt");
  3018.             $this->setCommentHtml3($product['de_comment_html3'], "de");
  3019.             $this->setCommentHtml3($product['en_comment_html3'], "en");
  3020.             $this->setCommentHtml3($product['it_comment_html3'], "it");
  3021.             $this->setCommentHtml3($product['es_comment_html3'], "es");
  3022.             $this->setCommentHtml3($product['nl_comment_html3'], "nl");
  3023.             $this->setCommentHtml3($product['pt_comment_html3'], "pt");
  3024.             $this->setInternalComment($product['de_internal_comment'], "de");
  3025.             $this->setInternalComment($product['en_internal_comment'], "en");
  3026.             $this->setInternalComment($product['it_internal_comment'], "it");
  3027.             $this->setInternalComment($product['es_internal_comment'], "es");
  3028.             $this->setInternalComment($product['nl_internal_comment'], "nl");
  3029.             $this->setInternalComment($product['pt_internal_comment'], "pt");
  3030.             $this->setDocumentationf($product['de_documentationf'], 'de');
  3031.             $this->setDocumentationf($product['en_documentationf'], 'en');
  3032.             $this->setDocumentationf($product['es_documentationf'], 'es');
  3033.             $this->setDocumentationf($product['it_documentationf'], 'it');
  3034.             $this->setDocumentationf($product['nl_documentationf'], 'nl');
  3035.             $this->setDocumentationf($product['pt_documentationf'], 'pt');
  3036.             $this->setDocumentationl1($product['de_documentationl1'], 'de');
  3037.             $this->setDocumentationl1($product['en_documentationl1'], 'en');
  3038.             $this->setDocumentationl1($product['es_documentationl1'], 'es');
  3039.             $this->setDocumentationl1($product['it_documentationl1'], 'it');
  3040.             $this->setDocumentationl1($product['nl_documentationl1'], 'nl');
  3041.             $this->setDocumentationl1($product['pt_documentationl1'], 'pt');
  3042.             $this->setDocumentationl2($product['de_documentationl2'], 'de');
  3043.             $this->setDocumentationl2($product['en_documentationl2'], 'en');
  3044.             $this->setDocumentationl2($product['es_documentationl2'], 'es');
  3045.             $this->setDocumentationl2($product['it_documentationl2'], 'it');
  3046.             $this->setDocumentationl2($product['nl_documentationl2'], 'nl');
  3047.             $this->setDocumentationl2($product['pt_documentationl2'], 'pt');
  3048.             $this->setMemo1($product['de_memo1'], "de");
  3049.             $this->setMemo1($product['en_memo1'], "en");
  3050.             $this->setMemo1($product['it_memo1'], "it");
  3051.             $this->setMemo1($product['es_memo1'], "es");
  3052.             $this->setMemo1($product['nl_memo1'], "nl");
  3053.             $this->setMemo1($product['pt_memo1'], "pt");
  3054.             $this->setMemo2($product['de_memo2'], "de");
  3055.             $this->setMemo2($product['en_memo2'], "en");
  3056.             $this->setMemo2($product['it_memo2'], "it");
  3057.             $this->setMemo2($product['es_memo2'], "es");
  3058.             $this->setMemo2($product['nl_memo2'], "nl");
  3059.             $this->setMemo2($product['pt_memo2'], "pt");
  3060.             $this->setMemo3($product['de_memo3'], "de");
  3061.             $this->setMemo3($product['en_memo3'], "en");
  3062.             $this->setMemo3($product['it_memo3'], "it");
  3063.             $this->setMemo3($product['es_memo3'], "es");
  3064.             $this->setMemo3($product['nl_memo3'], "nl");
  3065.             $this->setMemo3($product['pt_memo3'], "pt");
  3066.         }
  3067.         if ((integer)$fiche->PRODUIT) {
  3068.             $columns[] = "product_code";
  3069.             $values[] = (integer)$fiche->PRODUIT;
  3070.             $this->setProductCode((integer)$fiche->PRODUIT);
  3071.         }
  3072.         $longitude str_replace(",""."$fiche->LONGITUDE);
  3073.         $latitude str_replace(",""."$fiche->LATITUDE);
  3074.         if (abs((float)$longitude) >= && abs((float)$longitude) <= 180 && abs((float)$latitude) >= && abs((float)$latitude) < 90) {
  3075.             $columns[] = "latitude";
  3076.             $values[] = (float)$latitude;
  3077.             $columns[] = "longitude";
  3078.             $values[] = (float)$longitude;
  3079.             $this->setLongitude((float)$longitude);
  3080.             $this->setLatitude((float)$latitude);
  3081.             //$point = new \LongitudeOne\Spatial\PHP\Types\Geometry\Point($this->getLatitude(), $this->getLongitude());
  3082.             // $point->setSrid("4326");
  3083.             //$this->setGeoPoint($point);
  3084.             $this->setGeoPoint('SRID=4326;POINT(' $this->getLongitude() . ' ' $this->getLatitude() . ')');
  3085.             $columns[] = "geo_point";
  3086.             $values[] = "ST_GeomFromText('Point(" . (float)$latitude " " . (float)$longitude ")',4326)";
  3087.         }
  3088.         $this->setName((string)$fiche->NOM$language);
  3089.         $columns[] = $language "_name";
  3090.         $values[] = (string)$fiche->NOM;
  3091.         $columns[] = "address";
  3092.         $values[] = (string)$fiche->ADRESSE;
  3093.         $this->setAddress((string)$fiche->ADRESSE);
  3094.         $columns[] = "street_num";
  3095.         $values[] = (string)$fiche->ADRPROD_NUM_VOIE;
  3096.         $this->setStreetNumber((string)$fiche->ADRPROD_NUM_VOIE);
  3097.         $columns[] = "street_name";
  3098.         $values[] = (string)$fiche->ADRPROD_LIB_VOIE;
  3099.         $this->setStreetName((string)$fiche->ADRPROD_LIB_VOIE);
  3100.         $columns[] = "addition_address";
  3101.         $values[] = (string)$fiche->ADRPROD_COMPL_ADRESSE;
  3102.         $this->setAdditionAddress((string)$fiche->ADRPROD_COMPL_ADRESSE);
  3103.         $columns[] = "special_distribution_address";
  3104.         $values[] = (string)$fiche->ADRPROD_DISTRI_SPE;
  3105.         $this->setSpecialDistributionAddress((string)$fiche->ADRPROD_DISTRI_SPE);
  3106.         $columns[] = "zip_code";
  3107.         $values[] = (string)$fiche->ADRPROD_CP;
  3108.         $this->setZipCode((string)$fiche->ADRPROD_CP);
  3109.         $columns[] = "insee";
  3110.         $values[] = (string)$fiche->INSEE;
  3111.         $this->setInsee((string)$fiche->INSEE);
  3112.         $columns[] = "city";
  3113.         $values[] = (string)$fiche->ADRPROD_LIBELLE_COMMUNE;
  3114.         $this->setCity((string)$fiche->ADRPROD_LIBELLE_COMMUNE);
  3115.         $columns[] = "country";
  3116.         $values[] = (string)$fiche->ADRPROD_PAYS;
  3117.         $this->setCountry((string)$fiche->ADRPROD_PAYS);
  3118.         if ((integer)$fiche->GEOREF) {
  3119.             $columns[] = "georef";
  3120.             $values[] = (string)$fiche->GEOREF;
  3121.             $this->setGeoref((integer)$fiche->GEOREF);
  3122.         }
  3123.         if ((integer)$fiche->GEOREFTYPE) {
  3124.             $columns[] = "georef_type";
  3125.             $values[] = (string)$fiche->GEOREFTYPE;
  3126.             $this->setGeorefType((integer)$fiche->GEOREFTYPE);
  3127.         }
  3128.         $columns[] = "email";
  3129.         $values[] = (string)$fiche->ADRPROD_EMAIL;
  3130.         $this->setEmail((string)$fiche->ADRPROD_EMAIL);
  3131.         $columns[] = "email2";
  3132.         $values[] = (string)$fiche->ADRPROD_EMAIL2;
  3133.         $this->setEmail2((string)$fiche->ADRPROD_EMAIL2);
  3134.         $columns[] = "phone";
  3135.         $values[] = (string)$fiche->ADRPROD_TEL;
  3136.         $this->setPhone((string)$fiche->ADRPROD_TEL);
  3137.         $columns[] = "phone2";
  3138.         $values[] = (string)$fiche->ADRPROD_TEL2;
  3139.         $this->setPhone2((string)$fiche->ADRPROD_TEL2);
  3140.         $columns[] = "phone3";
  3141.         $values[] = (string)$fiche->ADRPROD_TEL3;
  3142.         $this->setPhone3((string)$fiche->ADRPROD_TEL3);
  3143.         $columns[] = "url";
  3144.         $values[] = (string)$fiche->ADRPROD_URL;
  3145.         $this->setUrl((string)$fiche->ADRPROD_URL);
  3146.         $columns[] = "url2";
  3147.         $values[] = (string)$fiche->ADRPROD_URL2;
  3148.         $this->setUrl2((string)$fiche->ADRPROD_URL2);
  3149.         $columns[] = $language "_comment";
  3150.         $values[] = (string)$fiche->COMMENTAIRE;
  3151.         $this->setComment((string)$fiche->COMMENTAIRE$language);
  3152.         $columns[] = $language "_comment1";
  3153.         $values[] = (string)$fiche->COMMENTAIREL1;
  3154.         $this->setComment1((string)$fiche->COMMENTAIREL1$language);
  3155.         $columns[] = $language "_comment2";
  3156.         $values[] = (string)$fiche->COMMENTAIREL2;
  3157.         $this->setComment2((string)$fiche->COMMENTAIREL2$language);
  3158.         $columns[] = $language "_comment7";
  3159.         $values[] = (string)$fiche->COMMENTAIRE7;
  3160.         $this->setComment7((string)$fiche->COMMENTAIRE7$language);
  3161.         $columns[] = $language "_comment8";
  3162.         $values[] = (string)$fiche->COMMENTAIRE8;
  3163.         $this->setComment8((string)$fiche->COMMENTAIRE8$language);
  3164.         $columns[] = $language "_comment9";
  3165.         $values[] = (string)$fiche->COMMENTAIRE9;
  3166.         $this->setComment9((string)$fiche->COMMENTAIRE9$language);
  3167.         $columns[] = $language "_comment_html";
  3168.         $values[] = (string)$fiche->COMMENTAIREHTML;
  3169.         $this->setCommentHtml((string)$fiche->COMMENTAIREHTML$language);
  3170.         $columns[] = $language "_comment_html2";
  3171.         $values[] = (string)$fiche->COMMENTAIREHTML2;
  3172.         $this->setCommentHtml2((string)$fiche->COMMENTAIREHTML2$language);
  3173.         $columns[] = $language "_comment_html3";
  3174.         $values[] = (string)$fiche->COMMENTAIREHTML3;
  3175.         $this->setCommentHtml3((string)$fiche->COMMENTAIREHTML3$language);
  3176.         $columns[] = $language "_internal_comment";
  3177.         $values[] = (string)$fiche->COMMENTAIREINTERNE;
  3178.         $this->setInternalComment((string)$fiche->COMMENTAIREINTERNE$language);
  3179.         $columns[] = $language "_documentationf";
  3180.         $values[] = (string)$fiche->DOCUMENTATIONF;
  3181.         $this->setDocumentationf((string)$fiche->DOCUMENTATIONF$language);
  3182.         $columns[] = $language "_documentationl1";
  3183.         $values[] = (string)$fiche->DOCUMENTATIONL1;
  3184.         $this->setDocumentationl1((string)$fiche->DOCUMENTATIONL1$language);
  3185.         $columns[] = $language "_documentationl2";
  3186.         $values[] = (string)$fiche->DOCUMENTATIONL2;
  3187.         $this->setDocumentationl2((string)$fiche->DOCUMENTATIONL2$language);
  3188.         $columns[] = $language "_memo1";
  3189.         $values[] = (string)$fiche->MEMO1;
  3190.         $this->setMemo1((string)$fiche->MEMO1$language);
  3191.         $columns[] = $language "_memo2";
  3192.         $values[] = (string)$fiche->MEMO2;
  3193.         $this->setMemo2((string)$fiche->MEMO2$language);
  3194.         $columns[] = $language "_memo3";
  3195.         $values[] = (string)$fiche->MEMO3;
  3196.         $this->setMemo3((string)$fiche->MEMO3$language);
  3197.         $this->setProviderCivility((string)$fiche->PREST_CIVILITE);
  3198.         $this->setProviderResponsibleFirstname((string)$fiche->PREST_PRENOM_RESP);
  3199.         $this->setProviderResponsibleName((string)$fiche->PREST_NOM_RESP);
  3200.         $this->setProviderName((string)$fiche->PREST_NOM);
  3201.         $this->setProviderStreetNumber((string)$fiche->ADRPREST_NUM_VOIE);
  3202.         $this->setProviderStreetName((string)$fiche->ADRPREST_LIB_VOIE);
  3203.         $this->setProviderAdditionAddress((string)$fiche->ADRPREST_COMPL_ADRESSE);
  3204.         $this->setProviderZipCode((string)$fiche->ADRPREST_CP);
  3205.         $this->setProviderCity((string)$fiche->ADRPREST_LIBELLE_COMMUNE);
  3206.         $this->setProviderCountry((string)$fiche->ADRPREST_PAYS);
  3207.         $this->setProviderPhone((string)$fiche->ADRPREST_TEL);
  3208.         $this->setProviderPhone2((string)$fiche->ADRPREST_TEL2);
  3209.         $this->setProviderPhone3((string)$fiche->ADRPREST_TEL3);
  3210.         $this->setProviderEmail((string)$fiche->ADRPREST_EMAIL);
  3211.         $this->setProviderEmail2((string)$fiche->ADRPREST_EMAIL2);
  3212.         $this->setProviderUrl((string)$fiche->ADRPREST_URL);
  3213.         $this->setProviderUrl2((string)$fiche->ADRPREST_URL2);
  3214.         $this->setContactCivility((string)$fiche->CIVILITE_RESPONSABLE);
  3215.         $this->setContactFirstName((string)$fiche->PRENOM_RESPONSABLE);
  3216.         $this->setContactLastName((string)$fiche->NOM_RESPONSABLE);
  3217.         $this->setManagerCivility((string)$fiche->CIVILITE_PERSONNE_EN_CHARGE);
  3218.         $this->setManagerLastName((string)$fiche->NOM_PERSONNE_EN_CHARGE);
  3219.         $this->setManagerFirstName((string)$fiche->PRENOM_PERSONNE_EN_CHARGE);
  3220.         $this->setManagerStreetNumber((string)$fiche->ADRPEC_NUM_VOIE);
  3221.         $this->setManagerStreetName((string)$fiche->ADRPEC_LIB_VOIE);
  3222.         $this->setManagerAdditionAddress((string)$fiche->ADRPEC_COMPL_ADRESSE);
  3223.         $this->setManagerSpecialDistribution((string)$fiche->ADRPEC_DISTRI_SPE);
  3224.         $this->setManagerZipCode((string)$fiche->ADRPEC_CP);
  3225.         $this->setManagerCity((string)$fiche->ADRPEC_LIBELLE_COMMUNE);
  3226.         $this->setManagerCountry((string)$fiche->ADRPEC_PAYS);
  3227.         $this->setManagerPhone((string)$fiche->ADRPEC_TEL);
  3228.         $this->setManagerPhone2((string)$fiche->ADRPEC_TEL2);
  3229.         $this->setManagerPhone3((string)$fiche->ADRPEC_TEL3);
  3230.         $this->setManagerFax((string)$fiche->ADRPEC_FAX);
  3231.         $this->setManagerEmail((string)$fiche->ADRPEC_EMAIL);
  3232.         $this->setManagerEmail2((string)$fiche->ADRPEC_EMAIL2);
  3233.         $this->setManagerUrl((string)$fiche->ADRPEC_URL);
  3234.         $this->setManagerUrl2((string)$fiche->ADRPEC_URL2);
  3235.         $this->setTypeName((string)$fiche->TYPE_NOM);
  3236.         if ((integer)$fiche->ENTITE_GESTIONNAIRE) {
  3237.             $this->setEntityManager((integer)$fiche->ENTITE_GESTIONNAIRE);
  3238.         }
  3239.         if ((integer)$fiche->MARQUAGE) {
  3240.             $this->setMarking((integer)$fiche->MARQUAGE);
  3241.         }
  3242.         if ((integer)$fiche->PRESTATAIRE) {
  3243.             $this->setProviderCode((integer)$fiche->PRESTATAIRE);
  3244.         }
  3245.         if ((integer)$fiche->TYPE_DE_PRODUIT) {
  3246.             $this->setProductTypeCode((integer)$fiche->TYPE_DE_PRODUIT);
  3247.         }
  3248.         $tmp = (string)$fiche->DATMAJ;
  3249.         $tmp substr($tmp019); // on prend juste le format 'Y-m-d H:i:s', on coupe le reste - sinon probleme
  3250.         $tmp date_create_from_format("d/m/Y H:i:s"$tmp);
  3251.         if ($tmp !== false) {
  3252.             $setUpdatedAtFunc 'setUpdatedAt';
  3253.             if ($language != 'fr')
  3254.                 $setUpdatedAtFunc 'set' ucfirst($language) . 'UpdatedAt';
  3255.             $this->$setUpdatedAtFunc($tmp);
  3256.         }
  3257.         $tmp = (string)$fiche->DATECREATION;
  3258.         $tmp date_create_from_format("d/m/Y H:i:s"$tmp);
  3259.         if ($tmp !== false)
  3260.             $this->setCreatedAt($tmp);
  3261.         $tmp = (string)$fiche->VALABLE_DEPUIS;
  3262.         $tmp date_create_from_format("d/m/Y H:i:s"$tmp);
  3263.         if ($tmp !== false)
  3264.             $this->setValidFrom($tmp);
  3265.         $tmp = (string)$fiche->VALABLE_JUSQU_A;
  3266.         $tmp date_create_from_format("d/m/Y H:i:s"$tmp);
  3267.         if ($tmp !== false)
  3268.             $this->setValidTo($tmp);
  3269.         $tmp = (string)$fiche->MAXMAJ;
  3270.         $tmp date_create_from_format("d/m/Y H:i:s"$tmp);
  3271.         if ($tmp !== false)
  3272.             $this->setMaxUpdate($tmp);
  3273.         // $this->setUpdatedAt((string) $fiche->DATMAJ);
  3274.         //$this->setCreatedAt((string) $fiche->DATECREATION);
  3275.         //$this->setValidFrom((string) $fiche->VALABLE_DEPUIS);
  3276.         // $this->setValidTo((string) $fiche->VALABLE_JUSQU_A);
  3277.         // $this->setMaxUpdate((string) $fiche->MAXMAJ);
  3278.         if ((integer)$fiche->LALEA)
  3279.             $this->setAlea((integer)$fiche->LALEA);
  3280.         // Ici on intègre le KML
  3281.         // $mods = BridgeFrontUtils::filterProductModalities($fiche->modalities,900002);
  3282.         // Ici on récupère les valeurs des champs de l'entité DnsitProduct ayant le même productCode
  3283.         // Récupération du productCode courant
  3284.         $currentProductCode $this->getProductCode();
  3285.         if ($currentProductCode && $em !== null) {
  3286.             // Recherche de l'entité DnsitProduct portant le même productCode
  3287.             $dnsitProduct $em->getRepository(DnsitProduct::class)->findOneBy(['productCode' => $currentProductCode]);
  3288.             if ($dnsitProduct) {
  3289.                 // Mise Ã  jour des propriétés kml, geoLineString et geoPoint
  3290.                 $this->setKml($dnsitProduct->getKml());
  3291.                 $this->setGeoLinestring($dnsitProduct->getGeoLinestring());
  3292.                 $this->setGeoPoint($dnsitProduct->getGeoPoint());
  3293.             }
  3294.         }
  3295. /*
  3296.         $testKML = $fiche->xpath('CRITERES/Crit[@CLEF_CRITERE=900002]');
  3297.         if (!empty($testKML) && is_array($testKML)) {
  3298.             $this->setKml((string)$testKML[0]);
  3299.             // on récupère le contenu de l'URL stockée dans $KML
  3300.             $urlKml = $this->kml;
  3301.             // on prévoit plusieurs essais de connexion au cas où
  3302.             $nberr = 0;
  3303.             $done = false;
  3304.             $kmlData = false;
  3305.             while (!$done && $nberr < 3) {
  3306.                 try {
  3307.                     $kmlData = file_get_contents($urlKml);
  3308.                     if ($kmlData !== false)
  3309.                         $done = true;
  3310.                     else
  3311.                         $nberr++;
  3312.                 } catch (\Exception $e) {
  3313.                     $nberr++;
  3314.                 }
  3315.                 if (!$done)
  3316.                     sleep(2 * $nberr);
  3317.             }
  3318.             if ($kmlData !== false) {
  3319.                 // test : produit 218006498
  3320.                 // on charge le KML dans une géométrie
  3321.                 $lineStringKML = \geoPHP::load($kmlData, 'kml');
  3322.                 // on s'assure qu'il s'agisse d'un Ã©lément simple
  3323.                 $simpleLineStringKML = \geoPHP::geometryReduce($lineStringKML);
  3324.                 $lineStringArray = array();
  3325.                 if ($simpleLineStringKML !== false & is_object($simpleLineStringKML)) {
  3326.                     // On s'attend Ã  avoir une LineString mais il ya des fois des anomalies, on vérifie donc le type
  3327.                     $dataType = get_class($simpleLineStringKML);
  3328.                     // Doctrine Spatial a besoin d'un tableau de points en 2D seulement et les KML peuvent Ãªtre en 3D
  3329.                     // Il faut aussi des types \LongitudeOne\Spatial\PHP\Types\Geometry\Point et non des types geoPHP\Point
  3330.                     // on récupère donc un tableau des composants de la géométrie
  3331.                     $lineStringKMLPoints = $simpleLineStringKML->getComponents();
  3332.                     if (is_array($lineStringKMLPoints) && count($lineStringKMLPoints) > 0) {
  3333.                         // si la géométrie est bien une LineString...
  3334.                         if ($dataType == 'LineString') {
  3335.                             foreach ($lineStringKMLPoints as $geoPhpPoint) {
  3336.                                 // on boucle sur ses points
  3337.                                 //$creofPoint = new \LongitudeOne\Spatial\PHP\Types\Geometry\Point($geoPhpPoint->coords[1], $geoPhpPoint->coords[0]);
  3338.                                 // $creofPoint->setSrid("4326");
  3339.                                 //$lineStringArray[] = $creofPoint;
  3340.                                 $lineStringArray[] = $geoPhpPoint->coords[0] . ' ' . $geoPhpPoint->coords[1] ;
  3341.                             }
  3342.                         } else {
  3343.                             // Si la géométrie n'est pas une lineString, on considère que c'est soit une multilinestring (99% des cas) soit une multigeometry, on doit alors faire une deuxième boucle sur les objets
  3344.                             foreach ($lineStringKMLPoints as $lineString) {
  3345.                                 $lineStringPoints = $lineString->getComponents();
  3346.                                 if (is_array($lineStringPoints) && count($lineStringPoints) > 0) {
  3347.                                     foreach ($lineStringPoints as $geoPhpPoint) {
  3348.                                         // $creofPoint = new \LongitudeOne\Spatial\PHP\Types\Geometry\Point($geoPhpPoint->coords[1], $geoPhpPoint->coords[0]);
  3349.                                         //$creofPoint->setSrid("4326");
  3350.                                         //$lineStringArray[] = $creofPoint;
  3351.                                         $lineStringArray[] = $geoPhpPoint->coords[0] . ' ' . $geoPhpPoint->coords[1] ;
  3352.                                     }
  3353.                                 }
  3354.                             }
  3355.                         }
  3356.                     }
  3357.                 }
  3358.                 if (!empty($lineStringArray)) {
  3359.                     // avec ce tableau de points, on crée un LineString PHP
  3360.                     // $lineString = new \LongitudeOne\Spatial\PHP\Types\Geometry\LineString($lineStringArray, "4326");
  3361.                     // on le passe dans geoLineString
  3362.                     //$this->setGeoLineString($lineString);
  3363.                     $lineString = 'SRID=4326;LINESTRING(' . implode(',', $lineStringArray) . ')';
  3364.                     // on le passe dans geoLineString
  3365.                     $this->setGeoLineString($lineString);
  3366.                 }
  3367.             } else {
  3368.                 $this->setKml(null);
  3369.             }
  3370.             $sql = "INSERT INTO dnsit_translate_product (";
  3371.             $sql .= implode(",", $columns) . " ) VALUES (";
  3372.             $sql .= implode("','", $values) . " )";
  3373.         }
  3374. */
  3375.         $this->setMarking(MarkingCodesMask::LEI);
  3376.     }
  3377.     public function setName($name$language null)
  3378.     {
  3379.         switch ($language) {
  3380.             case "de":
  3381.                 $this->deName $name;
  3382.                 break;
  3383.             case "en":
  3384.                 $this->enName $name;
  3385.                 break;
  3386.             case "it":
  3387.                 $this->itName $name;
  3388.                 break;
  3389.             case "es":
  3390.                 $this->esName $name;
  3391.                 break;
  3392.             case "nl":
  3393.                 $this->nlName $name;
  3394.                 break;
  3395.             case "pt":
  3396.                 $this->ptName $name;
  3397.                 break;
  3398.         }
  3399.         return $this;
  3400.     }
  3401.     /**
  3402.      * Set comment7
  3403.      *
  3404.      * @param string comment
  3405.      * @return DnsitTranslateProduct
  3406.      */
  3407.     public function setComment7($comment$language)
  3408.     {
  3409.         switch ($language) {
  3410.             case "de":
  3411.                 $this->deComment7 $comment;
  3412.                 break;
  3413.             case "en":
  3414.                 $this->enComment7 $comment;
  3415.                 break;
  3416.             case "it":
  3417.                 $this->itComment7 $comment;
  3418.                 break;
  3419.             case "es":
  3420.                 $this->esComment7 $comment;
  3421.                 break;
  3422.             case "nl":
  3423.                 $this->nlComment7 $comment;
  3424.                 break;
  3425.             case "pt":
  3426.                 $this->ptComment7 $comment;
  3427.                 break;
  3428.         }
  3429.         return $this;
  3430.     }
  3431.         /**
  3432.      * Set comment7
  3433.      *
  3434.      * @param string comment
  3435.      * @return DnsitTranslateProduct
  3436.      */
  3437.     public function setComment8($comment$language)
  3438.     {
  3439.         switch ($language) {
  3440.             case "de":
  3441.                 $this->deComment8 $comment;
  3442.                 break;
  3443.             case "en":
  3444.                 $this->enComment8 $comment;
  3445.                 break;
  3446.             case "it":
  3447.                 $this->itComment8 $comment;
  3448.                 break;
  3449.             case "es":
  3450.                 $this->esComment8 $comment;
  3451.                 break;
  3452.             case "nl":
  3453.                 $this->nlComment8 $comment;
  3454.                 break;
  3455.             case "pt":
  3456.                 $this->ptComment8 $comment;
  3457.                 break;
  3458.         }
  3459.         return $this;
  3460.     } // inutile
  3461.     /**
  3462.      * Set comment7
  3463.      *
  3464.      * @param string comment
  3465.      * @return DnsitTranslateProduct
  3466.      */
  3467.     public function setComment9($comment$language)
  3468.     {
  3469.         switch ($language) {
  3470.             case "de":
  3471.                 $this->deComment9 $comment;
  3472.                 break;
  3473.             case "en":
  3474.                 $this->enComment9 $comment;
  3475.                 break;
  3476.             case "it":
  3477.                 $this->itComment9 $comment;
  3478.                 break;
  3479.             case "es":
  3480.                 $this->esComment9 $comment;
  3481.                 break;
  3482.             case "nl":
  3483.                 $this->nlComment9 $comment;
  3484.                 break;
  3485.             case "pt":
  3486.                 $this->ptComment9 $comment;
  3487.                 break;
  3488.         }
  3489.         return $this;
  3490.     }
  3491.     /**
  3492.      * Set commentHtml2
  3493.      *
  3494.      * @param string $commentHtml
  3495.      * @return DnsitTranslateProduct
  3496.      */
  3497.     public function setCommentHtml2($comment$language null)
  3498.     {
  3499.         switch ($language) {
  3500.             case "de":
  3501.                 $this->deCommentHtml2 $comment;
  3502.                 break;
  3503.             case "en":
  3504.                 $this->enCommentHtml2 $comment;
  3505.                 break;
  3506.             case "it":
  3507.                 $this->itCommentHtml2 $comment;
  3508.                 break;
  3509.             case "es":
  3510.                 $this->esCommentHtml2 $comment;
  3511.                 break;
  3512.             case "nl":
  3513.                 $this->nlCommentHtml2 $comment;
  3514.                 break;
  3515.             case "pt":
  3516.                 $this->ptCommentHtml2 $comment;
  3517.                 break;
  3518.         }
  3519.         return $this;
  3520.     }
  3521.     /**
  3522.      * Set commentHtml3
  3523.      *
  3524.      * @param string $commentHtml
  3525.      * @return DnsitTranslateProduct
  3526.      */
  3527.     public function setCommentHtml3($comment$language null)
  3528.     {
  3529.         switch ($language) {
  3530.             case "de":
  3531.                 $this->deCommentHtml3 $comment;
  3532.                 break;
  3533.             case "en":
  3534.                 $this->enCommentHtml3 $comment;
  3535.                 break;
  3536.             case "it":
  3537.                 $this->itCommentHtml3 $comment;
  3538.                 break;
  3539.             case "es":
  3540.                 $this->esCommentHtml3 $comment;
  3541.                 break;
  3542.             case "nl":
  3543.                 $this->nlCommentHtml3 $comment;
  3544.                 break;
  3545.             case "pt":
  3546.                 $this->ptCommentHtml3 $comment;
  3547.                 break;
  3548.         }
  3549.         return $this;
  3550.     }
  3551.     public function setDocumentationf($documentationf$language null)
  3552.     {
  3553.         switch ($language) {
  3554.             case "de":
  3555.                 $this->deDocumentationf $documentationf;
  3556.                 break;
  3557.             case "en":
  3558.                 $this->enDocumentationf $documentationf;
  3559.                 break;
  3560.             case "it":
  3561.                 $this->itDocumentationf $documentationf;
  3562.                 break;
  3563.             case "es":
  3564.                 $this->esDocumentationf $documentationf;
  3565.                 break;
  3566.             case "nl":
  3567.                 $this->nlDocumentationf $documentationf;
  3568.                 break;
  3569.             case "pt":
  3570.                 $this->ptDocumentationf $documentationf;
  3571.                 break;
  3572.         }
  3573.         return $this;
  3574.     }
  3575.     public function setDocumentationl1($documentationl1$language null)
  3576.     {
  3577.         switch ($language) {
  3578.             case "de":
  3579.                 $this->deDocumentationl1 $documentationl1;
  3580.                 break;
  3581.             case "en":
  3582.                 $this->enDocumentationl1 $documentationl1;
  3583.                 break;
  3584.             case "it":
  3585.                 $this->itDocumentationl1 $documentationl1;
  3586.                 break;
  3587.             case "es":
  3588.                 $this->esDocumentationl1 $documentationl1;
  3589.                 break;
  3590.             case "nl":
  3591.                 $this->nlDocumentationl1 $documentationl1;
  3592.                 break;
  3593.             case "pt":
  3594.                 $this->ptDocumentationl1 $documentationl1;
  3595.                 break;
  3596.         }
  3597.         return $this;
  3598.     }
  3599.     public function setDocumentationl2($documentationl2$language null)
  3600.     {
  3601.         switch ($language) {
  3602.             case "de":
  3603.                 $this->deDocumentationl2 $documentationl2;
  3604.                 break;
  3605.             case "en":
  3606.                 $this->enDocumentationl2 $documentationl2;
  3607.                 break;
  3608.             case "it":
  3609.                 $this->itDocumentationl2 $documentationl2;
  3610.                 break;
  3611.             case "es":
  3612.                 $this->esDocumentationl2 $documentationl2;
  3613.                 break;
  3614.             case "nl":
  3615.                 $this->nlDocumentationl2 $documentationl2;
  3616.                 break;
  3617.             case "pt":
  3618.                 $this->ptDocumentationl2 $documentationl2;
  3619.                 break;
  3620.         }
  3621.         return $this;
  3622.     }
  3623.     public function getLatitude(): ?float
  3624.     {
  3625.         return $this->latitude;
  3626.     }
  3627.     public function setLatitude(?float $latitude): self
  3628.     {
  3629.         $this->latitude $latitude;
  3630.         return $this;
  3631.     }
  3632.     public function getLongitude(): ?float
  3633.     {
  3634.         return $this->longitude;
  3635.     }
  3636.     public function setLongitude(?float $longitude): self
  3637.     {
  3638.         $this->longitude $longitude;
  3639.         return $this;
  3640.     }
  3641.     public function bindTourinsoftDatas($fiche$language "fr")
  3642.     {
  3643.         $tableau_balises_latitude = array("GmapLatitude""LAT","DetailGOOGLEMAPLATITUDE""LATITUDE");
  3644.         $tableau_balises_longitude = array("GmapLongitude""LON","DetailGOOGLEMAPLONGITUDE""LONGITUDE");
  3645.         $tableau_balises_traces = array("Itinerairegooglemap""DetailTRACEGPS");
  3646.         $tableau_balises_nom = array("DetailNomoffre""DetailNOMOFFRE""DetailNOMMANIFESTATION""Nomoffre""Nomdeloffre""SyndicObjectName");
  3647.         $tableau_balises_ville = array("DetailCommune""DetailCOMMUNE""Commune","commune""COMMUNE""COMMUNEPRINCIPALE""COMMUNEDEPART""Ville""COMMUNETOURISTIQUE");
  3648.         $this->setProductTextKey($fiche->SyndicObjectID);
  3649.         $this->setMarking(0);
  3650.         $longitude 91;
  3651.         $latitude 181;
  3652.         foreach($tableau_balises_latitude as $balise) {
  3653.             if (property_exists($fiche$balise) && isset($fiche->$balise)) {
  3654.                 $latitude str_replace(",""."$fiche->$balise);
  3655.             }
  3656.         }
  3657.         foreach($tableau_balises_longitude as $balise) {
  3658.             if (property_exists($fiche$balise) && isset($fiche->$balise)) {
  3659.                 $longitude str_replace(",""."$fiche->$balise);
  3660.             }
  3661.         }
  3662.         if (abs((float)$longitude) >= && abs((float)$longitude) <= 180 && abs((float)$latitude) >= && abs((float)$latitude) < 90) {
  3663.             $this->setLongitude((float)$longitude);
  3664.             $this->setLatitude((float)$latitude);
  3665.             // Patch 08/08/19 : ajout du cast string
  3666.             // $point = new \LongitudeOne\Spatial\PHP\Types\Geometry\Point($this->getLongitude(), $this->getLatitude());
  3667.             // $point->setSrid("4326");
  3668.             // $this->setGeoPoint($point);
  3669.             $this->setGeoPoint('SRID=4326;POINT(' $this->getLongitude() . ' ' $this->getLatitude() . ')');
  3670.         }
  3671.         // Nouveau 06.11.2023 : traces GPS
  3672.         $dataTrace null;
  3673.         foreach($tableau_balises_traces as $balise) {
  3674.             if(isset($fiche->$balise))
  3675.                 $data json_decode($fiche->$balise);
  3676.             if(isset($data)) break;
  3677.         }
  3678.         if (isset($data) && is_object($data) && isset($data->lignes) &&  is_array($data->lignes)) {
  3679.             // On va recoller les lignes
  3680.             $lignesCollees = array();
  3681.             foreach($data->lignes as $ligne) {
  3682.                 if(!is_object($ligne) || !isset($ligne->path))
  3683.                     continue;
  3684.                 $lignesCollees array_merge($lignesCollees$ligne->path);
  3685.             }
  3686.             $tableauWKT = array();
  3687.             if(!empty($lignesCollees)) {
  3688.                 foreach($lignesCollees as $point) {
  3689.                     if(!is_array($point) || count($point) < 2) {
  3690.                         // Il y a parfois des points vides !!!
  3691.                         continue;
  3692.                     }
  3693.                     $tableauWKT[] = $point[1] . ' ' $point[0]; // Lng lat
  3694.                 }
  3695.             }
  3696.             if(!empty($tableauWKT)) {
  3697.                 $lineString 'SRID=4326;LINESTRING(' implode(','$tableauWKT) . ')';
  3698.                 $this->setGeoLinestring($lineString) ;
  3699.             }
  3700.         }
  3701.         // Fin traces GPS
  3702.         $setNameFunc 'setName';
  3703.         if ($language != 'fr')
  3704.             $setNameFunc 'set' ucfirst($language) . 'Name';
  3705.         // Nom de la fiche
  3706.         foreach($tableau_balises_nom as $prop) {
  3707.             if (property_exists($fiche$prop) && !is_object($fiche->$prop))
  3708.                 $this->$setNameFunc((string)$fiche->$prop);
  3709.             elseif (property_exists($fiche$prop) && is_object($fiche->$prop) && isset($fiche->$prop->ThesLibelle))
  3710.                 $this->$setNameFunc((string)$fiche->$prop->ThesLibelle);
  3711.         }
  3712.         // $this->setAddress((string) $fiche->ADRESSE);
  3713.         // $this->setStreetNumber((string) $fiche->ADRPROD_NUM_VOIE);
  3714.         if (isset($fiche->AdresseComplete) && $fiche->AdresseComplete != '') {
  3715.             $tabadr explode('|', (string)$fiche->AdresseComplete);
  3716.             if (count($tabadr) >= 6) {
  3717.                 $this->setStreetName($tabadr[0]);
  3718.                 $this->setAdditionAddress($tabadr[1]);
  3719.                 $this->setZipCode($tabadr[4]);
  3720.                 $this->setCity($tabadr[5]);
  3721.             }
  3722.         }
  3723.         if (isset($fiche->DetailAdresse1))
  3724.             $this->setStreetName((string)$fiche->DetailAdresse1);
  3725.         elseif (isset($fiche->Adresse1))
  3726.             $this->setStreetName((string)$fiche->Adresse1);
  3727.         elseif (isset($fiche->Adresse1))
  3728.             $this->setStreetName((string)$fiche->Adresse1);
  3729.         elseif (isset($fiche->AD1))
  3730.             $this->setStreetName((string)$fiche->AD1);
  3731.         elseif (isset($fiche->ADRESSE1))
  3732.             $this->setStreetName((string)$fiche->ADRESSE1);
  3733.         if (isset($fiche->DetailAdresse2))
  3734.             $this->setAdditionAddress((string)$fiche->DetailAdresse2);
  3735.         elseif (isset($fiche->Adresse2))
  3736.             $this->setAdditionAddress((string)$fiche->Adresse2);
  3737.         elseif (isset($fiche->AD2))
  3738.             $this->setAdditionAddress((string)$fiche->AD2);
  3739.         elseif (isset($fiche->ADRESSE2))
  3740.             $this->setAdditionAddress((string)$fiche->ADRESSE2);
  3741.         if (isset($fiche->AD3))
  3742.             $this->setSpecialDistributionAddress((string)$fiche->AD3);
  3743.         elseif (isset($fiche->ADRESSE3))
  3744.             $this->setSpecialDistributionAddress((string)$fiche->ADRESSE3);
  3745.         if (isset($fiche->DetailCodePostal))
  3746.             $this->setZipCode((string)$fiche->DetailCodePostal);
  3747.         elseif (isset($fiche->CodePostal))
  3748.             $this->setZipCode((string)$fiche->CodePostal);
  3749.         elseif (isset($fiche->Codepostal))
  3750.             $this->setZipCode((string)$fiche->Codepostal);
  3751.         elseif (isset($fiche->CP))
  3752.             $this->setZipCode((string)$fiche->CP);
  3753.         elseif (isset($fiche->CODEPOSTAL))
  3754.             $this->setZipCode((string)$fiche->CODEPOSTAL);
  3755.         $doneCity false;
  3756.         foreach($tableau_balises_ville as $prop) {
  3757.             if (property_exists($fiche$prop) && !is_object($fiche->$prop)) {
  3758.                 $this->setCity((string)$fiche->$prop);
  3759.                 $doneCity true;
  3760.             } elseif (property_exists($fiche$prop) && is_object($fiche->$prop) && isset($fiche->$prop->ThesLibelle)) {
  3761.                 $this->setCity((string)$fiche->$prop->ThesLibelle);
  3762.                 $doneCity true;
  3763.             }
  3764.         }
  3765.         if(!$doneCity && property_exists($fiche'ADRESSEs') && is_object($fiche->ADRESSEs) && property_exists($fiche->ADRESSEs'Communetouristique') && is_object($fiche->ADRESSEs->Communetouristique) && property_exists($fiche->ADRESSEs->Communetouristique'ThesLibelle'))
  3766.             $this->setCity((string)$fiche->ADRESSEs->Communetouristique->ThesLibelle);
  3767.         if (isset($fiche->DetailEmail))
  3768.             $this->setEmail((string)$fiche->DetailEmail);
  3769.         elseif (isset($fiche->Email))
  3770.             $this->setEmail((string)$fiche->Email);
  3771.         elseif (isset($fiche->CommMail))
  3772.             $this->setEmail((string)$fiche->CommMail);
  3773.         elseif (isset($fiche->CoordonneesEmail))
  3774.             $this->setEmail((string)$fiche->CoordonneesEmail);
  3775.         elseif (isset($fiche->MAIL))
  3776.             $this->setEmail((string)$fiche->MAIL);
  3777.         if (isset($fiche->DetailTel))
  3778.             $this->setPhone((string)$fiche->DetailTel);
  3779.         elseif (isset($fiche->Tel))
  3780.             $this->setPhone((string)$fiche->Tel);
  3781.         elseif (isset($fiche->TEL))
  3782.             $this->setPhone((string)$fiche->TEL);
  3783.         elseif (isset($fiche->CommTel))
  3784.             $this->setPhone((string)$fiche->CommTel);
  3785.         elseif (isset($fiche->CoordonneesTelfixe))
  3786.             $this->setPhone((string)$fiche->CoordonneesTelfixe);
  3787.         if (isset($fiche->DetailTelportable))
  3788.             $this->setPhone2((string)$fiche->DetailTelportable);
  3789.         elseif (isset($fiche->TelPortable))
  3790.             $this->setPhone2((string)$fiche->TelPortable);
  3791.         elseif (isset($fiche->CommMob))
  3792.             $this->setPhone2((string)$fiche->CommMob);
  3793.         elseif (isset($fiche->CoordonneesTelmobile))
  3794.             $this->setPhone2((string)$fiche->CoordonneesTelmobile);
  3795.         elseif (isset($fiche->TELMOB))
  3796.             $this->setPhone2((string)$fiche->TELMOB);
  3797.         if (isset($fiche->Detailurl))
  3798.             $this->setUrl((string)$fiche->Detailurl);
  3799.         elseif (isset($fiche->Url))
  3800.             $this->setUrl((string)$fiche->Url);
  3801.         elseif (isset($fiche->CommWeb))
  3802.             $this->setUrl((string)$fiche->CommWeb);
  3803.         elseif (isset($fiche->CoordonneesSiteweb))
  3804.             $this->setUrl((string)$fiche->CoordonneesSiteweb);
  3805.         elseif (isset($fiche->URL))
  3806.             $this->setUrl((string)$fiche->URL);
  3807.         if (isset($fiche->DetailDescriptifOT))
  3808.             $this->setComment((string)$fiche->DetailDescriptifOT);
  3809.         elseif (isset($fiche->Descriptif))
  3810.             $this->setComment((string)$fiche->Descriptif);
  3811.         elseif (isset($fiche->Description))
  3812.             $this->setComment((string)$fiche->Description);
  3813.         elseif (isset($fiche->DESCRIPTIF))
  3814.             $this->setComment((string)$fiche->DESCRIPTIF);
  3815.         if (isset($fiche->DescriptifSynthetique))
  3816.             $this->setComment2((string)$fiche->DescriptifSynthetique);
  3817.         // On stocke les données brutes de la fiche dans commentaireInterne
  3818.         // Comme il peut y avoir des mises Ã  jour successives avec différents champs
  3819.         // On merge les infos avec l'existant
  3820.         $testemp $this->getInternalComment();
  3821.         if (isset($testemp) && $testemp != null && $testemp != '') {
  3822.             $ficheorig json_decode($testemp);
  3823.             $this->setInternalComment(json_encode((object)array_merge((array)$ficheorig, (array)$fiche)));
  3824.         } else {
  3825.             $this->setInternalComment(json_encode($fiche)); // On stocke la donnée JSON en brut dans le commentaire
  3826.         }
  3827.         // DetailContact est trop long car il peut contenir plusieurs contacts
  3828.         // if (isset($fiche->DetailContact))
  3829.         //    $this->setProviderResponsibleName((string) $fiche->DetailContact);
  3830.         if (isset($fiche->DetailRaisonsociale))
  3831.             $this->setProviderName((string)$fiche->DetailRaisonsociale);
  3832.         elseif (isset($fiche->Raisonsociale))
  3833.             $this->setProviderName((string)$fiche->Raisonsociale);
  3834.         if (isset($fiche->DetailSiteweb))
  3835.             $this->setProviderUrl((string)$fiche->DetailSiteweb);
  3836.         elseif (isset($fiche->Siteweb))
  3837.             $this->setProviderUrl((string)$fiche->Siteweb);
  3838.         if (isset($fiche->ObjectTypeName))
  3839.             $this->setTypeName((string)$fiche->ObjectTypeName);
  3840.         if (isset($fiche->Updated)) {
  3841.             $tmp str_replace('T'' '$fiche->Updated);
  3842.             $tmp substr($tmp019); // on prend juste le format 'Y-m-d H:i:s', on coupe le reste - sinon probleme
  3843.             $tmp date_create_from_format("Y-m-d H:i:s"$tmp);
  3844.             if ($tmp !== false) {
  3845.                 $setUpdatedAtFunc 'setUpdatedAt';
  3846.                 if ($language != 'fr')
  3847.                     $setUpdatedAtFunc 'set' ucfirst($language) . 'UpdatedAt';
  3848.                 $this->$setUpdatedAtFunc($tmp);
  3849.             }
  3850.         }
  3851.         $this->setMarking(MarkingCodesMask::TOURINSOFT);
  3852.     }
  3853.     public function bindApidaeDatas($fiche$languages = array())
  3854.     {
  3855.         $nom '';
  3856.         // http://wcf.tourinsoft.com/Syndication/cdt37/339e9b43-b094-4871-867a-18d8dbdb7b20/Objects('ACCCEN0370007P')?$format=json
  3857.         $this->setProductTextKey($fiche['identifier']);
  3858.         if (isset($fiche['nom']) && isset($fiche['nom']['libelleFr']) && !empty($fiche['nom']['libelleFr']))
  3859.             $nom = (string)$fiche['nom']['libelleFr'];
  3860.         if($nom !== '' && is_array($languages)) {
  3861.             foreach ($languages as $lang) {
  3862.                 $this->setName($nom$lang);
  3863.             }
  3864.         }
  3865.         if(is_array($languages)) {
  3866.             foreach ($languages as $lang) {
  3867.                 if ($lang == 'fr') continue;
  3868.                 $tmpFunc 'set' ucfirst($lang) . 'Name';
  3869.                 if (isset($fiche['nom']) && isset($fiche['nom']['libelle' ucfirst($lang)]) && !empty($fiche['nom']['libelle' ucfirst($lang)]))
  3870.                     $this->setName($fiche['nom']['libelle' ucfirst($lang)], $lang);
  3871.                 //else
  3872.                 //    $this->setName($nom, $lang);
  3873.             }
  3874.         }
  3875.         if (isset($fiche['id']))
  3876.             $this->setProductCode($fiche['id']);
  3877.         else
  3878.             return false;
  3879.         // Patch 10.07.2023 : on remet les champ Ã  null pour prendre en compte les effacements côté apidae
  3880.         $this->setPhone(null);
  3881.         $this->setPhone2(null);
  3882.         $this->setPhone3(null);
  3883.         $this->setUrl(null);
  3884.         $this->setEmail(null);
  3885.         $this->setLocationName(null);
  3886.         $this->setAddress(null);
  3887.         $this->setStreetName(null);
  3888.         $this->setAdditionAddress(null);
  3889.         $this->setZipCode(null);
  3890.         $this->setCity(null);
  3891.         $this->setInsee(null);
  3892.         $this->setProductTextKey($fiche['identifier']);
  3893.         if (isset($fiche['informations']) && isset($fiche['informations']['moyensCommunication'])) {
  3894.             $nbPhone 0;
  3895.             foreach ($fiche['informations']['moyensCommunication'] as $moycomm) {
  3896.                 $typecomm '';
  3897.                 if (isset($moycomm['type']) && isset($moycomm['type']['id']) && isset($moycomm['coordonnees']) && isset($moycomm['coordonnees']['fr']))
  3898.                     $typecomm = (string)$moycomm['type']['id'];
  3899.                 if ($typecomm != '') {
  3900.                     switch ($typecomm) {
  3901.                         case "201"// TEL
  3902.                             if($nbPhone == 0)
  3903.                                 $this->setPhone($moycomm['coordonnees']['fr']);
  3904.                             elseif($nbPhone == 1)
  3905.                                 $this->setPhone2($moycomm['coordonnees']['fr']);
  3906.                             elseif($nbPhone == 2)
  3907.                                 $this->setPhone3($moycomm['coordonnees']['fr']);
  3908.                             $nbPhone++;
  3909.                             break;
  3910.                         case "204"// MAIL
  3911.                             $this->setEmail($moycomm['coordonnees']['fr']);
  3912.                             break;
  3913.                         case "205"// URL
  3914.                             $this->setUrl($moycomm['coordonnees']['fr']);
  3915.                             break;
  3916.                         default: // TEL
  3917.                             // TODO : intégrer les autres données en critère
  3918.                             // $this->setPhone($moycomm['coordonnees']['fr']);
  3919.                             break;
  3920.                     }
  3921.                 }
  3922.             }
  3923.         }
  3924.         foreach($languages as $lang) {
  3925.             if ($lang == 'fr') continue;
  3926.             $tmpFunc 'set' ucfirst($lang) . 'Comment';
  3927.             if (isset($fiche['presentation']) && isset($fiche['presentation']['descriptifCourt']) && isset($fiche['presentation']['descriptifCourt']['libelle' ucfirst($lang)])) {
  3928.                 $this->$tmpFunc($fiche['presentation']['descriptifCourt']['libelle' ucfirst($lang)]);
  3929.             } else {
  3930.                 $this->$tmpFunc('');
  3931.             }
  3932.         }
  3933.         if (isset($fiche['localisation']) && isset($fiche['localisation']['adresse']) && isset($fiche['localisation']['adresse']['nomDuLieu'])) {
  3934.             $this->setLocationName((string)$fiche['localisation']['adresse']['nomDuLieu']);
  3935.         }
  3936.         if (isset($fiche['localisation']) && isset($fiche['localisation']['adresse']) && isset($fiche['localisation']['adresse']['adresse1'])) {
  3937.             $this->setAddress((string)$fiche['localisation']['adresse']['adresse1']);
  3938.             $this->setStreetName((string)$fiche['localisation']['adresse']['adresse1']);
  3939.         } else {
  3940.             $this->setStreetName(null);
  3941.         }
  3942.         if (isset($fiche['localisation']) && isset($fiche['localisation']['adresse']) && isset($fiche['localisation']['adresse']['adresse2'])) {
  3943.             $this->setAdditionAddress((string)$fiche['localisation']['adresse']['adresse2']);
  3944.         } else {
  3945.             $this->setAdditionAddress(null);
  3946.         }
  3947.         if (isset($fiche['localisation']) && isset($fiche['localisation']['adresse']) && isset($fiche['localisation']['adresse']['codePostal'])) {
  3948.             $this->setZipCode((string)$fiche['localisation']['adresse']['codePostal']);
  3949.         } else {
  3950.             $this->setZipCode(null);
  3951.         }
  3952.         if (isset($fiche['localisation']) && isset($fiche['localisation']['adresse']) && isset($fiche['localisation']['adresse']['commune']) && isset($fiche['localisation']['adresse']['commune']['nom'])) {
  3953.             $this->setCity((string)$fiche['localisation']['adresse']['commune']['nom']);
  3954.         } else {
  3955.             $this->setCity(null);
  3956.         }
  3957.         if (isset($fiche['localisation']) && isset($fiche['localisation']['adresse']) && isset($fiche['localisation']['adresse']['commune']) && isset($fiche['localisation']['adresse']['commune']['code'])) {
  3958.             $this->setInsee((string)$fiche['localisation']['adresse']['commune']['code']);
  3959.         }
  3960.         if (isset($fiche['localisation']) && isset($fiche['localisation']['geolocalisation']) && isset($fiche['localisation']['geolocalisation']['geoJson']) && isset($fiche['localisation']['geolocalisation']['geoJson']['coordinates'])) {
  3961.             // echo "\nLATLON IS DEFINED";
  3962.             $longitude = ((double)$fiche['localisation']['geolocalisation']['geoJson']['coordinates'][0]);
  3963.             $latitude = ((double)$fiche['localisation']['geolocalisation']['geoJson']['coordinates'][1]);
  3964.             if (abs((float)$longitude) >= && abs((float)$longitude) <= 180 && abs((float)$latitude) >= && abs((float)$latitude) < 90) {
  3965.                 $this->setLongitude((double)$longitude);
  3966.                 $this->setLatitude((double)$latitude);
  3967.                 // Patch 08/08/19 : ajout du cast string
  3968.                 // Patch JM 03/02/2022 : les points sont en LON LAT et non pas LAT LON
  3969.                 // $point = new \LongitudeOne\Spatial\PHP\Types\Geometry\Point($this->getLongitude(), $this->getLatitude());
  3970.                 // $point->setSrid("4326");
  3971.                 // $this->setGeoPoint($point);
  3972.                 $this->setGeoPoint('SRID=4326;POINT(' $this->getLongitude() . ' ' $this->getLatitude() . ')');
  3973.             }
  3974.         }
  3975.         $this->setMarking(MarkingCodesMask::APIDAE);
  3976.     }
  3977.     /**
  3978.      * Get internalComment
  3979.      *
  3980.      * @return string
  3981.      */
  3982.     public function getInternalComment()
  3983.     {
  3984.         return $this->internalComment;
  3985.     }
  3986.     /**
  3987.      * Set internalComment
  3988.      *
  3989.      * @param string $internalComment
  3990.      * @return DnsitTranslateProduct
  3991.      */
  3992.     public function setInternalComment($internalComment$language null)
  3993.     {
  3994.         switch ($language) {
  3995.             case "de":
  3996.                 $this->deInternalComment $internalComment;
  3997.                 break;
  3998.             case "en":
  3999.                 $this->enInternalComment $internalComment;
  4000.                 break;
  4001.             case "it":
  4002.                 $this->itInternalComment $internalComment;
  4003.                 break;
  4004.             case "es":
  4005.                 $this->esInternalComment $internalComment;
  4006.                 break;
  4007.             case "nl":
  4008.                 $this->nlInternalComment $internalComment;
  4009.                 break;
  4010.             case "pt":
  4011.                 $this->ptInternalComment $internalComment;
  4012.                 break;
  4013.         }
  4014.         return $this;
  4015.     }
  4016.     /**
  4017.      * Get comment
  4018.      *
  4019.      * @return string
  4020.      */
  4021.     public function getComment()
  4022.     {
  4023.         return $this->comment;
  4024.     }
  4025.     /**
  4026.      * Set comment
  4027.      *
  4028.      * @param string $comment
  4029.      * @return DnsitTranslateProduct
  4030.      */
  4031.     public function setComment($comment$language null)
  4032.     {
  4033.         switch ($language) {
  4034.             case "de":
  4035.                 $this->deComment $comment;
  4036.                 break;
  4037.             case "en":
  4038.                 $this->enComment $comment;
  4039.                 break;
  4040.             case "it":
  4041.                 $this->itComment $comment;
  4042.                 break;
  4043.             case "es":
  4044.                 $this->esComment $comment;
  4045.                 break;
  4046.             case "nl":
  4047.                 $this->nlComment $comment;
  4048.                 break;
  4049.             case "pt":
  4050.                 $this->ptComment $comment;
  4051.                 break;
  4052.         }
  4053.         return $this;
  4054.     }
  4055.     /**
  4056.      * Get comment1
  4057.      *
  4058.      * @return string
  4059.      */
  4060.     public function getComment1()
  4061.     {
  4062.         return $this->comment1;
  4063.     }
  4064.     /**
  4065.      * Set comment1
  4066.      *
  4067.      * @param string $comment1
  4068.      * @return DnsitTranslateProduct
  4069.      */
  4070.     public function setComment1($comment$language null)
  4071.     {
  4072.         switch ($language) {
  4073.             case "de":
  4074.                 $this->deComment1 $comment;
  4075.                 break;
  4076.             case "en":
  4077.                 $this->enComment1 $comment;
  4078.                 break;
  4079.             case "it":
  4080.                 $this->itComment1 $comment;
  4081.                 break;
  4082.             case "es":
  4083.                 $this->esComment1 $comment;
  4084.                 break;
  4085.             case "nl":
  4086.                 $this->nlComment1 $comment;
  4087.                 break;
  4088.             case "pt":
  4089.                 $this->ptComment1 $comment;
  4090.                 break;
  4091.         }
  4092.         return $this;
  4093.     }
  4094.     /**
  4095.      * Get comment2
  4096.      *
  4097.      * @return string
  4098.      */
  4099.     public function getComment2()
  4100.     {
  4101.         return $this->comment2;
  4102.     }
  4103.     /**
  4104.      * Set comment2
  4105.      *
  4106.      * @param string $comment2
  4107.      * @return DnsitTranslateProduct
  4108.      */
  4109.     public function setComment2($comment$language)
  4110.     {
  4111.         switch ($language) {
  4112.             case "de":
  4113.                 $this->deComment2 $comment;
  4114.                 break;
  4115.             case "en":
  4116.                 $this->enComment2 $comment;
  4117.                 break;
  4118.             case "it":
  4119.                 $this->itComment2 $comment;
  4120.                 break;
  4121.             case "es":
  4122.                 $this->esComment2 $comment;
  4123.                 break;
  4124.             case "nl":
  4125.                 $this->nlComment2 $comment;
  4126.                 break;
  4127.             case "pt":
  4128.                 $this->ptComment2 $comment;
  4129.                 break;
  4130.         }
  4131.         return $this;
  4132.     }
  4133.     /**
  4134.      * Get commentHtml
  4135.      *
  4136.      * @return string
  4137.      */
  4138.     public function getCommentHtml()
  4139.     {
  4140.         return $this->commentHtml;
  4141.     }
  4142.     /**
  4143.      * Set commentHtml
  4144.      *
  4145.      * @param string $commentHtml
  4146.      * @return DnsitTranslateProduct
  4147.      */
  4148.     public function setCommentHtml($comment$language null)
  4149.     {
  4150.         switch ($language) {
  4151.             case "de":
  4152.                 $this->deCommentHtml $comment;
  4153.                 break;
  4154.             case "en":
  4155.                 $this->enCommentHtml $comment;
  4156.                 break;
  4157.             case "it":
  4158.                 $this->itCommentHtml $comment;
  4159.                 break;
  4160.             case "es":
  4161.                 $this->esCommentHtml $comment;
  4162.                 break;
  4163.             case "nl":
  4164.                 $this->nlCommentHtml $comment;
  4165.                 break;
  4166.             case "pt":
  4167.                 $this->ptCommentHtml $comment;
  4168.                 break;
  4169.         }
  4170.         return $this;
  4171.     }
  4172.     /**
  4173.      * Get memo1
  4174.      *
  4175.      * @return string
  4176.      */
  4177.     public function getMemo1()
  4178.     {
  4179.         return $this->memo1;
  4180.     }
  4181.     /**
  4182.      * Set memo1
  4183.      *
  4184.      * @param string $memo1
  4185.      * @return DnsitTranslateProduct
  4186.      */
  4187.     public function setMemo1($memo$language)
  4188.     {
  4189.         switch ($language) {
  4190.             case "de":
  4191.                 $this->deMemo1 $memo;
  4192.                 break;
  4193.             case "en":
  4194.                 $this->enMemo1 $memo;
  4195.                 break;
  4196.             case "it":
  4197.                 $this->itMemo1 $memo;
  4198.                 break;
  4199.             case "es":
  4200.                 $this->esMemo1 $memo;
  4201.                 break;
  4202.             case "nl":
  4203.                 $this->nlMemo1 $memo;
  4204.                 break;
  4205.             case "pt":
  4206.                 $this->ptMemo1 $memo;
  4207.                 break;
  4208.         }
  4209.         return $this;
  4210.     }
  4211.     /**
  4212.      * Get memo2
  4213.      *
  4214.      * @return string
  4215.      */
  4216.     public function getMemo2()
  4217.     {
  4218.         return $this->memo2;
  4219.     }
  4220.     /**
  4221.      * Set memo2
  4222.      *
  4223.      * @param string $memo2
  4224.      * @return DnsitTranslateProduct
  4225.      */
  4226.     public function setMemo2($memo$language)
  4227.     {
  4228.         switch ($language) {
  4229.             case "de":
  4230.                 $this->deMemo2 $memo;
  4231.                 break;
  4232.             case "en":
  4233.                 $this->enMemo2 $memo;
  4234.                 break;
  4235.             case "it":
  4236.                 $this->itMemo2 $memo;
  4237.                 break;
  4238.             case "es":
  4239.                 $this->esMemo2 $memo;
  4240.                 break;
  4241.             case "nl":
  4242.                 $this->nlMemo2 $memo;
  4243.                 break;
  4244.             case "pt":
  4245.                 $this->ptMemo2 $memo;
  4246.                 break;
  4247.         }
  4248.         return $this;
  4249.     }
  4250.     /**
  4251.      * Get memo3
  4252.      *
  4253.      * @return string
  4254.      */
  4255.     public function getMemo3()
  4256.     {
  4257.         return $this->memo3;
  4258.     }
  4259.     /**
  4260.      * Set memo3
  4261.      *
  4262.      * @param string $memo3
  4263.      * @return DnsitTranslateProduct
  4264.      */
  4265.     public function setMemo3($memo$language)
  4266.     {
  4267.         switch ($language) {
  4268.             case "de":
  4269.                 $this->deMemo3 $memo;
  4270.                 break;
  4271.             case "en":
  4272.                 $this->enMemo3 $memo;
  4273.                 break;
  4274.             case "it":
  4275.                 $this->itMemo3 $memo;
  4276.                 break;
  4277.             case "es":
  4278.                 $this->esMemo3 $memo;
  4279.                 break;
  4280.             case "nl":
  4281.                 $this->nlMemo3 $memo;
  4282.                 break;
  4283.             case "pt":
  4284.                 $this->ptMemo3 $memo;
  4285.                 break;
  4286.         }
  4287.         return $this;
  4288.     }
  4289.     /**
  4290.      * @return Collection|DnsitProductDispo[]
  4291.      */
  4292.     public function getDispos(): Collection
  4293.     {
  4294.         return $this->dispos;
  4295.     }
  4296.     public function addDispo(DnsitProductDispo $dispo): self
  4297.     {
  4298.         if (!$this->dispos->contains($dispo)) {
  4299.             $this->dispos[] = $dispo;
  4300.             $dispo->setTranslateProduct($this);
  4301.         }
  4302.         return $this;
  4303.     }
  4304.     public function removeDispo(DnsitProductDispo $dispo): self
  4305.     {
  4306.         if ($this->dispos->contains($dispo)) {
  4307.             $this->dispos->removeElement($dispo);
  4308.             // set the owning side to null (unless already changed)
  4309.             if ($dispo->getTranslateProduct() === $this) {
  4310.                 $dispo->setTranslateProduct(null);
  4311.             }
  4312.         }
  4313.         return $this;
  4314.     }
  4315.     public function getEnDocument(): ?string
  4316.     {
  4317.         return $this->en_document;
  4318.     }
  4319.     public function setEnDocument(?string $en_document): self
  4320.     {
  4321.         $this->en_document $en_document;
  4322.         return $this;
  4323.     }
  4324.     public function getDeDocument(): ?string
  4325.     {
  4326.         return $this->de_document;
  4327.     }
  4328.     public function setDeDocument(?string $de_document): self
  4329.     {
  4330.         $this->de_document $de_document;
  4331.         return $this;
  4332.     }
  4333.     public function getItDocument(): ?string
  4334.     {
  4335.         return $this->it_document;
  4336.     }
  4337.     public function setItDocument(string $it_document): self
  4338.     {
  4339.         $this->it_document $it_document;
  4340.         return $this;
  4341.     }
  4342.     public function getEsDocument(): ?string
  4343.     {
  4344.         return $this->es_document;
  4345.     }
  4346.     public function setEsDocument(?string $es_document): self
  4347.     {
  4348.         $this->es_document $es_document;
  4349.         return $this;
  4350.     }
  4351.     public function getNlDocument(): ?string
  4352.     {
  4353.         return $this->nl_document;
  4354.     }
  4355.     public function setNlDocument(?string $nl_document): self
  4356.     {
  4357.         $this->nl_document $nl_document;
  4358.         return $this;
  4359.     }
  4360.     public function getPtDocument(): ?string
  4361.     {
  4362.         return $this->pt_document;
  4363.     }
  4364.     public function setPtDocument(?string $pt_document): self
  4365.     {
  4366.         $this->pt_document $pt_document;
  4367.         return $this;
  4368.     }
  4369.     public function getEnUpdatedAt(): ?\DateTimeInterface
  4370.     {
  4371.         return $this->enUpdatedAt;
  4372.     }
  4373.     public function setEnUpdatedAt(?\DateTimeInterface $enUpdatedAt): self
  4374.     {
  4375.         $this->enUpdatedAt $enUpdatedAt;
  4376.         return $this;
  4377.     }
  4378.     public function getDeUpdatedAt(): ?\DateTimeInterface
  4379.     {
  4380.         return $this->deUpdatedAt;
  4381.     }
  4382.     public function setDeUpdatedAt(?\DateTimeInterface $deUpdatedAt): self
  4383.     {
  4384.         $this->deUpdatedAt $deUpdatedAt;
  4385.         return $this;
  4386.     }
  4387.     public function getEsUpdatedAt(): ?\DateTimeInterface
  4388.     {
  4389.         return $this->esUpdatedAt;
  4390.     }
  4391.     public function setEsUpdatedAt(?\DateTimeInterface $esUpdatedAt): self
  4392.     {
  4393.         $this->esUpdatedAt $esUpdatedAt;
  4394.         return $this;
  4395.     }
  4396.     public function getItUpdatedAt(): ?\DateTimeInterface
  4397.     {
  4398.         return $this->itUpdatedAt;
  4399.     }
  4400.     public function setItUpdatedAt(?\DateTimeInterface $itUpdatedAt): self
  4401.     {
  4402.         $this->itUpdatedAt $itUpdatedAt;
  4403.         return $this;
  4404.     }
  4405.     public function getNlUpdatedAt(): ?\DateTimeInterface
  4406.     {
  4407.         return $this->nlUpdatedAt;
  4408.     }
  4409.     public function setNlUpdatedAt(?\DateTimeInterface $nlUpdatedAt): self
  4410.     {
  4411.         $this->nlUpdatedAt $nlUpdatedAt;
  4412.         return $this;
  4413.     }
  4414.     public function getPtUpdatedAt(): ?\DateTimeInterface
  4415.     {
  4416.         return $this->ptUpdatedAt;
  4417.     }
  4418.     public function setPtUpdatedAt(?\DateTimeInterface $ptUpdatedAt): self
  4419.     {
  4420.         $this->ptUpdatedAt $ptUpdatedAt;
  4421.         return $this;
  4422.     }
  4423.     public function getEnComment7(): ?string
  4424.     {
  4425.         return $this->enComment7;
  4426.     }
  4427.     public function setEnComment7(?string $enComment7): self
  4428.     {
  4429.         $this->enComment7 $enComment7;
  4430.         return $this;
  4431.     }
  4432.     public function getEnComment8(): ?string
  4433.     {
  4434.         return $this->enComment8;
  4435.     }
  4436.     public function setEnComment8(?string $enComment8): self
  4437.     {
  4438.         $this->enComment8 $enComment8;
  4439.         return $this;
  4440.     }
  4441.     public function getEnComment9(): ?string
  4442.     {
  4443.         return $this->enComment9;
  4444.     }
  4445.     public function setEnComment9(?string $enComment9): self
  4446.     {
  4447.         $this->enComment9 $enComment9;
  4448.         return $this;
  4449.     }
  4450.     public function getEnCommentHtml2(): ?string
  4451.     {
  4452.         return $this->enCommentHtml2;
  4453.     }
  4454.     public function setEnCommentHtml2(?string $enCommentHtml2): self
  4455.     {
  4456.         $this->enCommentHtml2 $enCommentHtml2;
  4457.         return $this;
  4458.     }
  4459.     public function getEnCommentHtml3(): ?string
  4460.     {
  4461.         return $this->enCommentHtml3;
  4462.     }
  4463.     public function setEnCommentHtml3(?string $enCommentHtml3): self
  4464.     {
  4465.         $this->enCommentHtml3 $enCommentHtml3;
  4466.         return $this;
  4467.     }
  4468.     public function getDeComment7(): ?string
  4469.     {
  4470.         return $this->deComment7;
  4471.     }
  4472.     public function setDeComment7(?string $deComment7): self
  4473.     {
  4474.         $this->deComment7 $deComment7;
  4475.         return $this;
  4476.     }
  4477.     public function getDeComment8(): ?string
  4478.     {
  4479.         return $this->deComment8;
  4480.     }
  4481.     public function setDeComment8(?string $deComment8): self
  4482.     {
  4483.         $this->deComment8 $deComment8;
  4484.         return $this;
  4485.     }
  4486.     public function getDeComment9(): ?string
  4487.     {
  4488.         return $this->deComment9;
  4489.     }
  4490.     public function setDeComment9(?string $deComment9): self
  4491.     {
  4492.         $this->deComment9 $deComment9;
  4493.         return $this;
  4494.     }
  4495.     public function getDeCommentHtml2(): ?string
  4496.     {
  4497.         return $this->deCommentHtml2;
  4498.     }
  4499.     public function setDeCommentHtml2(?string $deCommentHtml2): self
  4500.     {
  4501.         $this->deCommentHtml2 $deCommentHtml2;
  4502.         return $this;
  4503.     }
  4504.     public function getDeCommentHtml3(): ?string
  4505.     {
  4506.         return $this->deCommentHtml3;
  4507.     }
  4508.     public function setDeCommentHtml3(?string $deCommentHtml3): self
  4509.     {
  4510.         $this->deCommentHtml3 $deCommentHtml3;
  4511.         return $this;
  4512.     }
  4513.     public function getEsComment7(): ?string
  4514.     {
  4515.         return $this->esComment7;
  4516.     }
  4517.     public function setEsComment7(?string $esComment7): self
  4518.     {
  4519.         $this->esComment7 $esComment7;
  4520.         return $this;
  4521.     }
  4522.     public function getEsComment8(): ?string
  4523.     {
  4524.         return $this->esComment8;
  4525.     }
  4526.     public function setEsComment8(?string $esComment8): self
  4527.     {
  4528.         $this->esComment8 $esComment8;
  4529.         return $this;
  4530.     }
  4531.     public function getEsComment9(): ?string
  4532.     {
  4533.         return $this->esComment9;
  4534.     }
  4535.     public function setEsComment9(?string $esComment9): self
  4536.     {
  4537.         $this->esComment9 $esComment9;
  4538.         return $this;
  4539.     }
  4540.     public function getEsCommentHtml2(): ?string
  4541.     {
  4542.         return $this->esCommentHtml2;
  4543.     }
  4544.     public function setEsCommentHtml2(?string $esCommentHtml2): self
  4545.     {
  4546.         $this->esCommentHtml2 $esCommentHtml2;
  4547.         return $this;
  4548.     }
  4549.     public function getEsCommentHtml3(): ?string
  4550.     {
  4551.         return $this->esCommentHtml3;
  4552.     }
  4553.     public function setEsCommentHtml3(?string $esCommentHtml3): self
  4554.     {
  4555.         $this->esCommentHtml3 $esCommentHtml3;
  4556.         return $this;
  4557.     }
  4558.     public function getItComment7(): ?string
  4559.     {
  4560.         return $this->itComment7;
  4561.     }
  4562.     public function setItComment7(?string $itComment7): self
  4563.     {
  4564.         $this->itComment7 $itComment7;
  4565.         return $this;
  4566.     }
  4567.     public function getItComment8(): ?string
  4568.     {
  4569.         return $this->itComment8;
  4570.     }
  4571.     public function setItComment8(?string $itComment8): self
  4572.     {
  4573.         $this->itComment8 $itComment8;
  4574.         return $this;
  4575.     }
  4576.     public function getItComment9(): ?string
  4577.     {
  4578.         return $this->itComment9;
  4579.     }
  4580.     public function setItComment9(?string $itComment9): self
  4581.     {
  4582.         $this->itComment9 $itComment9;
  4583.         return $this;
  4584.     }
  4585.     public function getItCommentHtml2(): ?string
  4586.     {
  4587.         return $this->itCommentHtml2;
  4588.     }
  4589.     public function setItCommentHtml2(?string $itCommentHtml2): self
  4590.     {
  4591.         $this->itCommentHtml2 $itCommentHtml2;
  4592.         return $this;
  4593.     }
  4594.     public function getItCommentHtml3(): ?string
  4595.     {
  4596.         return $this->itCommentHtml3;
  4597.     }
  4598.     public function setItCommentHtml3(?string $itCommentHtml3): self
  4599.     {
  4600.         $this->itCommentHtml3 $itCommentHtml3;
  4601.         return $this;
  4602.     }
  4603.     public function getNlComment7(): ?string
  4604.     {
  4605.         return $this->nlComment7;
  4606.     }
  4607.     public function setNlComment7(?string $nlComment7): self
  4608.     {
  4609.         $this->nlComment7 $nlComment7;
  4610.         return $this;
  4611.     }
  4612.     public function getNlComment8(): ?string
  4613.     {
  4614.         return $this->nlComment8;
  4615.     }
  4616.     public function setNlComment8(?string $nlComment8): self
  4617.     {
  4618.         $this->nlComment8 $nlComment8;
  4619.         return $this;
  4620.     }
  4621.     public function getNlComment9(): ?string
  4622.     {
  4623.         return $this->nlComment9;
  4624.     }
  4625.     public function setNlComment9(?string $nlComment9): self
  4626.     {
  4627.         $this->nlComment9 $nlComment9;
  4628.         return $this;
  4629.     }
  4630.     public function getNlCommentHtml2(): ?string
  4631.     {
  4632.         return $this->nlCommentHtml2;
  4633.     }
  4634.     public function setNlCommentHtml2(?string $nlCommentHtml2): self
  4635.     {
  4636.         $this->nlCommentHtml2 $nlCommentHtml2;
  4637.         return $this;
  4638.     }
  4639.     public function getNlCommentHtml3(): ?string
  4640.     {
  4641.         return $this->nlCommentHtml3;
  4642.     }
  4643.     public function setNlCommentHtml3(?string $nlCommentHtml3): self
  4644.     {
  4645.         $this->nlCommentHtml3 $nlCommentHtml3;
  4646.         return $this;
  4647.     }
  4648.     public function getPtComment7(): ?string
  4649.     {
  4650.         return $this->ptComment7;
  4651.     }
  4652.     public function setPtComment7(?string $ptComment7): self
  4653.     {
  4654.         $this->ptComment7 $ptComment7;
  4655.         return $this;
  4656.     }
  4657.     public function getPtComment8(): ?string
  4658.     {
  4659.         return $this->ptComment8;
  4660.     }
  4661.     public function setPtComment8(?string $ptComment8): self
  4662.     {
  4663.         $this->ptComment8 $ptComment8;
  4664.         return $this;
  4665.     }
  4666.     public function getPtComment9(): ?string
  4667.     {
  4668.         return $this->ptComment9;
  4669.     }
  4670.     public function setPtComment9(?string $ptComment9): self
  4671.     {
  4672.         $this->ptComment9 $ptComment9;
  4673.         return $this;
  4674.     }
  4675.     public function getPtCommentHtml2(): ?string
  4676.     {
  4677.         return $this->ptCommentHtml2;
  4678.     }
  4679.     public function setPtCommentHtml2(?string $ptCommentHtml2): self
  4680.     {
  4681.         $this->ptCommentHtml2 $ptCommentHtml2;
  4682.         return $this;
  4683.     }
  4684.     public function getPtCommentHtml3(): ?string
  4685.     {
  4686.         return $this->ptCommentHtml3;
  4687.     }
  4688.     public function setPtCommentHtml3(?string $ptCommentHtml3): self
  4689.     {
  4690.         $this->ptCommentHtml3 $ptCommentHtml3;
  4691.         return $this;
  4692.     }
  4693.     public function getProviderTextKey(): ?string
  4694.     {
  4695.         return $this->providerTextKey;
  4696.     }
  4697.     public function setProviderTextKey(?string $key): self
  4698.     {
  4699.         $this->providerTextKey $key;
  4700.         return $this;
  4701.     }
  4702. }