from sqlalchemy import Column
from sqlalchemy.sql.schema import ForeignKey
from sqlalchemy.sql.sqltypes import Integer, String
from .base import Base
from .product import Product
from .milk_type import MilkType


class SubProduct(Base):
    __tablename__ = "sub_product"

    id = Column(Integer, primary_key=True)
    name = Column(String(500))
    product_id = Column(ForeignKey(Product.id))
    guid = Column(String(36))
    last = Column(Integer)
    milk_type_id = Column(ForeignKey(MilkType.id))
    uuid = Column(String(36))
    code = Column(String(25))

f9000b3b7622dc5c959fcf7b37c2563d739d7f91
<mask token>

<mask token>


class SubProduct(Base):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class SubProduct(Base):
    __tablename__ = 'sub_product'
    id = Column(Integer, primary_key=True)
    name = Column(String(500))
    product_id = Column(ForeignKey(Product.id))
    guid = Column(String(36))
    last = Column(Integer)
    milk_type_id = Column(ForeignKey(MilkType.id))
    uuid = Column(String(36))
    code = Column(String(25))

from sqlalchemy import Column
from sqlalchemy.sql.schema import ForeignKey
from sqlalchemy.sql.sqltypes import Integer, String
from .base import Base
from .product import Product
from .milk_type import MilkType


class SubProduct(Base):
    __tablename__ = 'sub_product'
    id = Column(Integer, primary_key=True)
    name = Column(String(500))
    product_id = Column(ForeignKey(Product.id))
    guid = Column(String(36))
    last = Column(Integer)
    milk_type_id = Column(ForeignKey(MilkType.id))
    uuid = Column(String(36))
    code = Column(String(25))

from sqlalchemy import Column
from sqlalchemy.sql.schema import ForeignKey
from sqlalchemy.sql.sqltypes import Integer, String
from .base import Base
from .product import Product
from .milk_type import MilkType


class SubProduct(Base):
    __tablename__ = "sub_product"

    id = Column(Integer, primary_key=True)
    name = Column(String(500))
    product_id = Column(ForeignKey(Product.id))
    guid = Column(String(36))
    last = Column(Integer)
    milk_type_id = Column(ForeignKey(MilkType.id))
    uuid = Column(String(36))
    code = Column(String(25))
