first commit
This commit is contained in:
22
backend/app/schemas/marketing_card.py
Normal file
22
backend/app/schemas/marketing_card.py
Normal file
@@ -0,0 +1,22 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
||||
from app.schemas.common import ApiModel, ItemListResponse
|
||||
|
||||
|
||||
class MarketingCardRead(ApiModel):
|
||||
id: str
|
||||
card_name: str | None = None
|
||||
card_code: str | None = None
|
||||
origin: str | None = None
|
||||
landing_page: str | None = None
|
||||
coupon_code_url: str | None = None
|
||||
start_date: str | None = None
|
||||
end_date: str | None = None
|
||||
ose_user_updated: str | None = None
|
||||
|
||||
|
||||
class MarketingCardListResponse(ItemListResponse):
|
||||
items: list[MarketingCardRead]
|
||||
|
||||
Reference in New Issue
Block a user