feat(backend): Question- en AnswerRepository aangemaakt.
Ook functie toegevoegd om submissies te verwijderen.
This commit is contained in:
parent
2837618fd5
commit
71843dad65
5 changed files with 73 additions and 2 deletions
|
@ -20,7 +20,7 @@ export class Question {
|
|||
author!: Student;
|
||||
|
||||
@Property({type: "datetime"})
|
||||
timestamp!: Date;
|
||||
timestamp: Date = new Date();
|
||||
|
||||
@Property({type: "text"})
|
||||
content!: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue