kenken999's picture
test
df50319
raw
history blame
261 Bytes
from dataclasses import dataclass
@dataclass
class Account:
id: int
user_id: int
balance: float
def __init__(self, id: int, user_id: int, balance: float = 0.0):
self.id = id
self.user_id = user_id
self.balance = balance