from sqlalchemy import Column, Integer, String
from infrastructure.adapters.persistence.db import Base

class UserModel(Base):
    __tablename__ = "users"

    user_id = Column(Integer, primary_key=True, index=True)
    name    = Column(String, unique=False, index=True)
    email   = Column(String, unique=True, index=True)
    phone   = Column(String, unique=True, index=True)