データクラスしたい(pydantic

1from pydantic import BaseModel

リファレンス