PamGram/modules/wiki/models/phone_theme.py
2024-03-29 23:14:24 +08:00

24 lines
350 B
Python

from typing import Optional, List
from pydantic import BaseModel
class PhoneTheme(BaseModel):
id: int
"""ID"""
name: str
"""名称"""
description: str
"""描述"""
story: Optional[str] = None
"""故事"""
urls: List[str]
# 原始数据
class PhoneThemeConfig(BaseModel):
ID: int
PhoneThemeMain: str