src/Entity/Articles/Article.php line 63

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Articles;
  3. use App\Entity\Clients\Client;
  4. use App\Entity\FO\Atelier;
  5. use App\Entity\Fournisseurs\Fournisseur;
  6. use App\Entity\GestionComerciale\ArticleCommande;
  7. use App\Entity\GestionComerciale\Fabrication;
  8. use App\Entity\Inventaires\ArticleInventaire;
  9. use App\Entity\MarketPlace\ArticleMarketPlace;
  10. use App\Entity\Rangements\Caisse;
  11. use App\Entity\Rangements\Emplacement;
  12. use App\Entity\Rangements\NiveauDeux;
  13. use App\Entity\Rangements\NiveauQuatre;
  14. use App\Entity\Rangements\NiveauTrois;
  15. use App\Entity\Rangements\NiveauUn;
  16. #use App\Entity\Rangements\niveauDeux;
  17. #use App\Entity\Rangements\niveauQuatre;
  18. #use App\Entity\Rangements\niveauTrois;
  19. //use App\Entity\Rangements\niveauUn;
  20. use App\Entity\Remises\CategorieRemiseArticle;
  21. use App\Entity\Taxes\RegleTaxe;
  22. use App\Entity\Traductions\Traduction;
  23. use App\Entity\Transporteurs\Transporteur;
  24. use App\Entity\Utilisateur\Utilisateur;
  25. use App\Entity\Vehicules\Application;
  26. use DateTime;
  27. use Doctrine\Common\Collections\ArrayCollection;
  28. use Doctrine\Common\Collections\Collection;
  29. use Doctrine\ORM\Mapping as ORM;
  30. use Gedmo\Mapping\Annotation as Gedmo;
  31. use Symfony\Component\Validator\Constraints as Assert;
  32. use Doctrine\Common\Collections\Criteria;
  33. use App\Annotations\SecuredEntity;
  34. use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
  35. /**
  36.  * Article
  37.  * @ORM\Table(name="article__article",indexes={
  38.  *  @ORM\Index(name="reference", columns={"reference"}),
  39.  *  @ORM\Index(name="unspsc", columns={"unspsc"}),
  40.  *  @ORM\Index(name="reference_appel_10", columns={"reference_appel_10"}),
  41.  *  @ORM\Index(name="id_import", columns={"id_import"}),
  42.  *  @ORM\Index(name="archive", columns={"archive"}),
  43.  *  @ORM\Index(name="a_fabriquer", columns={"a_fabriquer"}),
  44.  *  @ORM\Index(name="a_commander", columns={"a_commander"}),
  45.  *  @ORM\Index(name="libelle", columns={"libelle"}),
  46.  *  @ORM\Index(name="recherche", columns={"reference","libelle","reference_appel_1","reference_appel_2","reference_appel_3","reference_appel_4","reference_appel_5","reference_appel_6","reference_appel_7","reference_appel_8","reference_appel_9","reference_appel_10","reference_appel_11"},flags={"fulltext"}),
  47.  *  @ORM\Index(name="recherche_prix", columns={"prix_vente"}),
  48.  *  @ORM\Index(name="mouvemente", columns={"mouvemente"}),
  49.  *  @ORM\Index(name="reference_appel_10", columns={"reference_appel_10"}),
  50.  *  @ORM\Index(name="divers", columns={"divers"}),
  51.  * })
  52.  * @ORM\Entity(repositoryClass="App\Repository\Articles\ArticleRepository")
  53.  * @Gedmo\SoftDeleteable(fieldName="dateSuppression",timeAware=false)
  54.  * @SecuredEntity(name="Article", group="ARTICLES")
  55.  */
  56. //* \@UniqueEntity("reference",message="Référence déja utilisée")
  57. class Article
  58. {
  59.     /**
  60.      * @ORM\Column(name="id", type="integer")
  61.      * @ORM\Id
  62.      * @ORM\GeneratedValue(strategy="AUTO")
  63.      */
  64.     private $id;
  65.     /**
  66.      * @ORM\Column(name="origine", type="string", nullable=true)
  67.      */
  68.     private $origine;
  69.     /**
  70.      * @ORM\Column(name="provenance", type="string", nullable=true)
  71.      */
  72.     private $provenance;
  73.     /**
  74.      * @ORM\Column(name="code_produit", type="string", length=255, nullable=true)
  75.      *
  76.      */
  77.     private $codeProduit;
  78.     /**
  79.      * @ORM\OneToMany(targetEntity="App\Entity\MarketPlace\ArticleMarketPlace", mappedBy="article", cascade={"persist"})
  80.      */
  81.     private $articleMarketPlace;
  82.     /**
  83.      * @ORM\OneToMany(targetEntity="App\Entity\Inventaires\ArticleInventaire", cascade={"persist"}, mappedBy="article")
  84.      */
  85.     private $articleInventaire;
  86.     /**
  87.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Article", cascade={"persist"})
  88.      * @ORM\JoinColumn(nullable=true)
  89.      */
  90.     private $articleRemplacement;
  91.     /**
  92.      * @ORM\Column(name="id_import", type="string",length=255, nullable=true)
  93.      */
  94.     private $idImport;
  95.     /**
  96.      * @ORM\Column(name="id_import_2", type="string",length=255, nullable=true)
  97.      */
  98.     private $idImport2;
  99.     /**
  100.      * @ORM\Column(name="donnees_import", type="text", nullable=true)
  101.      */
  102.     private $donnesImport;
  103.     /**
  104.      * @ORM\ManyToOne(targetEntity="App\Entity\Rangements\NiveauUn", inversedBy="articles")
  105.      * @ORM\JoinColumn(nullable=true)
  106.      */
  107.     private $niveauUn;
  108.     /**
  109.      * @ORM\ManyToOne(targetEntity="App\Entity\Rangements\NiveauDeux", inversedBy="articles")
  110.      * @ORM\JoinColumn(nullable=true)
  111.      */
  112.     private $niveauDeux;
  113.     /**
  114.      * @ORM\ManyToOne(targetEntity="App\Entity\Rangements\NiveauTrois", inversedBy="articles")
  115.      * @ORM\JoinColumn(nullable=true)
  116.      */
  117.     private $niveauTrois;
  118.     /**
  119.      * @ORM\ManyToOne(targetEntity="App\Entity\Rangements\NiveauQuatre", inversedBy="articles")
  120.      * @ORM\JoinColumn(nullable=true)
  121.      */
  122.     private $niveauQuatre;
  123.     /**
  124.      * @ORM\OneToMany(targetEntity="App\Entity\Rangements\Emplacement", mappedBy="article", cascade={"persist"})
  125.      *
  126.      * @ORM\OrderBy({"ordre" = "ASC"})
  127.      */
  128.     private $emplacements;
  129.     /**
  130.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\PrixPromo", mappedBy="article")
  131.      */
  132.     private $prixPromo;
  133.     /**
  134.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Garantie", mappedBy="article")
  135.      */
  136.     private $garanties;
  137.     /**
  138.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\ConditionnementAchat", mappedBy="article")
  139.      */
  140.     private $conditionnementAchatEan;
  141.     /**
  142.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\ConditionAchat", mappedBy="article")
  143.      */
  144.     private $conditionsAchat;
  145.     /**
  146.      * @ORM\ManyToOne(targetEntity="App\Entity\Taxes\RegleTaxe")
  147.      */
  148.     private $regleTaxe;
  149.     /**
  150.      * @ORM\ManyToOne(targetEntity="App\Entity\Taxes\RegleTaxe")
  151.      */
  152.     private $regleTaxeAchat;
  153.     /**
  154.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\ArticleCategorie", cascade={"persist"}, mappedBy="article")
  155.      */
  156.     private $articleCategorie;
  157.     /**
  158.      * @ORM\ManyToMany(targetEntity="App\Entity\Articles\Article", cascade={"persist"})
  159.      */
  160.     private $refsEquivalentes;
  161.     /**
  162.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\RefsEquivalentes", mappedBy="article")
  163.      */
  164.     private $refsEquivalentesConcurrence;
  165.     /**
  166.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\ArticleCommande", mappedBy="article")
  167.      */
  168.     private $articleCommande;
  169.     /**
  170.      * @ORM\OneToMany(targetEntity="App\Entity\Vehicules\Application", mappedBy="article")
  171.      */
  172.     private $articleApplication;
  173.     /**
  174.      * @ORM\ManyToOne(targetEntity="App\Entity\Utilisateur\Utilisateur", inversedBy="articles")
  175.      * @ORM\JoinColumn(nullable=true)
  176.      */
  177.     private $utilisateur;
  178.     /**
  179.      * @ORM\Column(name="libelle", type="string", length=255)
  180.      * @Assert\NotBlank(message="Libellé obligatoire")
  181.      * @Assert\NotBlank(message="Article : Libellé obligatoire", groups={"articleDivers"})
  182.      */
  183.     private $libelle;
  184.     /**
  185.      * @ORM\Column(name="nomenclature_douaniere", type="string", length=255, nullable=true)
  186.      */
  187.     private $nomenclatureDouaniere;
  188.     /**
  189.      * @ORM\Column(name="unspsc", type="string", length=255, nullable=true)
  190.      */
  191.     private $unspsc;
  192.     /**
  193.      * @ORM\Column(name="ugs", type="string", length=255, nullable=true)
  194.      */
  195.     private $ugs;
  196.     /**
  197.      * @ORM\Column(name="ean", type="string", length=255, nullable=true)
  198.      */
  199.     private $ean;
  200.     /**
  201.      * @ORM\Column(name="libelle_secondaire", type="string", length=255, nullable=true)
  202.      */
  203.     private $libelleSecondaire;
  204.     /**
  205.      * @ORM\Column(name="date", type="datetime")
  206.      */
  207.     private $date;
  208.     /**
  209.      * @ORM\Column(name="dateCalculCump", type="datetime", nullable=true)
  210.      */
  211.     private $dateCalculCump;
  212.     /**
  213.      * @ORM\Column(name="dateProchaineDispo", type="datetime", nullable=true)
  214.      */
  215.     private $dateProchaineDispo;
  216.     /**
  217.      * @ORM\Column(name="date_supression", type="datetime", nullable=true)
  218.      */
  219.     private $dateSuppression;
  220.     /**
  221.      * @ORM\Column(name="date_maj", type="datetime", nullable=true)
  222.      */
  223.     private $dateMaj;
  224.     /**
  225.      * @ORM\Column(name="date_maj_prix", type="datetime", nullable=true)
  226.      */
  227.     private $dateMajPrix;
  228.     /**
  229.      * @ORM\Column(name="reference", type="string", length=255, unique=false)
  230.      * @Assert\NotBlank(message="Référence obligatoire")
  231.      */
  232.     private $reference;
  233.     /**
  234.      * @ORM\Column(name="reference_interne", type="string", length=255, nullable=true)
  235.      */
  236.     private $referenceInterne;
  237.     /**
  238.      * @ORM\Column(name="reference_appel_1", type="string", length=255, nullable=true)
  239.      */
  240.     private $referenceAppel1;
  241.     /**
  242.      * @ORM\Column(name="reference_appel_2", type="string", length=255, nullable=true)
  243.      */
  244.     private $referenceAppel2;
  245.     /**
  246.      * @ORM\Column(name="reference_appel_3", type="string", length=255, nullable=true)
  247.      */
  248.     private $referenceAppel3;
  249.     /**
  250.      * @ORM\Column(name="reference_appel_4", type="string", length=255, nullable=true)
  251.      */
  252.     private $referenceAppel4;
  253.     /**
  254.      * @ORM\Column(name="reference_appel_5", type="string", length=255, nullable=true)
  255.      */
  256.     private $referenceAppel5;
  257.     /**
  258.      * @ORM\Column(name="reference_appel_6", type="string", length=255, nullable=true)
  259.      */
  260.     private $referenceAppel6;
  261.     /**
  262.      * @ORM\Column(name="reference_appel_7", type="string", length=255, nullable=true)
  263.      */
  264.     private $referenceAppel7;
  265.     /**
  266.      * @ORM\Column(name="reference_appel_8", type="string", length=255, nullable=true)
  267.      */
  268.     private $referenceAppel8;
  269.     /**
  270.      * @ORM\Column(name="reference_appel_9", type="string", length=255, nullable=true)
  271.      */
  272.     private $referenceAppel9;
  273.     /**
  274.      * @ORM\Column(name="reference_appel_10", type="string", length=255, nullable=true)
  275.      */
  276.     private $referenceAppel10;
  277.     /**
  278.      * @ORM\Column(name="reference_appel_11", type="string", length=255, nullable=true)
  279.      */
  280.     private $referenceAppel11;
  281.     /**
  282.      * @ORM\Column(name="reference_client", type="string", length=255, nullable=true)
  283.      */
  284.     private $referenceClient;
  285.     /**
  286.      * @ORM\Column(name="reference_fournisseur", type="string", length=255, nullable=true)
  287.      */
  288.     private $referenceFournisseur;
  289.     /**
  290.      * @ORM\Column(name="prix_base", type="float", nullable=true)
  291.      * @Assert\NotBlank(message="Prix de base obligatoire")
  292.      */
  293.     private $prixBase;
  294.     /**
  295.      * @ORM\Column(name="prix_revient", type="float", nullable=true)
  296.      */
  297.     private $prixRevient;
  298.     /**
  299.      * @ORM\Column(name="frais_fonctionnement", type="float", nullable=true)
  300.      */
  301.     private $fraisFonctionnement;
  302.     /**
  303.      * @ORM\Column(name="prix_vente", type="float", nullable=true)
  304.      * @Assert\NotBlank(message="Prix de vente obligatoire")
  305.      */
  306.     private $prixVente;
  307.     /**
  308.      * @ORM\Column(name="taux_marge", type="float", nullable=true)
  309.      */
  310.     private $tauxMarge;
  311.     /**
  312.      * @ORM\Column(name="marge", type="float", nullable=true)
  313.      */
  314.     private $marge;
  315.     /**
  316.      * @ORM\Column(name="marge_reelle", type="float", nullable=true)
  317.      */
  318.     private $margeReelle;
  319.     /**
  320.      * @ORM\Column(name="ecotaxe", type="float", nullable=true)
  321.      */
  322.     private $ecotaxe;
  323.     /**
  324.      * @ORM\Column(name="ecocontribution", type="float", nullable=true)
  325.      */
  326.     private $ecocontribution;
  327.     /**
  328.      * @ORM\Column(name="pump", type="float", nullable=true)
  329.      */
  330.     private $pump;
  331.     /**
  332.      * @ORM\Column(name="cpump", type="float", nullable=true)
  333.      */
  334.     private $cpump;
  335.     /**
  336.      * @ORM\Column(name="remise_max", type="float", nullable=true)
  337.      */
  338.     private $remiseMax;
  339.     /**
  340.      * @ORM\Column(name="type_remise_max", type="string", length=255, nullable=true)
  341.      */
  342.     private $typeRemiseMax;
  343.     /**
  344.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Image", cascade={"persist"},mappedBy="article")
  345.      */
  346.     private $images;
  347.     /**
  348.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Document", cascade={"persist"},mappedBy="article")
  349.      */
  350.     private $documents;
  351.     /**
  352.      * @ORM\OneToMany(targetEntity="App\Entity\Traductions\Traduction", cascade={"persist"},mappedBy="article")
  353.      */
  354.     private $traductions;
  355.     /**
  356.      * @ORM\ManyToOne(targetEntity="App\Entity\Remises\CategorieRemiseArticle", cascade={"persist"})
  357.      */
  358.     private $categorieRemiseArticle;
  359.     /**
  360.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Marque", cascade={"persist"})
  361.      */
  362.     private $marque;
  363.     /**
  364.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Finition", cascade={"persist"})
  365.      */
  366.     private $finition;
  367.     /**
  368.      * @ORM\ManyToOne(targetEntity="App\Entity\Rangements\Caisse", cascade={"persist"})
  369.      */
  370.     private $caisse;
  371.     /**
  372.      * @ORM\ManyToOne(targetEntity="App\Entity\FO\Atelier", cascade={"persist"},inversedBy="article")
  373.      */
  374.     private $atelier;
  375.     /**
  376.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\FamilleCompta", cascade={"persist","remove"})
  377.      */
  378.     private $familleCompta;
  379.     /**
  380.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Type", cascade={"persist"})
  381.      */
  382.     private $type;
  383.     /**
  384.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\UniteMesure", cascade={"persist"})
  385.      */
  386.     private $uniteMesure;
  387.     /**
  388.      * @ORM\Column(name="description", type="text", nullable=true)
  389.      */
  390.     private $description;
  391.     /**
  392.      * @ORM\Column(name="description_courte", type="text", nullable=true)
  393.      */
  394.     private $descriptionCourte;
  395.     /**
  396.      * @ORM\Column(name="commentaire", type="text", nullable=true)
  397.      */
  398.     private $commentairePonctuel;
  399.     /**
  400.      * @ORM\Column(name="commentaire_achat", type="text", nullable=true)
  401.      */
  402.     private $commentaireAchat;
  403.     /**
  404.      * @ORM\Column(name="stock", type="float", nullable=true)
  405.      */
  406.     private $stock;
  407.     /**
  408.      * @ORM\Column(name="stock_reserve", type="float", nullable=true)
  409.      */
  410.     private $stockReserve;
  411.     /**
  412.      * @ORM\Column(name="stock_reserve_fabrication", type="float", nullable=true)
  413.      */
  414.     private $stockReserveFabrication;
  415.     /**
  416.      * @var integer
  417.      * @Assert\Type(
  418.      *     type="integer",
  419.      *     groups={"Default"},
  420.      *     message="Conditionnement : valeur non valide."
  421.      * )
  422.      * @ORM\Column(name="conditionnement", type="integer", nullable=true)
  423.      */
  424.     private $conditionnement;
  425.     /**
  426.      * @ORM\Column(name="largeur", type="float", nullable=true)
  427.      */
  428.     private $largeur;
  429.     /**
  430.      * @ORM\Column(name="longueur", type="float", nullable=true)
  431.      */
  432.     private $longueur;
  433.     /**
  434.      * @ORM\Column(name="profondeur", type="float", nullable=true)
  435.      */
  436.     private $profondeur;
  437.     /**
  438.      * @ORM\Column(name="hauteur", type="float", nullable=true)
  439.      */
  440.     private $hauteur;
  441.     /**
  442.      * @ORM\Column(name="poids", type="float", nullable=true)
  443.      */
  444.     private $poids;
  445.     /**
  446.      * @ORM\Column(name="colis", type="float", nullable=true)
  447.      */
  448.     private $colis;
  449.     /**
  450.      * @ORM\Column(name="nomenclature_validee", type="boolean", nullable=true)
  451.      */
  452.     private $nomenclatureValidee;
  453.     /**
  454.      * @ORM\Column(name="non_preparable", type="boolean", options={"default":false}, nullable=true)
  455.      */
  456.     private $nonPreparable;
  457.     /**
  458.      * @ORM\Column(name="statut", type="boolean", nullable=true)
  459.      */
  460.     private $statut;
  461.     /**
  462.      * @ORM\Column(name="universel", type="boolean", nullable=true)
  463.      */
  464.     private $universel;
  465.     /**
  466.      * @ORM\Column(name="sur_prestashop", type="boolean", nullable=true)
  467.      */
  468.     private $surPrestashop;
  469.     /**
  470.      * @ORM\Column(name="est_commentaire", type="boolean", nullable=true)
  471.      */
  472.     private $est_commentaire;
  473.     /**
  474.      * @ORM\Column(name="num_serie_obligatoire", type="boolean", nullable=true)
  475.      */
  476.     private $numSerieObligatoire;
  477.     /**
  478.      * @ORM\Column(name="archive", type="boolean", nullable=true)
  479.      */
  480.     private $archive;
  481.     /**
  482.      * @ORM\Column(name="non_stocke", type="boolean", nullable=true)
  483.      */
  484.     private $nonStocke;
  485.     /**
  486.      * @ORM\Column(name="non_commandable", type="boolean", nullable=true)
  487.      */
  488.     private $nonCommandable;
  489.     /**
  490.      * @ORM\Column(name="a_commander", type="boolean", nullable=true)
  491.      */
  492.     private $aCommander;
  493.     /**
  494.      * @ORM\Column(name="a_suggerer", type="boolean", nullable=true)
  495.      */
  496.     private $aSuggerer;
  497.     /**
  498.      * @ORM\Column(name="a_fabriquer", type="boolean", nullable=true)
  499.      */
  500.     private $aFabriquer;
  501.     /**
  502.      * @ORM\Column(name="afficher_composant_pdf_interne", type="boolean", nullable=true)
  503.      */
  504.     private $afficherComposantPdfInterne;
  505.     /**
  506.      * @ORM\Column(name="afficher_composant_pdf_externe", type="boolean", nullable=true)
  507.      */
  508.     private $afficherComposantPdfExterne;
  509.     /**
  510.      * @ORM\Column(name="virtuel", type="boolean", nullable=true)
  511.      */
  512.     private $virtuel;
  513.     /**
  514.      * @ORM\Column(name="maj_prix", type="boolean", nullable=true)
  515.      */
  516.     private $majPrix;
  517.     /**
  518.      * @ORM\Column(name="a_consigner", type="boolean", nullable=true)
  519.      */
  520.     private $aConsigner;
  521.     /**
  522.      * @ORM\Column(name="consigne", type="boolean", nullable=true)
  523.      */
  524.     private $consigne;
  525.     /**
  526.      * @ORM\Column(name="stock_auto", type="boolean", nullable=true)
  527.      */
  528.     private $stockAuto;
  529.     /**
  530.      * @ORM\Column(name="arret_gamme", type="boolean", nullable=true)
  531.      */
  532.     private $arretGamme;
  533.     /**
  534.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\MouvementStock", cascade={"persist"},mappedBy="article")
  535.      */
  536.     private $mouvementStock;
  537.     /**
  538.      * @ORM\Column(name="seuil_critique", type="float", nullable=true)
  539.      */
  540.     private $seuilCritique;
  541.     /**
  542.      * @ORM\Column(name="seuil_commande_f_mini", type="integer", nullable=true)
  543.      */
  544.     private $seuilMiniCommandeFournisseur;
  545.     /**
  546.      * @ORM\Column(name="seuil_commande_f_maxi", type="integer", nullable=true)
  547.      */
  548.     private $seuilMaxiCommandeFournisseur;
  549.     /**
  550.      * @ORM\ManyToOne(targetEntity="App\Entity\Fournisseurs\Fournisseur", cascade={"persist"},inversedBy="articles")
  551.      */
  552.     private $fournisseurDefaut;
  553.     /**
  554.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\ConditionAchat")
  555.      * @ORM\JoinColumn(nullable=true)
  556.      */
  557.     private $conditionAchatDefaut;
  558.     /**
  559.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\PrixAchat", cascade={"persist"},mappedBy="article")
  560.      */
  561.     private $prixAchat//non utilisé
  562.     /**
  563.      * @ORM\Column(name="ral_fournisseur", type="float", nullable=true)
  564.      */
  565.     private $ralFournisseur;
  566.     /**
  567.      * @ORM\Column(name="produit_interne", type="boolean", nullable=true)
  568.      */
  569.     private $produitInterne;
  570.     /**
  571.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\ArticleComposant", cascade={"persist"},mappedBy="article")
  572.      */
  573.     private $articleComposant;
  574.     /**
  575.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\ArticleComposant", cascade={"persist"},mappedBy="articleCompose")
  576.      * @ORM\OrderBy({"ordre" = "ASC"})
  577.      */
  578.     private $articlesComposants;
  579.     /**
  580.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\ArticleAssocie", cascade={"persist"},mappedBy="parent")
  581.      * @ORM\OrderBy({"ordre" = "ASC"})
  582.      */
  583.     private $articlesAssociesParent;
  584.     /**
  585.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\ArticleAssocie", cascade={"persist"},mappedBy="enfant")
  586.      * @ORM\OrderBy({"ordre" = "ASC"})
  587.      */
  588.     private $articlesAssociesEnfant;
  589.     /**
  590.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Fabrication", cascade={"persist"},mappedBy="article")
  591.      */
  592.     private $fabrications;
  593.     /**
  594.      * @ORM\Column(name="temporaire", type="boolean", nullable=true)
  595.      */
  596.     private $temporaire;
  597.     /**
  598.      * @ORM\ManyToMany(targetEntity="App\Entity\Clients\Client", cascade={"persist"})
  599.      */
  600.     private $clientsEnRal;
  601.     /**
  602.      * @ORM\Column(name="quantite_conseillee_mini", type="integer", nullable=true)
  603.      */
  604.     private $quantiteConseilleeMini;
  605.     /**
  606.      * @ORM\Column(name="quantite_conseillee", type="integer", nullable=true)
  607.      */
  608.     private $quantiteConseillee;
  609.     /**
  610.      * @ORM\Column(name="quantite_conseillee_maxi", type="integer", nullable=true)
  611.      */
  612.     private $quantiteConseilleeMaxi;
  613.     /**
  614.      * @ORM\Column(name="coefficient_px_base_px_vente", type="float", nullable=true)
  615.      */
  616.     private $coefficientPrixBaseVente;
  617.     /**
  618.      * @ORM\Column(name="nom_web", type="string", length=255, nullable=true)
  619.      */
  620.     private $nomWeb;
  621.     /**
  622.      * @ORM\Column(name="delai_reappro", type="string", length=255, nullable=true)
  623.      */
  624.     private $delaiReappro;
  625.     /**
  626.      * @ORM\Column(name="reference_web", type="string", length=255, nullable=true)
  627.      */
  628.     private $referenceWeb;
  629.     /**
  630.      * @ORM\Column(name="reference_fournisseur_web", type="string", length=255, nullable=true)
  631.      */
  632.     private $referenceFournisseurWeb;
  633.     /**
  634.      * @ORM\Column(name="description_web", type="text", nullable=true)
  635.      */
  636.     private $descriptionWeb;
  637.     /**
  638.      * @ORM\Column(name="resume_web", type="text", nullable=true)
  639.      */
  640.     private $resumeWeb;
  641.     /**
  642.      * @ORM\Column(name="frais_ports_texte_web", type="text", nullable=true)
  643.      */
  644.     private $fraisPortsTexteWeb;
  645.     /**
  646.      * @ORM\Column(name="title_seo_web", type="string", length=255, nullable=true)
  647.      */
  648.     private $titleSeoWeb;
  649.     /**
  650.      * @ORM\Column(name="url_web", type="string", length=255, nullable=true)
  651.      */
  652.     private $urlWeb;
  653.     /**
  654.      * @ORM\Column(name="message_qd_en_stock", type="text", nullable=true)
  655.      */
  656.     private $messageQdEnStockWeb;
  657.     /**
  658.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Article", cascade={"persist"},mappedBy="articleEnconsigne")
  659.      */
  660.     private $articlesAconsigner;
  661.     /**
  662.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Article", inversedBy="articlesAconsigner")
  663.      * @ORM\JoinColumn(nullable=true)
  664.      */
  665.     private $articleEnconsigne;
  666.     /**
  667.      * @ORM\Column(name="main_oeuvre", type="boolean", nullable=true)
  668.      */
  669.     private $mainOeuvre;
  670.     /**
  671.      * @ORM\Column(name="prestation", type="boolean", nullable=true)
  672.      */
  673.     private $prestation;
  674.     /**
  675.      * @ORM\Column(name="divers", type="boolean", nullable=true)
  676.      */
  677.     private $divers;
  678.     /**
  679.      * @ORM\Column(name="divers_composes", type="boolean", nullable=true)
  680.      */
  681.     private $diversComposes;
  682.     /**
  683.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Article")
  684.      * @ORM\JoinColumn(nullable=true)
  685.      */
  686.     private $parent;
  687.     /**
  688.      * @ORM\ManyToOne(targetEntity="App\Entity\Articles\Article")
  689.      * @ORM\JoinColumn(nullable=true)
  690.      */
  691.     private $articleDeclinaisonParent;
  692.     /**
  693.      * @ORM\Column(name="declinaison", type="boolean", nullable=true)
  694.      */
  695.     private $declinaison;
  696.     /**
  697.      * @ORM\Column(name="mouvemente", type="boolean", nullable=true)
  698.      */
  699.     private $mouvemente;
  700.     /**
  701.      * @ORM\Column(name="maj_poids", type="boolean", nullable=true)
  702.      */
  703.     private $majPoids;
  704.     /**
  705.      * @ORM\Column(name="maj_prix_base", type="boolean", nullable=true)
  706.      */
  707.     private $majPrixBase;
  708.     /**
  709.      * @ORM\Column(name="cond_achat", type="float", nullable=true)
  710.      */
  711.     private $conditionnementAchat;
  712.     /**
  713.      * @ORM\ManyToOne(targetEntity="App\Entity\Transporteurs\Transporteur")
  714.      * @ORM\JoinColumn(nullable=true)
  715.      */
  716.     private $transporteur;
  717.     /**
  718.      * @ORM\ManyToOne(targetEntity="App\Entity\Transporteurs\Transporteur")
  719.      * @ORM\JoinColumn(nullable=true)
  720.      */
  721.     private $transporteur2;
  722.     /**
  723.      * @ORM\Column(name="commentaire_dimensions", type="text", nullable=true)
  724.      */
  725.     private $commentaireDimensions;
  726.     /**
  727.      * @ORM\Column(name="maj_composes", type="boolean", nullable=true)
  728.      */
  729.     private $majComposes;
  730.     /**
  731.      * @ORM\Column(name="dispo", type="float", nullable=true)
  732.      */
  733.     private $dispo;
  734.     /**
  735.      * @ORM\Column(name="maj_dispo", type="boolean", nullable=true)
  736.      */
  737.     private $majDispo;
  738.     /**
  739.      * @ORM\Column(name="numero_reference", type="integer",nullable=true)
  740.      */
  741.     private $numeroReference;
  742.     /**
  743.      * @ORM\Column(name="estParent", type="integer",nullable=true)
  744.      */
  745.     private $estParent;
  746.     /**
  747.      * @ORM\Column(name="capacite_production", type="float", nullable=true)
  748.      */
  749.     private $capaciteProduction;
  750.     /**
  751.      * @ORM\Column(name="maj_capacite_prod", type="boolean", nullable=true)
  752.      */
  753.     private $majCapaciteProd;
  754.     /**
  755.      * @ORM\Column(name="pump_hors_frais", type="float", nullable=true)
  756.      */
  757.     private $pumpHorsFrais;
  758.     /**
  759.      * @ORM\Column(name="maj_pump", type="boolean", options={"default":false})
  760.      */
  761.     private bool $majPump false ;
  762.     /**
  763.      * @var integer
  764.      *
  765.      * @ORM\Column(name="id_prestahop", type="string",length=255, nullable=true)
  766.      */
  767.     private $idPrestahop;
  768.     /**
  769.      * @var integer
  770.      *
  771.      * @ORM\Column(name="id_combination_prestahop", type="string",length=255, nullable=true)
  772.      */
  773.     private $idCombinationPrestahop;
  774.     /**
  775.      * @ORM\Column(name="oqton_urn", type="string",length=255, nullable=true)
  776.      */
  777.     private $oqtonUrn null;
  778.     /**
  779.      * @ORM\Column(name="oqton_material_urn", type="string",length=255, nullable=true)
  780.      */
  781.     private $oqtonMaterialUrn null;
  782.     /** @var boolean
  783.      *
  784.      * @ORM\Column(name="a_publier", type="boolean", options={"default":false}, nullable=true)
  785.      */
  786.     private $aPublier;
  787.     /**
  788.      * @var \DateTime
  789.      *
  790.      * @ORM\Column(name="date_a_publier", type="datetime", nullable=true)
  791.      */
  792.     private $dateAPublier;
  793.     /**
  794.      * @ORM\Column(type="integer", nullable=true, options={"default":0})
  795.      */
  796.     private $position;
  797.     public function __construct()
  798.     {
  799.         $this->date                         = new Datetime();
  800.         $this->archive                      false;
  801.         $this->numSerieObligatoire          false;
  802.         $this->aFabriquer                   false;
  803.         $this->aCommander                   false;
  804.         $this->poids                        0;
  805.         $this->colis                        1;
  806.         $this->reference                    0;
  807.         $this->stock                        0;
  808.         $this->stockReserve                 0;
  809.         $this->profondeur                   0;
  810.         $this->hauteur                      0;
  811.         $this->tauxMarge                    1;
  812.         $this->ralFournisseur               0;
  813.         $this->seuilCritique                0;
  814.         $this->seuilMiniCommandeFournisseur 0;
  815.         $this->produitInterne               false;
  816.         $this->virtuel                      false;
  817.         $this->consigne                     false;
  818.         $this->notifications                 = new ArrayCollection();
  819.         $this->refsEquivalentes             = new ArrayCollection();
  820.         $this->fournisseurs                 = new ArrayCollection();
  821.         $this->articlesComposants           = new ArrayCollection();
  822.         $this->clientsEnRal                 = new ArrayCollection();
  823.         $this->articleMarketPlace           = new ArrayCollection();
  824.         $this->articlesAssociesEnfant       = new ArrayCollection();
  825.         $this->articlesAssociesParent       = new ArrayCollection();
  826.         $this->emplacements                 = new ArrayCollection();
  827.         $this->traductions                  = new ArrayCollection();
  828.         $this->articleInventaire            = new ArrayCollection();
  829.         $this->articlesAconsigner           = new ArrayCollection();
  830.         $this->fabrications                 = new ArrayCollection();
  831.         $this->garanties                    = new ArrayCollection();
  832.         $this->refsEquivalentesConcurrence  = new ArrayCollection();
  833.         $this->documents                    = new ArrayCollection();
  834.         $this->articleApplication           = new ArrayCollection();
  835.         $this->articleCommande              = new ArrayCollection();
  836.         $this->mouvementStock               = new ArrayCollection();
  837.         $this->images                       = new ArrayCollection();
  838.         $this->prixPromo                    = new ArrayCollection();
  839.         $this->conditionnementAchatEan      = new ArrayCollection();
  840.         $this->conditionsAchat              = new ArrayCollection();
  841.         $this->articleCategorie             = new ArrayCollection();
  842.         $this->prixAchat                    = new ArrayCollection();
  843.         $this->articleComposant             = new ArrayCollection();
  844.         $this->coefficientPrixBaseVente      1;
  845.         $this->prixBase                     0;
  846.         $this->prixVente                    0;
  847.         $this->mouvemente                   false;
  848.         $this->nomenclatureValidee          false;
  849.         $this->ecocontribution              0;
  850.         $this->majPrix                      true;
  851.         $this->majDispo                     false;
  852.         $this->capaciteProduction           0;
  853.         $this->majCapaciteProd              false;
  854.     }
  855.     public function getId(): int
  856.     {
  857.         return $this->id;
  858.     }
  859.     public function setLibelle(string $libelle): Article
  860.     {
  861.         $this->libelle $libelle;
  862.         return $this;
  863.     }
  864.     public function getLibelle(): string
  865.     {
  866.         return $this->libelle;
  867.     }
  868.     public function setDate(DateTime $date): Article
  869.     {
  870.         $this->date $date;
  871.         return $this;
  872.     }
  873.     public function getDate(): DateTime
  874.     {
  875.         return $this->date;
  876.     }
  877.     public function setReference(string $reference): Article
  878.     {
  879.         $this->reference $reference;
  880.         return $this;
  881.     }
  882.     public function getReference(): string
  883.     {
  884.         return $this->reference;
  885.     }
  886.     public function setReferenceClient(?string $referenceClient): Article
  887.     {
  888.         $this->referenceClient $referenceClient;
  889.         return $this;
  890.     }
  891.     public function getReferenceClient(): ?string
  892.     {
  893.         return $this->referenceClient;
  894.     }
  895.     public function setReferenceFournisseur(?string $referenceFournisseur): Article
  896.     {
  897.         $this->referenceFournisseur $referenceFournisseur;
  898.         return $this;
  899.     }
  900.     public function getReferenceFournisseur(): ?string
  901.     {
  902.         return $this->referenceFournisseur;
  903.     }
  904.     public function setPrixBase(?float $prixBase): Article
  905.     {
  906.         if ($prixBase != $this->prixBase) {
  907.             $this->setDateMajPrix(new Datetime());
  908.         }
  909.         $this->prixBase    $prixBase;
  910.         $this->majPrixBase true;
  911.         return $this;
  912.     }
  913.     public function getPrixBase(): float
  914.     {
  915.         return $this->prixBase;
  916.     }
  917.     public function setDateMaj(?DateTime $dateMaj): Article
  918.     {
  919.         $this->dateMaj $dateMaj;
  920.         return $this;
  921.     }
  922.     public function getDateMaj(): ?DateTime
  923.     {
  924.         return $this->dateMaj;
  925.     }
  926.     public function setDateMajPrix(?DateTime $dateMajPrix): Article
  927.     {
  928.         $this->dateMajPrix $dateMajPrix;
  929.         return $this;
  930.     }
  931.     public function getDateMajPrix(): ?DateTime
  932.     {
  933.         return $this->dateMajPrix;
  934.     }
  935.     public function setDateSuppression(?DateTime $dateSuppression): Article
  936.     {
  937.         $this->dateSuppression $dateSuppression;
  938.         return $this;
  939.     }
  940.     public function getDateSuppression(): ?DateTime
  941.     {
  942.         return $this->dateSuppression;
  943.     }
  944.     public function addImage(Image $image): Article
  945.     {
  946.         $this->images[] = $image;
  947.         return $this;
  948.     }
  949.     public function removeImage(Image $image)
  950.     {
  951.         $this->images->removeElement($image);
  952.     }
  953.     public function getImages(): Collection
  954.     {
  955.         return $this->images;
  956.     }
  957.     public function setMarque(?Marque $marque): Article
  958.     {
  959.         $this->marque $marque;
  960.         return $this;
  961.     }
  962.     public function getMarque(): ?Marque
  963.     {
  964.         return $this->marque;
  965.     }
  966.     public function setAtelier(?Atelier $atelier): Article
  967.     {
  968.         $this->atelier $atelier;
  969.         return $this;
  970.     }
  971.     public function getAtelier(): ?Atelier
  972.     {
  973.         return $this->atelier;
  974.     }
  975.     public function setDescription(?string $description): Article
  976.     {
  977.         $this->description $description;
  978.         return $this;
  979.     }
  980.     public function getDescription(): ?string
  981.     {
  982.         return $this->description;
  983.     }
  984.     public function setDescriptionCourte(?string $descriptionCourte): Article
  985.     {
  986.         $this->descriptionCourte $descriptionCourte;
  987.         return $this;
  988.     }
  989.     public function getDescriptionCourte(): ?string
  990.     {
  991.         return $this->descriptionCourte;
  992.     }
  993.     public function setStock(?int $stock): Article
  994.     {
  995.         $this->stock    $stock;
  996.         $this->majDispo true;
  997.         return $this;
  998.     }
  999.     public function getStock(): ?int
  1000.     {
  1001.         return $this->stock;
  1002.     }
  1003.     public function setStatut(?bool $statut): Article
  1004.     {
  1005.         $this->statut $statut;
  1006.         return $this;
  1007.     }
  1008.     public function getStatut(): ?bool
  1009.     {
  1010.         return $this->statut;
  1011.     }
  1012.     public function setLargeur(?float $largeur): Article
  1013.     {
  1014.         $this->largeur $largeur;
  1015.         return $this;
  1016.     }
  1017.     public function getLargeur(): ?float
  1018.     {
  1019.         return $this->largeur;
  1020.     }
  1021.     public function setProfondeur(?float $profondeur): Article
  1022.     {
  1023.         $this->profondeur $profondeur;
  1024.         return $this;
  1025.     }
  1026.     public function getProfondeur(): ?float
  1027.     {
  1028.         return $this->profondeur;
  1029.     }
  1030.     public function setHauteur(?float $hauteur): Article
  1031.     {
  1032.         $this->hauteur $hauteur;
  1033.         return $this;
  1034.     }
  1035.     public function getHauteur(): ?float
  1036.     {
  1037.         return $this->hauteur;
  1038.     }
  1039.     public function setPoids(?float $poids): Article
  1040.     {
  1041.         $this->poids       $poids;
  1042.         $this->majPoids    true;
  1043.         $this->majComposes true;
  1044.         return $this;
  1045.     }
  1046.     public function getPoids(): ?float
  1047.     {
  1048.         return $this->poids;
  1049.     }
  1050.     public function setcolis(?float $colis): Article
  1051.     {
  1052.         $this->colis $colis;
  1053.         return $this;
  1054.     }
  1055.     public function getcolis(): ?float
  1056.     {
  1057.         return $this->colis;
  1058.     }
  1059.     public function setAConsigner(?bool $aConsigner): Article
  1060.     {
  1061.         $this->aConsigner $aConsigner;
  1062.         return $this;
  1063.     }
  1064.     public function getAConsigner(): ?bool
  1065.     {
  1066.         return $this->aConsigner;
  1067.     }
  1068.     public function setConsigne(?bool $consigne): Article
  1069.     {
  1070.         $this->consigne $consigne;
  1071.         return $this;
  1072.     }
  1073.     public function getConsigne(): ?bool
  1074.     {
  1075.         return $this->consigne;
  1076.     }
  1077.     public function setStockAuto(?bool $stockAuto): Article
  1078.     {
  1079.         $this->stockAuto $stockAuto;
  1080.         return $this;
  1081.     }
  1082.     public function getStockAuto(): ?bool
  1083.     {
  1084.         return $this->stockAuto;
  1085.     }
  1086.     public function setArretGamme(?bool $arretGamme): Article
  1087.     {
  1088.         $this->arretGamme $arretGamme;
  1089.         return $this;
  1090.     }
  1091.     public function getArretGamme(): ?bool
  1092.     {
  1093.         return $this->arretGamme;
  1094.     }
  1095.     public function addMouvementStock(MouvementStock $mouvementStock): Article
  1096.     {
  1097.         $this->mouvementStock[] = $mouvementStock;
  1098.         return $this;
  1099.     }
  1100.     public function removeMouvementStock(MouvementStock $mouvementStock)
  1101.     {
  1102.         $this->mouvementStock->removeElement($mouvementStock);
  1103.     }
  1104.     public function getMouvementStock(): Collection
  1105.     {
  1106.         return $this->mouvementStock;
  1107.     }
  1108.     public function __toString()
  1109.     {
  1110.         return $this->libelle;
  1111.     }
  1112.     public function setUtilisateur(?Utilisateur $utilisateur): Article
  1113.     {
  1114.         $this->utilisateur $utilisateur;
  1115.         return $this;
  1116.     }
  1117.     public function getUtilisateur(): Utilisateur
  1118.     {
  1119.         return $this->utilisateur;
  1120.     }
  1121.     public function addArticleCategorie(ArticleCategorie $articleCategorie): Article
  1122.     {
  1123.         $this->articleCategorie[] = $articleCategorie;
  1124.         $articleCategorie->setArticle($this);
  1125.         return $this;
  1126.     }
  1127.     public function removeArticleCategorie(ArticleCategorie $articleCategorie)
  1128.     {
  1129.         $this->articleCategorie->removeElement($articleCategorie);
  1130.     }
  1131.     public function getArticleCategorie(): Collection
  1132.     {
  1133.         return $this->articleCategorie;
  1134.     }
  1135.     public function getRefsEquivalentes(): Collection
  1136.     {
  1137.         return $this->refsEquivalentes;
  1138.     }
  1139.     public function addArticleCommande(ArticleCommande $articleCommande): Article
  1140.     {
  1141.         $this->articleCommande[] = $articleCommande;
  1142.         return $this;
  1143.     }
  1144.     public function removeArticleCommande(ArticleCommande $articleCommande)
  1145.     {
  1146.         $this->articleCommande->removeElement($articleCommande);
  1147.     }
  1148.     public function getArticleCommande(): Collection
  1149.     {
  1150.         return $this->articleCommande;
  1151.     }
  1152.     public function setRegleTaxe(?RegleTaxe $regleTaxe): Article
  1153.     {
  1154.         $this->regleTaxe $regleTaxe;
  1155.         return $this;
  1156.     }
  1157.     public function getRegleTaxe(): ?RegleTaxe
  1158.     {
  1159.         return $this->regleTaxe;
  1160.     }
  1161.     public function addArticleApplication(Application $articleApplication): Article
  1162.     {
  1163.         $this->articleApplication[] = $articleApplication;
  1164.         return $this;
  1165.     }
  1166.     public function removeArticleApplication(Application $articleApplication)
  1167.     {
  1168.         $this->articleApplication->removeElement($articleApplication);
  1169.     }
  1170.     public function getArticleApplication(): Collection
  1171.     {
  1172.         return $this->articleApplication;
  1173.     }
  1174.     public function addDocument(Document $documents): Article
  1175.     {
  1176.         $this->documents[] = $documents;
  1177.         return $this;
  1178.     }
  1179.     public function removeDocument(Document $documents)
  1180.     {
  1181.         $this->documents->removeElement($documents);
  1182.     }
  1183.     public function getDocuments(): Collection
  1184.     {
  1185.         return $this->documents;
  1186.     }
  1187.     public function setRemiseMax(?float $remiseMax): Article
  1188.     {
  1189.         $this->remiseMax $remiseMax;
  1190.         return $this;
  1191.     }
  1192.     public function getRemiseMax(): ?float
  1193.     {
  1194.         return $this->remiseMax;
  1195.     }
  1196.     public function setTypeRemiseMax(?string $typeRemiseMax): Article
  1197.     {
  1198.         $this->typeRemiseMax $typeRemiseMax;
  1199.         return $this;
  1200.     }
  1201.     public function getTypeRemiseMax(): ?string
  1202.     {
  1203.         return $this->typeRemiseMax;
  1204.     }
  1205.     public function addPrixPromo(PrixPromo $prixPromo): Article
  1206.     {
  1207.         $this->prixPromo[] = $prixPromo;
  1208.         return $this;
  1209.     }
  1210.     public function removePrixPromo(PrixPromo $prixPromo)
  1211.     {
  1212.         $this->prixPromo->removeElement($prixPromo);
  1213.     }
  1214.     public function getPrixPromo(): Collection
  1215.     {
  1216.         return $this->prixPromo;
  1217.     }
  1218.     public function addFournisseur(Fournisseur $fournisseurs): Article
  1219.     {
  1220.         $this->fournisseurs[] = $fournisseurs;
  1221.         return $this;
  1222.     }
  1223.     public function removeFournisseur(Fournisseur $fournisseurs)
  1224.     {
  1225.         $this->fournisseurs->removeElement($fournisseurs);
  1226.     }
  1227.     public function getFournisseurs(): Collection
  1228.     {
  1229.         return $this->fournisseurs;
  1230.     }
  1231.     public function addPrixAchat(PrixAchat $prixAchat): Article
  1232.     {
  1233.         $this->prixAchat[] = $prixAchat;
  1234.         return $this;
  1235.     }
  1236.     public function removePrixAchat(PrixAchat $prixAchat)
  1237.     {
  1238.         $this->prixAchat->removeElement($prixAchat);
  1239.     }
  1240.     public function getPrixAchat(): Collection
  1241.     {
  1242.         return $this->prixAchat;
  1243.     }
  1244.     public function setSeuilMiniCommandeFournisseur(?int $seuilMiniCommandeFournisseur): Article
  1245.     {
  1246.         $this->seuilMiniCommandeFournisseur $seuilMiniCommandeFournisseur;
  1247.         return $this;
  1248.     }
  1249.     public function getSeuilMiniCommandeFournisseur(): ?int
  1250.     {
  1251.         return $this->seuilMiniCommandeFournisseur;
  1252.     }
  1253.     public function setSeuilMaxiCommandeFournisseur(?int $seuilMaxiCommandeFournisseur): Article
  1254.     {
  1255.         $this->seuilMaxiCommandeFournisseur $seuilMaxiCommandeFournisseur;
  1256.         return $this;
  1257.     }
  1258.     public function getSeuilMaxiCommandeFournisseur(): ?int
  1259.     {
  1260.         return $this->seuilMaxiCommandeFournisseur;
  1261.     }
  1262.     public function setNiveauUn(?niveauUn $niveauUn): Article
  1263.     {
  1264.         $this->niveauUn $niveauUn;
  1265.         return $this;
  1266.     }
  1267.     public function getNiveauUn(): ?niveauUn
  1268.     {
  1269.         return $this->niveauUn;
  1270.     }
  1271.     public function setNiveauDeux(?niveauDeux $niveauDeux): Article
  1272.     {
  1273.         $this->niveauDeux $niveauDeux;
  1274.         return $this;
  1275.     }
  1276.     public function getNiveauDeux(): ?niveauDeux
  1277.     {
  1278.         return $this->niveauDeux;
  1279.     }
  1280.     public function setNiveauTrois(?niveauTrois $niveauTrois): Article
  1281.     {
  1282.         $this->niveauTrois $niveauTrois;
  1283.         return $this;
  1284.     }
  1285.     public function getNiveauTrois(): ?niveauTrois
  1286.     {
  1287.         return $this->niveauTrois;
  1288.     }
  1289.     public function setNiveauQuatre(?niveauQuatre $niveauQuatre): Article
  1290.     {
  1291.         $this->niveauQuatre $niveauQuatre;
  1292.         return $this;
  1293.     }
  1294.     public function getNiveauQuatre(): ?niveauQuatre
  1295.     {
  1296.         return $this->niveauQuatre;
  1297.     }
  1298.     public function setPump(?float $pump): Article
  1299.     {
  1300.         $this->pump $pump;
  1301.         return $this;
  1302.     }
  1303.     public function getPump(): ?float
  1304.     {
  1305.         return $this->pump;
  1306.     }
  1307.     public function setCommentairePonctuel(?string $commentairePonctuel): Article
  1308.     {
  1309.         $this->commentairePonctuel $commentairePonctuel;
  1310.         return $this;
  1311.     }
  1312.     public function getCommentairePonctuel(): ?string
  1313.     {
  1314.         return $this->commentairePonctuel;
  1315.     }
  1316.     public function setRefEquivalente(Article $refEquivalente null): Article
  1317.     {
  1318.         $this->refEquivalente $refEquivalente;
  1319.         return $this;
  1320.     }
  1321.     public function getRefEquivalente(): Article
  1322.     {
  1323.         return $this->refEquivalente;
  1324.     }
  1325.     public function addRefsEquivalentesConcurrence(RefsEquivalentes $refsEquivalentesConcurrence): Article
  1326.     {
  1327.         $this->refsEquivalentesConcurrence[] = $refsEquivalentesConcurrence;
  1328.         return $this;
  1329.     }
  1330.     public function removeRefsEquivalentesConcurrence(RefsEquivalentes $refsEquivalentesConcurrence)
  1331.     {
  1332.         $this->refsEquivalentesConcurrence->removeElement($refsEquivalentesConcurrence);
  1333.     }
  1334.     public function getRefsEquivalentesConcurrence(): Collection
  1335.     {
  1336.         return $this->refsEquivalentesConcurrence;
  1337.     }
  1338.     public function addRefsEquivalente(Article $refsEquivalentes): Article
  1339.     {
  1340.         $this->refsEquivalentes[] = $refsEquivalentes;
  1341.         return $this;
  1342.     }
  1343.     public function removeRefsEquivalente(Article $refsEquivalentes)
  1344.     {
  1345.         $this->refsEquivalentes->removeElement($refsEquivalentes);
  1346.     }
  1347.     public function setVirtuel(?bool $virtuel): Article
  1348.     {
  1349.         $this->virtuel $virtuel;
  1350.         return $this;
  1351.     }
  1352.     public function getVirtuel(): ?bool
  1353.     {
  1354.         return $this->virtuel;
  1355.     }
  1356.     public function setPrixVente(?float $prixVente): Article
  1357.     {
  1358.         //$this->prixVente = round($prixVente, 2, PHP_ROUND_HALF_UP);
  1359.         $this->prixVente $prixVente;
  1360.         return $this;
  1361.     }
  1362.     public function getPrixVente(): ?float
  1363.     {
  1364.         return $this->prixVente;
  1365.     }
  1366.     public function setTauxMarge(?float $tauxMarge): Article
  1367.     {
  1368.         $this->tauxMarge $tauxMarge;
  1369.         return $this;
  1370.     }
  1371.     public function getTauxMarge(): ?float
  1372.     {
  1373.         return $this->tauxMarge;
  1374.     }
  1375.     public function setMarge(?float $marge): Article
  1376.     {
  1377.         $this->marge $marge;
  1378.         return $this;
  1379.     }
  1380.     public function getMarge(): ?float
  1381.     {
  1382.         return $this->marge;
  1383.     }
  1384.     public function setMargeReelle(?float $margeReelle): Article
  1385.     {
  1386.         $this->margeReelle $margeReelle;
  1387.         return $this;
  1388.     }
  1389.     public function getMargeReelle(): ?float
  1390.     {
  1391.         return $this->margeReelle;
  1392.     }
  1393.     public function setEcotaxe(?float $ecotaxe): Article
  1394.     {
  1395.         $this->ecotaxe $ecotaxe;
  1396.         return $this;
  1397.     }
  1398.     public function getEcotaxe(): ?float
  1399.     {
  1400.         return $this->ecotaxe;
  1401.     }
  1402.     public function setConditionnement(?int $conditionnement): Article
  1403.     {
  1404.         $this->conditionnement $conditionnement;
  1405.         return $this;
  1406.     }
  1407.     public function getConditionnement(): ?int
  1408.     {
  1409.         return $this->conditionnement;
  1410.     }
  1411.     public function addGaranty(Garantie $garanties): Article
  1412.     {
  1413.         $this->garanties[] = $garanties;
  1414.         return $this;
  1415.     }
  1416.     public function removeGaranty(Garantie $garanties)
  1417.     {
  1418.         $this->garanties->removeElement($garanties);
  1419.     }
  1420.     public function getGaranties(): Collection
  1421.     {
  1422.         return $this->garanties;
  1423.     }
  1424.     public function addConditionsAchat(ConditionAchat $conditionsAchat): Article
  1425.     {
  1426.         $this->conditionsAchat[] = $conditionsAchat;
  1427.         return $this;
  1428.     }
  1429.     public function removeConditionsAchat(ConditionAchat $conditionsAchat)
  1430.     {
  1431.         $this->conditionsAchat->removeElement($conditionsAchat);
  1432.     }
  1433.     public function getConditionsAchat(): Collection
  1434.     {
  1435.         return $this->conditionsAchat;
  1436.     }
  1437.     public function setStockReserve(?int $stockReserve): Article
  1438.     {
  1439.         $this->stockReserve $stockReserve;
  1440.         $this->majDispo     true;
  1441.         return $this;
  1442.     }
  1443.     public function getStockReserve(): ?int
  1444.     {
  1445.         return $this->stockReserve;
  1446.     }
  1447.     public function setRalFournisseur(?int $ralFournisseur): Article
  1448.     {
  1449.         $this->ralFournisseur $ralFournisseur;
  1450.         return $this;
  1451.     }
  1452.     public function getRalFournisseur(): ?int
  1453.     {
  1454.         return $this->ralFournisseur;
  1455.     }
  1456.     public function setFournisseurDefaut(?Fournisseur $fournisseurDefaut): Article
  1457.     {
  1458.         $this->fournisseurDefaut $fournisseurDefaut;
  1459.         return $this;
  1460.     }
  1461.     public function getFournisseurDefaut(): ?Fournisseur
  1462.     {
  1463.         return $this->fournisseurDefaut;
  1464.     }
  1465.     public function setIdImport(?string $idImport): Article
  1466.     {
  1467.         $this->idImport $idImport;
  1468.         return $this;
  1469.     }
  1470.     public function getIdImport(): ?string
  1471.     {
  1472.         return $this->idImport;
  1473.     }
  1474.     public function setProduitInterne(?bool $produitInterne): Article
  1475.     {
  1476.         if ( ! $this->produitInterne && $produitInterne) {
  1477.             $this->nomenclatureValidee true;
  1478.         }
  1479.         $this->produitInterne $produitInterne;
  1480.         return $this;
  1481.     }
  1482.     public function getProduitInterne(): ?bool
  1483.     {
  1484.         return $this->produitInterne;
  1485.     }
  1486.     public function setDonnesImport(?string $donnesImport): Article
  1487.     {
  1488.         $this->donnesImport $donnesImport;
  1489.         return $this;
  1490.     }
  1491.     public function getDonnesImport(): ?string
  1492.     {
  1493.         return $this->donnesImport;
  1494.     }
  1495.     public function addArticleComposant(ArticleComposant $articleComposant): Article
  1496.     {
  1497.         $this->articleComposant[] = $articleComposant;
  1498.         return $this;
  1499.     }
  1500.     public function removeArticleComposant(ArticleComposant $articleComposant)
  1501.     {
  1502.         $this->articleComposant->removeElement($articleComposant);
  1503.     }
  1504.     public function getArticleComposant(): Collection
  1505.     {
  1506.         return $this->articleComposant;
  1507.     }
  1508.     public function addArticlesComposant(ArticleComposant $articlesComposants): Article
  1509.     {
  1510.         $this->articlesComposants[] = $articlesComposants;
  1511.         return $this;
  1512.     }
  1513.     public function removeArticlesComposant(ArticleComposant $articlesComposants)
  1514.     {
  1515.         $this->articlesComposants->removeElement($articlesComposants);
  1516.     }
  1517.     public function getArticlesComposants(): Collection
  1518.     {
  1519.         return $this->articlesComposants;
  1520.     }
  1521.     public function addFabrication(Fabrication $fabrications): Article
  1522.     {
  1523.         $this->fabrications[] = $fabrications;
  1524.         return $this;
  1525.     }
  1526.     public function removeFabrication(Fabrication $fabrications)
  1527.     {
  1528.         $this->fabrications->removeElement($fabrications);
  1529.     }
  1530.     public function getFabrications(): Collection
  1531.     {
  1532.         return $this->fabrications;
  1533.     }
  1534.     public function setMajPrix(?bool $majPrix): Article
  1535.     {
  1536.         $this->majPrix $majPrix;
  1537.         return $this;
  1538.     }
  1539.     public function getMajPrix(): ?bool
  1540.     {
  1541.         return $this->majPrix;
  1542.     }
  1543.     public function setUniteMesure(?UniteMesure $uniteMesure): Article
  1544.     {
  1545.         $this->uniteMesure $uniteMesure;
  1546.         return $this;
  1547.     }
  1548.     public function getUniteMesure(): ?UniteMesure
  1549.     {
  1550.         return $this->uniteMesure;
  1551.     }
  1552.     public function setAfficherComposantPdfInterne(?bool $afficherComposantPdfInterne): Article
  1553.     {
  1554.         $this->afficherComposantPdfInterne $afficherComposantPdfInterne;
  1555.         return $this;
  1556.     }
  1557.     public function getAfficherComposantPdfInterne(): ?bool
  1558.     {
  1559.         return $this->afficherComposantPdfInterne;
  1560.     }
  1561.     public function setAfficherComposantPdfExterne(?bool $afficherComposantPdfExterne): Article
  1562.     {
  1563.         $this->afficherComposantPdfExterne $afficherComposantPdfExterne;
  1564.         return $this;
  1565.     }
  1566.     public function getAfficherComposantPdfExterne(): ?bool
  1567.     {
  1568.         return $this->afficherComposantPdfExterne;
  1569.     }
  1570.     public function setCategorieRemiseArticle(?CategorieRemiseArticle $categorieRemiseArticle): Article
  1571.     {
  1572.         $this->categorieRemiseArticle $categorieRemiseArticle;
  1573.         return $this;
  1574.     }
  1575.     public function getCategorieRemiseArticle(): ?CategorieRemiseArticle
  1576.     {
  1577.         return $this->categorieRemiseArticle;
  1578.     }
  1579.     public function setTemporaire(?bool $temporaire): Article
  1580.     {
  1581.         $this->temporaire $temporaire;
  1582.         return $this;
  1583.     }
  1584.     public function getTemporaire(): ?bool
  1585.     {
  1586.         return $this->temporaire;
  1587.     }
  1588.     public function setLibelleSecondaire(?string $libelleSecondaire): Article
  1589.     {
  1590.         $this->libelleSecondaire $libelleSecondaire;
  1591.         return $this;
  1592.     }
  1593.     public function getLibelleSecondaire(): ?string
  1594.     {
  1595.         return $this->libelleSecondaire;
  1596.     }
  1597.     public function setACommander(?bool $aCommander): Article
  1598.     {
  1599.         $this->aCommander $aCommander;
  1600.         return $this;
  1601.     }
  1602.     public function getACommander(): ?bool
  1603.     {
  1604.         return $this->aCommander;
  1605.     }
  1606.     public function setAFabriquer(?bool $aFabriquer): Article
  1607.     {
  1608.         $this->aFabriquer $aFabriquer;
  1609.         return $this;
  1610.     }
  1611.     public function getAFabriquer(): ?bool
  1612.     {
  1613.         return $this->aFabriquer;
  1614.     }
  1615.     public function addClientsEnRal(Client $client): Article
  1616.     {
  1617.         $this->clientsEnRal[] = $client;
  1618.         return $this;
  1619.     }
  1620.     public function removeClientsEnRal(Client $client)
  1621.     {
  1622.         $this->clientsEnRal->removeElement($client);
  1623.     }
  1624.     public function getClientsEnRal(): Collection
  1625.     {
  1626.         return $this->clientsEnRal;
  1627.     }
  1628.     public function setQuantiteConseilleeMini(?int $quantiteConseilleeMini): Article
  1629.     {
  1630.         $this->quantiteConseilleeMini $quantiteConseilleeMini;
  1631.         return $this;
  1632.     }
  1633.     public function getQuantiteConseilleeMini(): ?int
  1634.     {
  1635.         return $this->quantiteConseilleeMini;
  1636.     }
  1637.     public function setQuantiteConseillee(?int $quantiteConseillee): Article
  1638.     {
  1639.         $this->quantiteConseillee $quantiteConseillee;
  1640.         return $this;
  1641.     }
  1642.     public function getQuantiteConseillee(): ?int
  1643.     {
  1644.         return $this->quantiteConseillee;
  1645.     }
  1646.     public function setQuantiteConseilleeMaxi(?int $quantiteConseilleeMaxi): Article
  1647.     {
  1648.         $this->quantiteConseilleeMaxi $quantiteConseilleeMaxi;
  1649.         return $this;
  1650.     }
  1651.     public function getQuantiteConseilleeMaxi(): ?int
  1652.     {
  1653.         return $this->quantiteConseilleeMaxi;
  1654.     }
  1655.     public function setArchive(?bool $archive): Article
  1656.     {
  1657.         $this->archive $archive;
  1658.         return $this;
  1659.     }
  1660.     public function getArchive(): ?bool
  1661.     {
  1662.         return $this->archive;
  1663.     }
  1664.     public function setCoefficientPrixBaseVente(?float $coefficientPrixBaseVente): Article
  1665.     {
  1666.         $this->coefficientPrixBaseVente $coefficientPrixBaseVente;
  1667.         return $this;
  1668.     }
  1669.     public function getCoefficientPrixBaseVente(): ?float
  1670.     {
  1671.         return $this->coefficientPrixBaseVente;
  1672.     }
  1673.     public function setNomWeb(?string $nomWeb): Article
  1674.     {
  1675.         $this->nomWeb $nomWeb;
  1676.         return $this;
  1677.     }
  1678.     public function getNomWeb(): ?string
  1679.     {
  1680.         return $this->nomWeb;
  1681.     }
  1682.     public function setReferenceWeb(?string $referenceWeb): Article
  1683.     {
  1684.         $this->referenceWeb $referenceWeb;
  1685.         return $this;
  1686.     }
  1687.     public function getReferenceWeb(): ?string
  1688.     {
  1689.         return $this->referenceWeb;
  1690.     }
  1691.     public function setReferenceFournisseurWeb(?string $referenceFournisseurWeb): Article
  1692.     {
  1693.         $this->referenceFournisseurWeb $referenceFournisseurWeb;
  1694.         return $this;
  1695.     }
  1696.     public function getReferenceFournisseurWeb(): ?string
  1697.     {
  1698.         return $this->referenceFournisseurWeb;
  1699.     }
  1700.     public function setDescriptionWeb(?string $descriptionWeb): Article
  1701.     {
  1702.         $this->descriptionWeb $descriptionWeb;
  1703.         return $this;
  1704.     }
  1705.     public function getDescriptionWeb(): ?string
  1706.     {
  1707.         return $this->descriptionWeb;
  1708.     }
  1709.     public function setResumeWeb(?string $resumeWeb): Article
  1710.     {
  1711.         $this->resumeWeb $resumeWeb;
  1712.         return $this;
  1713.     }
  1714.     public function getResumeWeb(): ?string
  1715.     {
  1716.         return $this->resumeWeb;
  1717.     }
  1718.     public function setFraisPortsTexteWeb(?string $fraisPortsTexteWeb): Article
  1719.     {
  1720.         $this->fraisPortsTexteWeb $fraisPortsTexteWeb;
  1721.         return $this;
  1722.     }
  1723.     public function getFraisPortsTexteWeb(): ?string
  1724.     {
  1725.         return $this->fraisPortsTexteWeb;
  1726.     }
  1727.     public function setMessageQdEnStockWeb(?string $messageQdEnStockWeb): Article
  1728.     {
  1729.         $this->messageQdEnStockWeb $messageQdEnStockWeb;
  1730.         return $this;
  1731.     }
  1732.     public function getMessageQdEnStockWeb(): ?string
  1733.     {
  1734.         return $this->messageQdEnStockWeb;
  1735.     }
  1736.     public function addArticlesAconsigner(Article $articlesAconsigner): Article
  1737.     {
  1738.         $this->articlesAconsigner[] = $articlesAconsigner;
  1739.         $articlesAconsigner->setArticleEnconsigne($this);
  1740.         return $this;
  1741.     }
  1742.     public function removeArticlesAconsigner(Article $articlesAconsigner)
  1743.     {
  1744.         $this->articlesAconsigner->removeElement($articlesAconsigner);
  1745.         $articlesAconsigner->setArticleEnconsigne(null);
  1746.     }
  1747.     public function getArticlesAconsigner(): Collection
  1748.     {
  1749.         return $this->articlesAconsigner;
  1750.     }
  1751.     public function setArticleEnconsigne(?Article $articleEnconsigne): Article
  1752.     {
  1753.         $this->articleEnconsigne $articleEnconsigne;
  1754.         return $this;
  1755.     }
  1756.     public function getArticleEnconsigne(): ?Article
  1757.     {
  1758.         return $this->articleEnconsigne;
  1759.     }
  1760.     public function setReferenceAppel1(?string $referenceAppel1): Article
  1761.     {
  1762.         $this->referenceAppel1 $referenceAppel1;
  1763.         return $this;
  1764.     }
  1765.     public function getReferenceAppel1(): ?string
  1766.     {
  1767.         return $this->referenceAppel1;
  1768.     }
  1769.     public function setReferenceAppel2(?string $referenceAppel2): Article
  1770.     {
  1771.         $this->referenceAppel2 $referenceAppel2;
  1772.         return $this;
  1773.     }
  1774.     public function getReferenceAppel2(): ?string
  1775.     {
  1776.         return $this->referenceAppel2;
  1777.     }
  1778.     public function setReferenceAppel3(?string $referenceAppel3): Article
  1779.     {
  1780.         $this->referenceAppel3 $referenceAppel3;
  1781.         return $this;
  1782.     }
  1783.     public function getReferenceAppel3(): ?string
  1784.     {
  1785.         return $this->referenceAppel3;
  1786.     }
  1787.     public function setReferenceAppel4(?string $referenceAppel4): Article
  1788.     {
  1789.         $this->referenceAppel4 $referenceAppel4;
  1790.         return $this;
  1791.     }
  1792.     public function getReferenceAppel4(): ?string
  1793.     {
  1794.         return $this->referenceAppel4;
  1795.     }
  1796.     public function setReferenceAppel5(?string $referenceAppel5): Article
  1797.     {
  1798.         $this->referenceAppel5 $referenceAppel5;
  1799.         return $this;
  1800.     }
  1801.     public function getReferenceAppel5(): ?string
  1802.     {
  1803.         return $this->referenceAppel5;
  1804.     }
  1805.     public function setReferenceAppel6(?string $referenceAppel6): Article
  1806.     {
  1807.         $this->referenceAppel6 $referenceAppel6;
  1808.         return $this;
  1809.     }
  1810.     public function getReferenceAppel6(): ?string
  1811.     {
  1812.         return $this->referenceAppel6;
  1813.     }
  1814.     public function setReferenceAppel7(?string $referenceAppel7): Article
  1815.     {
  1816.         $this->referenceAppel7 $referenceAppel7;
  1817.         return $this;
  1818.     }
  1819.     public function getReferenceAppel7(): ?string
  1820.     {
  1821.         return $this->referenceAppel7;
  1822.     }
  1823.     public function setReferenceAppel8(?string $referenceAppel8): Article
  1824.     {
  1825.         $this->referenceAppel8 $referenceAppel8;
  1826.         return $this;
  1827.     }
  1828.     public function getReferenceAppel8(): ?string
  1829.     {
  1830.         return $this->referenceAppel8;
  1831.     }
  1832.     public function setReferenceAppel9(?string $referenceAppel9): Article
  1833.     {
  1834.         $this->referenceAppel9 $referenceAppel9;
  1835.         return $this;
  1836.     }
  1837.     public function getReferenceAppel9(): ?string
  1838.     {
  1839.         return $this->referenceAppel9;
  1840.     }
  1841.     public function setReferenceAppel10(?string $referenceAppel10): Article
  1842.     {
  1843.         $this->referenceAppel10 $referenceAppel10;
  1844.         return $this;
  1845.     }
  1846.     public function getReferenceAppel10(): ?string
  1847.     {
  1848.         return $this->referenceAppel10;
  1849.     }
  1850.     public function setReferenceAppel11(?string $referenceAppel11): Article
  1851.     {
  1852.         $this->referenceAppel11 $referenceAppel11;
  1853.         return $this;
  1854.     }
  1855.     public function getReferenceAppel11(): ?string
  1856.     {
  1857.         return $this->referenceAppel11;
  1858.     }
  1859.     public function setMainOeuvre(?bool $mainOeuvre): Article
  1860.     {
  1861.         $this->mainOeuvre $mainOeuvre;
  1862.         return $this;
  1863.     }
  1864.     public function getMainOeuvre(): ?bool
  1865.     {
  1866.         return $this->mainOeuvre;
  1867.     }
  1868.     public function setStockReserveFabrication(?float $stockReserveFabrication): Article
  1869.     {
  1870.         $this->stockReserveFabrication $stockReserveFabrication;
  1871.         return $this;
  1872.     }
  1873.     public function getStockReserveFabrication(): ?float
  1874.     {
  1875.         return $this->stockReserveFabrication;
  1876.     }
  1877.     public function addArticleInventaire(ArticleInventaire $articleInventaire): Article
  1878.     {
  1879.         $this->articleInventaire[] = $articleInventaire;
  1880.         return $this;
  1881.     }
  1882.     public function removeArticleInventaire(ArticleInventaire $articleInventaire)
  1883.     {
  1884.         $this->articleInventaire->removeElement($articleInventaire);
  1885.     }
  1886.     public function getArticleInventaire(): Collection
  1887.     {
  1888.         return $this->articleInventaire;
  1889.     }
  1890.     public function addEmplacement(Emplacement $emplacement): Article
  1891.     {
  1892.         $this->emplacements[] = $emplacement;
  1893.         return $this;
  1894.     }
  1895.     public function removeEmplacement(Emplacement $emplacement)
  1896.     {
  1897.         $this->emplacements->removeElement($emplacement);
  1898.     }
  1899.     public function getEmplacements(): Collection
  1900.     {
  1901.         $criteria Criteria::create();
  1902.         $criteria->where(Criteria::expr()->eq('visibilite'true));
  1903.         if (is_object($this->emplacements)) {
  1904.             return $this->emplacements->matching($criteria);
  1905.         }
  1906.     }
  1907.     public function setType(?Type $type): Article
  1908.     {
  1909.         $this->type $type;
  1910.         return $this;
  1911.     }
  1912.     public function getType(): ?Type
  1913.     {
  1914.         return $this->type;
  1915.     }
  1916.     public function setFamilleCompta(?FamilleCompta $familleCompta): Article
  1917.     {
  1918.         $this->familleCompta $familleCompta;
  1919.         return $this;
  1920.     }
  1921.     public function getFamilleCompta(): ?FamilleCompta
  1922.     {
  1923.         return $this->familleCompta;
  1924.     }
  1925.     public function setPrestation(?bool $prestation): Article
  1926.     {
  1927.         $this->prestation $prestation;
  1928.         return $this;
  1929.     }
  1930.     public function getPrestation(): ?bool
  1931.     {
  1932.         return $this->prestation;
  1933.     }
  1934.     public function setNonStocke(?bool $nonStocke): Article
  1935.     {
  1936.         $this->nonStocke $nonStocke;
  1937.         return $this;
  1938.     }
  1939.     public function getNonStocke(): ?bool
  1940.     {
  1941.         return $this->nonStocke;
  1942.     }
  1943.     public function setNonCommandable(?bool $nonCommandable): Article
  1944.     {
  1945.         $this->nonCommandable $nonCommandable;
  1946.         return $this;
  1947.     }
  1948.     public function getNonCommandable(): ?bool
  1949.     {
  1950.         return $this->nonCommandable;
  1951.     }
  1952.     public function setDivers(?bool $divers): Article
  1953.     {
  1954.         $this->divers $divers;
  1955.         return $this;
  1956.     }
  1957.     public function getDivers(): ?bool
  1958.     {
  1959.         return $this->divers;
  1960.     }
  1961.     public function setParent(?Article $parent): Article
  1962.     {
  1963.         $this->parent $parent;
  1964.         return $this;
  1965.     }
  1966.     public function getParent(): ?Article
  1967.     {
  1968.         return $this->parent;
  1969.     }
  1970.     public function setMouvemente(?bool $mouvemente): Article
  1971.     {
  1972.         $this->mouvemente $mouvemente;
  1973.         return $this;
  1974.     }
  1975.     public function getMouvemente(): ?bool
  1976.     {
  1977.         return $this->mouvemente;
  1978.     }
  1979.     public function setNumSerieObligatoire(?bool $numSerieObligatoire): Article
  1980.     {
  1981.         $this->numSerieObligatoire $numSerieObligatoire;
  1982.         return $this;
  1983.     }
  1984.     public function getNumSerieObligatoire(): ?bool
  1985.     {
  1986.         return $this->numSerieObligatoire;
  1987.     }
  1988.     public function addTraduction(Traduction $traduction): Article
  1989.     {
  1990.         $this->traductions[] = $traduction;
  1991.         return $this;
  1992.     }
  1993.     public function removeTraduction(Traduction $traduction)
  1994.     {
  1995.         $this->traductions->removeElement($traduction);
  1996.     }
  1997.     public function getTraductions(): Collection
  1998.     {
  1999.         return $this->traductions;
  2000.     }
  2001.     public function setArticleRemplacement(?Article $articleRemplacement): Article
  2002.     {
  2003.         $this->articleRemplacement $articleRemplacement;
  2004.         return $this;
  2005.     }
  2006.     public function getArticleRemplacement(): ?Article
  2007.     {
  2008.         return $this->articleRemplacement;
  2009.     }
  2010.     public function setMajPoids(?bool $majPoids): Article
  2011.     {
  2012.         $this->majPoids $majPoids;
  2013.         return $this;
  2014.     }
  2015.     public function getMajPoids(): ?bool
  2016.     {
  2017.         return $this->majPoids;
  2018.     }
  2019.     public function setMajPrixBase(?bool $majPrixBase): Article
  2020.     {
  2021.         $this->majPrixBase $majPrixBase;
  2022.         return $this;
  2023.     }
  2024.     public function getMajPrixBase(): ?bool
  2025.     {
  2026.         return $this->majPrixBase;
  2027.     }
  2028.     public function setEstCommentaire(?bool $estCommentaire): Article
  2029.     {
  2030.         $this->est_commentaire $estCommentaire;
  2031.         return $this;
  2032.     }
  2033.     public function setConditionnementAchat(?float $conditionnementAchat): Article
  2034.     {
  2035.         $this->conditionnementAchat $conditionnementAchat;
  2036.         return $this;
  2037.     }
  2038.     public function getEstCommentaire(): ?bool
  2039.     {
  2040.         return $this->est_commentaire;
  2041.     }
  2042.     public function getConditionnementAchat(): ?float
  2043.     {
  2044.         return $this->conditionnementAchat;
  2045.     }
  2046.     public function setSeuilCritique(?float $seuilCritique): Article
  2047.     {
  2048.         $this->seuilCritique $seuilCritique;
  2049.         return $this;
  2050.     }
  2051.     public function getSeuilCritique(): ?float
  2052.     {
  2053.         return $this->seuilCritique;
  2054.     }
  2055.     public function setRegleTaxeAchat(?RegleTaxe $regleTaxeAchat): Article
  2056.     {
  2057.         $this->regleTaxeAchat $regleTaxeAchat;
  2058.         return $this;
  2059.     }
  2060.     public function getRegleTaxeAchat(): ?RegleTaxe
  2061.     {
  2062.         return $this->regleTaxeAchat;
  2063.     }
  2064.     public function setCpump(?float $cpump): Article
  2065.     {
  2066.         $this->cpump $cpump;
  2067.         return $this;
  2068.     }
  2069.     public function getCpump(): ?float
  2070.     {
  2071.         return $this->cpump;
  2072.     }
  2073.     public function setDateCalculCump(?DateTime $dateCalculCump): Article
  2074.     {
  2075.         $this->dateCalculCump $dateCalculCump;
  2076.         return $this;
  2077.     }
  2078.     public function getDateCalculCump(): ?DateTime
  2079.     {
  2080.         return $this->dateCalculCump;
  2081.     }
  2082.     public function setSurPrestashop(?bool $surPrestashop): Article
  2083.     {
  2084.         if (!$this->surPrestashop && $surPrestashop) {
  2085.             //préremplir les champs
  2086.             $this->setNomWeb($this->getLibelle());
  2087.             //$this->setDelaiReappro();
  2088.             /*
  2089.             $refsEquivalentes = $this->getRefsEquivalentes();
  2090.             if(count($refsEquivalentes)) {
  2091.                 $this->setReferenceFournisseurWeb($refsEquivalentes[0]->getReference());
  2092.             }
  2093.             */
  2094.             $this->setReferenceFournisseurWeb($this->getReferenceAppel1());
  2095.             $this->setReferenceWeb($this->getReference());
  2096.             $this->setDescriptionWeb($this->getDescription());
  2097.             $this->setResumeWeb($this->getLibelleSecondaire());
  2098.             //$this->setFraisPortsTexteWeb();
  2099.             //$this->setMessageQdEnStockWeb();
  2100.         }
  2101.         $this->surPrestashop $surPrestashop;
  2102.         return $this;
  2103.     }
  2104.     public function getSurPrestashop(): ?bool
  2105.     {
  2106.         return $this->surPrestashop;
  2107.     }
  2108.     public function setUniversel(?bool $universel): Article
  2109.     {
  2110.         $this->universel $universel;
  2111.         return $this;
  2112.     }
  2113.     public function getUniversel(): ?bool
  2114.     {
  2115.         return $this->universel;
  2116.     }
  2117.     public function setDelaiReappro(?string $delaiReappro): Article
  2118.     {
  2119.         $this->delaiReappro $delaiReappro;
  2120.         return $this;
  2121.     }
  2122.     public function getDelaiReappro(): ?string
  2123.     {
  2124.         return $this->delaiReappro;
  2125.     }
  2126.     public function setTitleSeoWeb(?string $titleSeoWeb): Article
  2127.     {
  2128.         $this->titleSeoWeb $titleSeoWeb;
  2129.         return $this;
  2130.     }
  2131.     public function getTitleSeoWeb(): ?string
  2132.     {
  2133.         return $this->titleSeoWeb;
  2134.     }
  2135.     public function setUrlWeb(?string $urlWeb): Article
  2136.     {
  2137.         $this->urlWeb $urlWeb;
  2138.         return $this;
  2139.     }
  2140.     public function getUrlWeb(): ?string
  2141.     {
  2142.         return $this->urlWeb;
  2143.     }
  2144.     public function setEan(?string $ean): Article
  2145.     {
  2146.         $this->ean $ean;
  2147.         return $this;
  2148.     }
  2149.     public function getEan(): ?string
  2150.     {
  2151.         return $this->ean;
  2152.     }
  2153.     public function setPrixRevient(?float $prixRevient): Article
  2154.     {
  2155.         $this->prixRevient $prixRevient;
  2156.         return $this;
  2157.     }
  2158.     public function getPrixRevient(): ?float
  2159.     {
  2160.         return $this->prixRevient;
  2161.     }
  2162.     public function setFraisFonctionnement(?float $fraisFonctionnement): Article
  2163.     {
  2164.         $this->fraisFonctionnement $fraisFonctionnement;
  2165.         return $this;
  2166.     }
  2167.     public function getFraisFonctionnement(): ?float
  2168.     {
  2169.         return $this->fraisFonctionnement;
  2170.     }
  2171.     public function setUnspsc(?string $unspsc): Article
  2172.     {
  2173.         $this->unspsc $unspsc;
  2174.         return $this;
  2175.     }
  2176.     public function getUnspsc(): ?string
  2177.     {
  2178.         return $this->unspsc;
  2179.     }
  2180.     public function setNomenclatureDouaniere(?string $nomenclatureDouaniere): Article
  2181.     {
  2182.         $this->nomenclatureDouaniere $nomenclatureDouaniere;
  2183.         return $this;
  2184.     }
  2185.     public function getNomenclatureDouaniere(): ?string
  2186.     {
  2187.         return $this->nomenclatureDouaniere;
  2188.     }
  2189.     public function setASuggerer(?bool $aSuggerer): Article
  2190.     {
  2191.         $this->aSuggerer $aSuggerer;
  2192.         return $this;
  2193.     }
  2194.     public function getASuggerer(): ?bool
  2195.     {
  2196.         return $this->aSuggerer;
  2197.     }
  2198.     public function setDiversComposes(?bool $diversComposes): Article
  2199.     {
  2200.         $this->diversComposes $diversComposes;
  2201.         return $this;
  2202.     }
  2203.     public function getDiversComposes(): ?bool
  2204.     {
  2205.         return $this->diversComposes;
  2206.     }
  2207.     public function setNomenclatureValidee(?bool $nomenclatureValidee): Article
  2208.     {
  2209.         $this->nomenclatureValidee $nomenclatureValidee;
  2210.         return $this;
  2211.     }
  2212.     public function getNomenclatureValidee(): ?bool
  2213.     {
  2214.         return $this->nomenclatureValidee;
  2215.     }
  2216.     public function setTransporteur(?Transporteur $transporteur null): Article
  2217.     {
  2218.         $this->transporteur $transporteur;
  2219.         return $this;
  2220.     }
  2221.     public function getTransporteur(): ?Transporteur
  2222.     {
  2223.         return $this->transporteur;
  2224.     }
  2225.     public function addArticlesAssociesParent(ArticleAssocie $articlesAssociesParent): Article
  2226.     {
  2227.         $this->articlesAssociesParent[] = $articlesAssociesParent;
  2228.         return $this;
  2229.     }
  2230.     public function removeArticlesAssociesParent(ArticleAssocie $articlesAssociesParent)
  2231.     {
  2232.         $this->articlesAssociesParent->removeElement($articlesAssociesParent);
  2233.     }
  2234.     public function getArticlesAssociesParent(): Collection
  2235.     {
  2236.         return $this->articlesAssociesParent;
  2237.     }
  2238.     public function addArticlesAssociesEnfant(ArticleAssocie $articlesAssociesEnfant): Article
  2239.     {
  2240.         $this->articlesAssociesEnfant[] = $articlesAssociesEnfant;
  2241.         return $this;
  2242.     }
  2243.     public function removeArticlesAssociesEnfant(ArticleAssocie $articlesAssociesEnfant)
  2244.     {
  2245.         $this->articlesAssociesEnfant->removeElement($articlesAssociesEnfant);
  2246.     }
  2247.     public function getArticlesAssociesEnfant(): Collection
  2248.     {
  2249.         return $this->articlesAssociesEnfant;
  2250.     }
  2251.     public function setCommentaireDimensions(?string $commentaireDimensions): Article
  2252.     {
  2253.         $this->commentaireDimensions $commentaireDimensions;
  2254.         return $this;
  2255.     }
  2256.     public function getCommentaireDimensions(): ?string
  2257.     {
  2258.         return $this->commentaireDimensions;
  2259.     }
  2260.     public function setConditionAchatDefaut(?ConditionAchat $conditionAchatDefaut): Article
  2261.     {
  2262.         $this->conditionAchatDefaut $conditionAchatDefaut;
  2263.         return $this;
  2264.     }
  2265.     public function getConditionAchatDefaut(): ?ConditionAchat
  2266.     {
  2267.         return $this->conditionAchatDefaut;
  2268.     }
  2269.     public function setEcocontribution(?float $ecocontribution): Article
  2270.     {
  2271.         $this->ecocontribution $ecocontribution;
  2272.         $this->majComposes     true;
  2273.         return $this;
  2274.     }
  2275.     public function getEcocontribution(): ?float
  2276.     {
  2277.         return $this->ecocontribution;
  2278.     }
  2279.     public function setIdImport2(?string $idImport2): Article
  2280.     {
  2281.         $this->idImport2 $idImport2;
  2282.         return $this;
  2283.     }
  2284.     public function getIdImport2(): ?string
  2285.     {
  2286.         return $this->idImport2;
  2287.     }
  2288.     public function setArticleDeclinaisonParent(?Article $articleDeclinaisonParent): Article
  2289.     {
  2290.         $this->articleDeclinaisonParent $articleDeclinaisonParent;
  2291.         return $this;
  2292.     }
  2293.     public function getArticleDeclinaisonParent(): ?Article
  2294.     {
  2295.         return $this->articleDeclinaisonParent;
  2296.     }
  2297.     public function setDeclinaison(?bool $declinaison): Article
  2298.     {
  2299.         $this->declinaison $declinaison;
  2300.         return $this;
  2301.     }
  2302.     public function getDeclinaison(): ?bool
  2303.     {
  2304.         return $this->declinaison;
  2305.     }
  2306.     public function setMajComposes(?bool $majComposes): Article
  2307.     {
  2308.         $this->majComposes $majComposes;
  2309.         return $this;
  2310.     }
  2311.     public function getMajComposes(): ?bool
  2312.     {
  2313.         return $this->majComposes;
  2314.     }
  2315.     public function addArticleMarketPlace(ArticleMarketPlace $articleMarketPlace): Article
  2316.     {
  2317.         $this->articleMarketPlace[] = $articleMarketPlace;
  2318.         return $this;
  2319.     }
  2320.     public function removeArticleMarketPlace(ArticleMarketPlace $articleMarketPlace)
  2321.     {
  2322.         $this->articleMarketPlace->removeElement($articleMarketPlace);
  2323.     }
  2324.     public function getArticleMarketPlace(): Collection
  2325.     {
  2326.         return $this->articleMarketPlace;
  2327.     }
  2328.     public function setCodeProduit(?string $codeProduit): Article
  2329.     {
  2330.         $this->codeProduit $codeProduit;
  2331.         return $this;
  2332.     }
  2333.     public function getCodeProduit(): ?string
  2334.     {
  2335.         return $this->codeProduit;
  2336.     }
  2337.     public function setOrigine(?string $origine): Article
  2338.     {
  2339.         $this->origine $origine;
  2340.         return $this;
  2341.     }
  2342.     public function getOrigine(): ?string
  2343.     {
  2344.         return $this->origine;
  2345.     }
  2346.     public function setReferenceInterne(?string $referenceInterne): Article
  2347.     {
  2348.         $this->referenceInterne $referenceInterne;
  2349.         return $this;
  2350.     }
  2351.     public function getReferenceInterne(): ?string
  2352.     {
  2353.         return $this->referenceInterne;
  2354.     }
  2355.     public function setLongueur(?float $longueur): Article
  2356.     {
  2357.         $this->longueur $longueur;
  2358.         return $this;
  2359.     }
  2360.     public function getLongueur(): ?float
  2361.     {
  2362.         return $this->longueur;
  2363.     }
  2364.     public function setProvenance(?string $provenance): Article
  2365.     {
  2366.         $this->provenance $provenance;
  2367.         return $this;
  2368.     }
  2369.     public function getProvenance(): ?string
  2370.     {
  2371.         return $this->provenance;
  2372.     }
  2373.     public function setUgs(?string $ugs): Article
  2374.     {
  2375.         $this->ugs $ugs;
  2376.         return $this;
  2377.     }
  2378.     public function getUgs(): ?string
  2379.     {
  2380.         return $this->ugs;
  2381.     }
  2382.     public function setTransporteur2(?Transporteur $transporteur2): Article
  2383.     {
  2384.         $this->transporteur2 $transporteur2;
  2385.         return $this;
  2386.     }
  2387.     public function getTransporteur2(): ?Transporteur
  2388.     {
  2389.         return $this->transporteur2;
  2390.     }
  2391.     public function setDispo(?float $dispo): Article
  2392.     {
  2393.         $this->dispo $dispo;
  2394.         return $this;
  2395.     }
  2396.     public function getDispo(): ?float
  2397.     {
  2398.         return $this->dispo;
  2399.     }
  2400.     public function setMajDispo(?bool $majDispo): Article
  2401.     {
  2402.         $this->majDispo $majDispo;
  2403.         return $this;
  2404.     }
  2405.     public function getMajDispo(): ?bool
  2406.     {
  2407.         return $this->majDispo;
  2408.     }
  2409.     public function setNumeroReference(?int $numeroReference): Article
  2410.     {
  2411.         $this->numeroReference $numeroReference;
  2412.         return $this;
  2413.     }
  2414.     public function getNumeroReference(): ?int
  2415.     {
  2416.         return $this->numeroReference;
  2417.     }
  2418.     public function setEstParent(?int $estParent): Article
  2419.     {
  2420.         $this->estParent $estParent;
  2421.         return $this;
  2422.     }
  2423.     public function getEstParent(): ?int
  2424.     {
  2425.         return $this->estParent;
  2426.     }
  2427.     public function setCommentaireAchat(?string $commentaireAchat): Article
  2428.     {
  2429.         $this->commentaireAchat $commentaireAchat;
  2430.         return $this;
  2431.     }
  2432.     public function getCommentaireAchat(): ?string
  2433.     {
  2434.         return $this->commentaireAchat;
  2435.     }
  2436.     public function addConditionnementAchatEan(ConditionnementAchat $conditionnementAchatEan): Article
  2437.     {
  2438.         $this->conditionnementAchatEan[] = $conditionnementAchatEan;
  2439.         return $this;
  2440.     }
  2441.     public function removeConditionnementAchatEan(ConditionnementAchat $conditionnementAchatEan)
  2442.     {
  2443.         $this->conditionnementAchatEan->removeElement($conditionnementAchatEan);
  2444.     }
  2445.     public function getConditionnementAchatEan(): Collection
  2446.     {
  2447.         return $this->conditionnementAchatEan;
  2448.     }
  2449.     public function setNonPreparable(?bool $nonPreparable): Article
  2450.     {
  2451.         $this->nonPreparable $nonPreparable;
  2452.         return $this;
  2453.     }
  2454.     public function getNonPreparable(): ?bool
  2455.     {
  2456.         return $this->nonPreparable;
  2457.     }
  2458.     public function setCapaciteProduction(?float $capaciteProduction): Article
  2459.     {
  2460.         $this->capaciteProduction $capaciteProduction;
  2461.         return $this;
  2462.     }
  2463.     public function getCapaciteProduction(): ?float
  2464.     {
  2465.         return $this->capaciteProduction;
  2466.     }
  2467.     public function setMajCapaciteProd(?bool $majCapaciteProd): Article
  2468.     {
  2469.         $this->majCapaciteProd $majCapaciteProd;
  2470.         return $this;
  2471.     }
  2472.     public function getMajCapaciteProd(): ?bool
  2473.     {
  2474.         return $this->majCapaciteProd;
  2475.     }
  2476.     public function setPumpHorsFrais(?float $pumpHorsFrais): Article
  2477.     {
  2478.         $this->pumpHorsFrais $pumpHorsFrais;
  2479.         return $this;
  2480.     }
  2481.     public function getPumpHorsFrais(): ?float
  2482.     {
  2483.         return $this->pumpHorsFrais;
  2484.     }
  2485.     public function isMajPump(): bool
  2486.     {
  2487.         return $this->majPump;
  2488.     }
  2489.     public function setMajPump(bool $majPump): Article
  2490.     {
  2491.         $this->majPump $majPump;
  2492.         return $this;
  2493.     }
  2494.     /**
  2495.      * Set idPrestahop
  2496.      *
  2497.      * @param string $idPrestahop
  2498.      *
  2499.      * @return Article
  2500.      */
  2501.     public function setIdPrestahop($idPrestahop)
  2502.     {
  2503.         $this->idPrestahop $idPrestahop;
  2504.         return $this;
  2505.     }
  2506.     /**
  2507.      * Get idPrestahop
  2508.      *
  2509.      * @return string
  2510.      */
  2511.     public function getIdPrestahop()
  2512.     {
  2513.         return $this->idPrestahop;
  2514.     }
  2515.     /**
  2516.      * Set idCombinationPrestahop
  2517.      *
  2518.      * @param string $idCombinationPrestahop
  2519.      *
  2520.      * @return Article
  2521.      */
  2522.     public function setIdCombinationPrestahop($idCombinationPrestahop)
  2523.     {
  2524.         $this->idCombinationPrestahop $idCombinationPrestahop;
  2525.         return $this;
  2526.     }
  2527.     /**
  2528.      * Get idCombinationPrestahop
  2529.      *
  2530.      * @return string
  2531.      */
  2532.     public function getIdCombinationPrestahop()
  2533.     {
  2534.         return $this->idCombinationPrestahop;
  2535.     }
  2536.     public function getOqtonUrn(): ?string
  2537.     {
  2538.         return $this->oqtonUrn;
  2539.     }
  2540.     public function setOqtonUrn(?string $oqtonUrn)
  2541.     {
  2542.         $this->oqtonUrn $oqtonUrn;
  2543.         return $this;
  2544.     }
  2545.     public function isNomenclatureValidee(): ?bool
  2546.     {
  2547.         return $this->nomenclatureValidee;
  2548.     }
  2549.     public function isNonPreparable(): ?bool
  2550.     {
  2551.         return $this->nonPreparable;
  2552.     }
  2553.     public function isStatut(): ?bool
  2554.     {
  2555.         return $this->statut;
  2556.     }
  2557.     public function isUniversel(): ?bool
  2558.     {
  2559.         return $this->universel;
  2560.     }
  2561.     public function isSurPrestashop(): ?bool
  2562.     {
  2563.         return $this->surPrestashop;
  2564.     }
  2565.     public function isEstCommentaire(): ?bool
  2566.     {
  2567.         return $this->est_commentaire;
  2568.     }
  2569.     public function isNumSerieObligatoire(): ?bool
  2570.     {
  2571.         return $this->numSerieObligatoire;
  2572.     }
  2573.     public function isArchive(): ?bool
  2574.     {
  2575.         return $this->archive;
  2576.     }
  2577.     public function isNonStocke(): ?bool
  2578.     {
  2579.         return $this->nonStocke;
  2580.     }
  2581.     public function isNonCommandable(): ?bool
  2582.     {
  2583.         return $this->nonCommandable;
  2584.     }
  2585.     public function isACommander(): ?bool
  2586.     {
  2587.         return $this->aCommander;
  2588.     }
  2589.     public function isASuggerer(): ?bool
  2590.     {
  2591.         return $this->aSuggerer;
  2592.     }
  2593.     public function isAFabriquer(): ?bool
  2594.     {
  2595.         return $this->aFabriquer;
  2596.     }
  2597.     public function isAfficherComposantPdfInterne(): ?bool
  2598.     {
  2599.         return $this->afficherComposantPdfInterne;
  2600.     }
  2601.     public function isAfficherComposantPdfExterne(): ?bool
  2602.     {
  2603.         return $this->afficherComposantPdfExterne;
  2604.     }
  2605.     public function isVirtuel(): ?bool
  2606.     {
  2607.         return $this->virtuel;
  2608.     }
  2609.     public function isMajPrix(): ?bool
  2610.     {
  2611.         return $this->majPrix;
  2612.     }
  2613.     public function isAConsigner(): ?bool
  2614.     {
  2615.         return $this->aConsigner;
  2616.     }
  2617.     public function isConsigne(): ?bool
  2618.     {
  2619.         return $this->consigne;
  2620.     }
  2621.     public function isStockAuto(): ?bool
  2622.     {
  2623.         return $this->stockAuto;
  2624.     }
  2625.     public function isArretGamme(): ?bool
  2626.     {
  2627.         return $this->arretGamme;
  2628.     }
  2629.     public function isProduitInterne(): ?bool
  2630.     {
  2631.         return $this->produitInterne;
  2632.     }
  2633.     public function isTemporaire(): ?bool
  2634.     {
  2635.         return $this->temporaire;
  2636.     }
  2637.     public function isMainOeuvre(): ?bool
  2638.     {
  2639.         return $this->mainOeuvre;
  2640.     }
  2641.     public function isPrestation(): ?bool
  2642.     {
  2643.         return $this->prestation;
  2644.     }
  2645.     public function isDivers(): ?bool
  2646.     {
  2647.         return $this->divers;
  2648.     }
  2649.     public function isDiversComposes(): ?bool
  2650.     {
  2651.         return $this->diversComposes;
  2652.     }
  2653.     public function isDeclinaison(): ?bool
  2654.     {
  2655.         return $this->declinaison;
  2656.     }
  2657.     public function isMouvemente(): ?bool
  2658.     {
  2659.         return $this->mouvemente;
  2660.     }
  2661.     public function isMajPoids(): ?bool
  2662.     {
  2663.         return $this->majPoids;
  2664.     }
  2665.     public function isMajPrixBase(): ?bool
  2666.     {
  2667.         return $this->majPrixBase;
  2668.     }
  2669.     public function isMajComposes(): ?bool
  2670.     {
  2671.         return $this->majComposes;
  2672.     }
  2673.     public function isMajDispo(): ?bool
  2674.     {
  2675.         return $this->majDispo;
  2676.     }
  2677.     public function isMajCapaciteProd(): ?bool
  2678.     {
  2679.         return $this->majCapaciteProd;
  2680.     }
  2681.     public function isAPublier(): ?bool
  2682.     {
  2683.         return $this->aPublier;
  2684.     }
  2685.     public function setAPublier(?bool $aPublier): self
  2686.     {
  2687.         $this->aPublier $aPublier;
  2688.         return $this;
  2689.     }
  2690.     public function getDateAPublier(): ?\DateTimeInterface
  2691.     {
  2692.         return $this->dateAPublier;
  2693.     }
  2694.     public function setDateAPublier(?\DateTimeInterface $dateAPublier): self
  2695.     {
  2696.         $this->dateAPublier $dateAPublier;
  2697.         return $this;
  2698.     }
  2699.     public function getCaisse(): ?Caisse
  2700.     {
  2701.         return $this->caisse;
  2702.     }
  2703.     public function setCaisse(?Caisse $caisse): self
  2704.     {
  2705.         $this->caisse $caisse;
  2706.         return $this;
  2707.     }
  2708.     public function getOqtonMaterialUrn(): ?string
  2709.     {
  2710.         return $this->oqtonMaterialUrn;
  2711.     }
  2712.     public function setOqtonMaterialUrn(?string $oqtonMaterialUrn): self
  2713.     {
  2714.         $this->oqtonMaterialUrn $oqtonMaterialUrn;
  2715.         return $this;
  2716.     }
  2717.     public function getFinition(): ?Finition
  2718.     {
  2719.         return $this->finition;
  2720.     }
  2721.     public function setFinition(?Finition $finition): self
  2722.     {
  2723.         $this->finition $finition;
  2724.         return $this;
  2725.     }
  2726.     public function getDateProchaineDispo(): ?\DateTimeInterface
  2727.     {
  2728.         return $this->dateProchaineDispo;
  2729.     }
  2730.     public function setDateProchaineDispo(?\DateTimeInterface $dateProchaineDispo): self
  2731.     {
  2732.         $this->dateProchaineDispo $dateProchaineDispo;
  2733.         return $this;
  2734.     }
  2735.     public function getPosition(): ?int
  2736.     {
  2737.         return $this->position;
  2738.     }
  2739.     public function setPosition(?int $position): self
  2740.     {
  2741.         $this->position $position;
  2742.         return $this;
  2743.     }
  2744. }