2024-07-13 18:39:43 +00:00
|
|
|
<?php
|
|
|
|
|
2024-07-20 07:15:55 +00:00
|
|
|
namespace YesWiki\Meeo\Bulletin;
|
2024-07-13 18:39:43 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|