from sqlalchemy import Column, Integer, String, DateTime, SmallInteger
from src.infrastructure.models.user_model import Base


class MerchantCategoryModel(Base):
    """SQLAlchemy ORM model mapping to 'merchant_category' table."""

    __tablename__ = "merchant_category"

    id = Column(Integer, primary_key=True)
    name = Column(String(191))
    status = Column(Integer)
    created_at = Column(DateTime)
    updated_at = Column(DateTime)
    receive_application = Column(SmallInteger)
