from sqlalchemy import Column, String, Integer, Boolean, Date, Text, DateTime, Float, JSON
from lib.Stech import Stech

class AnunciosApp(Stech.Base):
    __tablename__ = 'anuncios_app'

    id_anuncio = Column(Integer, primary_key=True, autoincrement=True)
    nombre_anuncio = Column(String(255))
    tipo_anuncio = Column(String(255))
    activo_anuncio = Column(Boolean())
    data_anuncio = Column(JSON())
    vigencia_anuncio = Column(Date())
    creado_en = Column(DateTime())
    actualizado_en = Column(DateTime())
