from datetime import datetime
from typing import List, Optional

from sqlmodel import Column, DateTime, Field, Relationship, SQLModel


class ObserverBase(SQLModel):
    phone: str
    email: str

    class Config:
        anystr_strip_whitespace = True
        anystr_lower = True


class Observer(ObserverBase, table=True):
    id: Optional[int] = 