'Utilisateur', 'id_user_group' => 'Groupe' ]; } public function getPointSale() { return $this->hasOne(PointSale::class, ['id' => 'id_point_sale']); } public function populatePointSale(PointSale $pointSale): void { $this->populateFieldObject('id_point_sale', 'pointSale', $pointSale); } }