diff --git a/backend/model/tribe.py b/backend/model/tribe.py index 4b33183..bb1b713 100644 --- a/backend/model/tribe.py +++ b/backend/model/tribe.py @@ -25,3 +25,9 @@ class Tribe: if isinstance(other, Tribe): return self.name == other.name return False + + def __repr__(self) -> str: + return f"" + + def to_dict(self) -> dict: + return {"name": self.name, "level": self.level}