from typing import TYPE_CHECKING

from pydantic import validator
from sqlalchemy import Column, ForeignKey, Integer, String
from sqlmodel import Field, Relationship, SQLModel

if TYPE_CHECKING:
    from .event import Event, EventList
    from .participant import Participant, ParticipantList


class FeedbackBase(SQLModel):
    presentation: int
    content: int
    interest: int

    comments: str = Field(default="", nullable=False)
    again: bool = 