fix: Logica vragen stellen gecorrigeerd (WIP)
This commit is contained in:
parent
1d9141bab7
commit
8edd4f0225
5 changed files with 17 additions and 21 deletions
|
@ -6,6 +6,9 @@ import { Group } from '../assignments/group.entity.js';
|
|||
|
||||
@Entity({ repository: () => QuestionRepository })
|
||||
export class Question {
|
||||
@PrimaryKey({ type: 'integer', autoincrement: true })
|
||||
sequenceNumber?: number;
|
||||
|
||||
@PrimaryKey({ type: 'string' })
|
||||
learningObjectHruid!: string;
|
||||
|
||||
|
@ -18,9 +21,6 @@ export class Question {
|
|||
@PrimaryKey({ type: 'number' })
|
||||
learningObjectVersion = 1;
|
||||
|
||||
@PrimaryKey({ type: 'integer', autoincrement: true })
|
||||
sequenceNumber?: number;
|
||||
|
||||
@ManyToOne({ entity: () => Group })
|
||||
inGroup!: Group;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue