# -*- coding: utf-8 -*-

from datetime import datetime
from typing import Optional

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


class Device(SQLModel, table=True):  # type: ignore
    """The Device model.

    It is used to model a device.
    """

    # setup the primary key of the table
    uuid: str = 