Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
497 B
2
Indexable
Never
from sqlalchemy import (
    Integer,
    Column,
    String,
    Index,
    Boolean,
    Null
)
from ..db_setup import Base

class MSILLine(Base):
    __tablename__ = 'iot-prodigi-msil-line'
    __table_args__ = {'extend_existing': True}
    id = Column(Integer, primary_key = True)
    name = Column(String)
    description = Column(String)
    is_subline = Column(Boolean, default=False)
    shop_id = Column(Integer, index=True)
    parent_line = Column(Integer,default=None)
Leave a Comment