from pydantic import BaseModel
from typing import Optional
from uuid import UUID
from datetime import datetime
from app.models.report import ReportStatus

class ReportCreate(BaseModel):
    message: str

class ReportUpdate(BaseModel):
    status: ReportStatus

class ReportResponse(BaseModel):
    id: UUID
    user_id: Optional[UUID] = None
    user_name: Optional[str] = None
    message: str
    status: ReportStatus
    created_at: datetime

    class Config:
        from_attributes = True
