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
				
			
		|  | @ -15,7 +15,7 @@ export class Answer { | |||
|     sequenceNumber!: number; | ||||
| 
 | ||||
|     @Property({type: "datetime"}) | ||||
|     timestamp!: Date; | ||||
|     timestamp: Date = new Date(); | ||||
| 
 | ||||
|     @Property({type: "text"}) | ||||
|     content!: string; | ||||
|  |  | |||
|  | @ -20,7 +20,7 @@ export class Question { | |||
|     author!: Student; | ||||
| 
 | ||||
|     @Property({type: "datetime"}) | ||||
|     timestamp!: Date; | ||||
|     timestamp: Date = new Date(); | ||||
| 
 | ||||
|     @Property({type: "text"}) | ||||
|     content!: string; | ||||
|  |  | |||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger