feat: POST method voor assignment geimplementeerd

This commit is contained in:
Adriaan Jacquet 2025-03-13 14:39:12 +01:00
parent 3e2c73320b
commit a1aaf342d7
5 changed files with 81 additions and 5 deletions

View file

@ -25,8 +25,8 @@ export class Assignment {
})
within!: Class;
@PrimaryKey({ type: 'number' })
id!: number;
@PrimaryKey({ type: 'number', autoincrement: true })
id?: number;
@Property({ type: 'string' })
title!: string;