PamGram/modules/wiki/models/phone_theme.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
350 B
Python
Raw Normal View History

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