Untitled

 avatar
unknown
plain_text
a year ago
497 B
5
Indexable
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)
Editor is loading...
Leave a Comment