|
|
|
|
@ -29,7 +29,7 @@ class GradebookResultAttempt |
|
|
|
|
/** |
|
|
|
|
* @ORM\Column(name="comment", type="text", nullable=true) |
|
|
|
|
*/ |
|
|
|
|
protected ?bool $comment = null; |
|
|
|
|
protected ?string $comment = null; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @ORM\Column(name="score", type="float", nullable=true) |
|
|
|
|
@ -41,4 +41,45 @@ class GradebookResultAttempt |
|
|
|
|
* @ORM\JoinColumn(name="result_id", referencedColumnName="id", onDelete="CASCADE") |
|
|
|
|
*/ |
|
|
|
|
protected GradebookResult $result; |
|
|
|
|
|
|
|
|
|
public function getId(): int |
|
|
|
|
{ |
|
|
|
|
return $this->id; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function getComment(): ?string |
|
|
|
|
{ |
|
|
|
|
return $this->comment; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function setComment(?string $comment): self |
|
|
|
|
{ |
|
|
|
|
$this->comment = $comment; |
|
|
|
|
|
|
|
|
|
return $this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function getScore(): ?float |
|
|
|
|
{ |
|
|
|
|
return $this->score; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function setScore(?float $score): self |
|
|
|
|
{ |
|
|
|
|
$this->score = $score; |
|
|
|
|
|
|
|
|
|
return $this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function getResult(): GradebookResult |
|
|
|
|
{ |
|
|
|
|
return $this->result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function setResult(GradebookResult $result): self |
|
|
|
|
{ |
|
|
|
|
$this->result = $result; |
|
|
|
|
|
|
|
|
|
return $this; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|