ynh_extension_meeo/libs/bulletin/Note.lib.php
2024-07-20 09:15:55 +02:00

27 lines
No EOL
463 B
PHP

<?php
namespace YesWiki\Meeo\Bulletin;
class Note {
private $intitule;
private $note;
private $coef;
public function __construct(string $intitule, int $note, float $coef = 1.0) {
$this->intitule = $intitule;
$this->note = $note;
$this->coef = $coef;
}
public function getIntitule() {
return $this->intitule;
}
public function getNote() {
return $this->note;
}
public function getCoef() {
return $this->coef;
}
}