class Notification: """ Notification model """ def __init__(self,id: int = 0,timestamp: int = 0,device_name: str = "",token: str = "",title: str = "",content: str = "") -> None: self.id: int = id self.timestamp: int = timestamp self.device_name: str = device_name self.token: str = token self.title: str = title self.content: str = content def __str__(self) -> str: return f"{self.id} {self.timestamp} {self.device_name} {self.token}"