'Utilisateur', 'id_producer' => 'Producteur', 'active' => 'Actif', 'bookmark' => 'Favoris', 'credit_active' => 'Cagnotte', 'product_price_percent' => 'Prix produits : pourcentage', 'trust_alert' => 'Alert confiance', 'trust_alert_comment' => 'Commentaire', 'exclusive_access_selected_points_sale' => "Accès exclusif aux points de vente sélectionnés" ]; } public function getProducer() { return $this->hasOne(Producer::class, ['id' => 'id_producer']); } public function populateProducer(Producer $producer): void { $this->populateFieldObject('id_producer', 'producer', $producer); } public function getUser() { return $this->hasOne(User::class, ['id' => 'id_user']); } public function populateUser(User $user): void { $this->populateFieldObject('id_user', 'user', $user); } public function getIdUser(): int { return $this->id_user; } public function setIdUser(int $idUser): self { $this->id_user = $idUser; return $this; } public function getIdProducer(): int { return $this->id_producer; } public function setIdProducer(int $idProducer): self { $this->id_producer = $idProducer; return $this; } public function getActive(): ?bool { return $this->active; } public function setActive(bool $active): self { $this->active = $active; return $this; } public function getBookmark(): ?bool { return $this->bookmark; } public function setBookmark(bool $bookmark): self { $this->bookmark = $bookmark; return $this; } public function getNewsletter(): ?bool { return $this->newsletter; } public function setNewsletter(bool $newsletter): self { $this->newsletter = $newsletter; return $this; } public function getNewsletterOrderTaking(): ?bool { return $this->newsletter_order_taking; } public function setNewsletterOrderTaking(bool $newsletterOrderTaking): self { $this->newsletter_order_taking = $newsletterOrderTaking; return $this; } public function getCredit(): float { return $this->credit; } public function setCredit(float $credit): self { $this->credit = $credit; return $this; } public function getCreditActive(): ?bool { return $this->credit_active; } public function setCreditActive(bool $creditActive): self { $this->credit_active = $creditActive; return $this; } public function getProductPricePercent(): float { return $this->product_price_percent; } public function setProductPricePercent(float $productPricePercent): self { $this->product_price_percent = $productPricePercent; return $this; } public function getExclusiveAccessSelectedPointsSale(): ?bool { return $this->exclusive_access_selected_points_sale; } public function setExclusiveAccessSelectedPointsSale(?bool $exclusiveAccessSelectedPointsSale): self { $this->exclusive_access_selected_points_sale = $exclusiveAccessSelectedPointsSale; return $this; } }