You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
api/app/dto/pin.py

11 lines
223 B

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