This commit is contained in:
ditiqi 2025-02-26 22:03:18 +08:00
parent 5872f4b728
commit 4ec92966ab
2 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,7 @@ model Staff {
posts Post[]
learningPost Post[] @relation("post_student")
learningPosts Post[] @relation("post_student")
sentMsgs Message[] @relation("message_sender")
receivedMsgs Message[] @relation("message_receiver")
registerToken String?

View File

@ -83,4 +83,5 @@ export type CourseDto = Course & {
terms: TermDto[];
lectureCount?: number;
depts: Department[];
studentIds: string[];
};