feat: improve products & subscriptions page

This commit is contained in:
swve 2024-10-17 22:35:04 +02:00
parent c762d2333e
commit 412651e817
8 changed files with 380 additions and 195 deletions

View file

@ -13,6 +13,7 @@ class PaymentsProductBase(SQLModel):
product_type: PaymentProductTypeEnum = PaymentProductTypeEnum.ONE_TIME
benefits: str = ""
amount: float = 0.0
currency: str = "USD"
class PaymentsProduct(PaymentsProductBase, table=True):
id: Optional[int] = Field(default=None, primary_key=True)