0ptr/models/system.py

14 lines
252 B
Python
Raw Normal View History

from sqlalchemy import Column, String, Integer, Date
from base import Base
class System(Base):
__tablename__ = 'systems'
id = Column(Integer, primary_key=True)
symbol = Column(String)
def __init__(self, symbol):
self.symbol = symbol