from typing import Optional
from sqlmodel import Field, SQLModel, Field
from pydantic import validator
from datetime import datetime, date
from fastapi import HTTPException
import re


class AppUser(SQLModel, table=True):
    """Create an SQLModel for users"""

    id: Optional[int] = 