feat: POST method voor assignment geimplementeerd
This commit is contained in:
parent
3e2c73320b
commit
a1aaf342d7
5 changed files with 81 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue