lnbits-legend/lnbits/extensions/lnticket/models.py
2020-08-10 19:06:56 +01:00

24 lines
332 B
Python

from typing import NamedTuple
class Forms(NamedTuple):
id: str
wallet: str
name: str
description: str
costpword: int
amountmade: int
time: int
class Tickets(NamedTuple):
id: str
paid: bool
form: str
email: str
ltext: str
name: str
wallet: str
sats: int
time: int