kenken999's picture
fda
0f43f8a
raw
history blame
228 Bytes
from dataclasses import dataclass
@dataclass
class User:
id: int
name: str
email: str
def __init__(self, id: int, name: str, email: str):
self.id = id
self.name = name
self.email = email