23 lines
533 B
Python
23 lines
533 B
Python
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]
|
|
|