7 lines
190 B
TypeScript
7 lines
190 B
TypeScript
|
|
import { Course, Enrollment } from "@prisma/client";
|
||
|
|
import { SectionDto } from "./section";
|
||
|
|
|
||
|
|
export type CourseDto = Course & {
|
||
|
|
enrollments: Enrollment[];
|
||
|
|
sections: SectionDto[];
|
||
|
|
};
|