9 lines
247 B
Python
9 lines
247 B
Python
from typing import Dict
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class PlMenuBadgeStatsRead(BaseModel):
|
|
counts: Dict[str, int] = Field(default_factory=dict, description="menuCode -> 待办数量")
|
|
model_config = {"populate_by_name": True}
|