from pydantic import BaseModel, ConfigDict class AttachmentPointNameBase(BaseModel): name: str class AttachmentPointNameCreate(AttachmentPointNameBase): pass class AttachmentPointNameUpdate(BaseModel): name: str | None = None class AttachmentPointNameRead(AttachmentPointNameBase): model_config = ConfigDict(from_attributes=True) id: int