from pydantic import BaseModel class PinDTO(BaseModel): title: str description: str location: list files: list user_id: str class PinShareDTO(BaseModel): friend_id: str