mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 06:48:02 +01:00
24 lines
361 B
Python
24 lines
361 B
Python
from pydantic import BaseModel
|
|
|
|
class Forms(BaseModel):
|
|
id: str
|
|
wallet: str
|
|
name: str
|
|
webhook: str
|
|
description: str
|
|
amount: int
|
|
flatrate: int
|
|
amountmade: int
|
|
time: int
|
|
|
|
|
|
class Tickets(BaseModel):
|
|
id: str
|
|
form: str
|
|
email: str
|
|
ltext: str
|
|
name: str
|
|
wallet: str
|
|
sats: int
|
|
paid: bool
|
|
time: int
|