from sqlalchemy import Column, Integer, String
from .base import Base


class DomesticBondMaster(Base):
    """국내채권 마스터"""
    __tablename__ = 'domestic_bond_master'
    
    id = Column(Integer, primary_key=True)
    name = Column(String(50), index=True)  # 종목명
    code = Column(String(50), index=True)  # 종목코드
    ex = Column(String(30), index=True)    # 거래소 코드
