This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
17 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from dataclasses import dataclass | ||
|
||
from domain.models.base_model import JsonRepresentable | ||
from domain.models.UserDataclass import UserDataclass | ||
|
||
|
||
@dataclass() | ||
class AdminDataclass(JsonRepresentable): | ||
id: int | ||
class AdminDataclass(UserDataclass): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from dataclasses import dataclass | ||
|
||
from domain.models.base_model import JsonRepresentable | ||
from domain.models.UserDataclass import UserDataclass | ||
|
||
|
||
@dataclass() | ||
class StudentDataclass(JsonRepresentable): | ||
id: int | ||
class StudentDataclass(UserDataclass): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from dataclasses import dataclass | ||
|
||
from domain.models.base_model import JsonRepresentable | ||
from domain.models.UserDataclass import UserDataclass | ||
|
||
|
||
@dataclass() | ||
class TeacherDataclass(JsonRepresentable): | ||
id: int | ||
class TeacherDataclass(UserDataclass): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters