from db import Base
from sqlalchemy import Column, ForeignKey, Integer, String
from sqlalchemy.orm import relationship
from .Location import Location
from .Organization import Organization


class Person(Base):
    __tablename__ = 'person'
    id = Column(Integer, primary_key=True)
    name = Column(String(50))
    location_id = Column(Integer, ForeignKey('location.id'))
    organization_id = Column(Integer, ForeignKey('organization.id'))
    phone_number = Column(Integer)
    location = relationship(Location)
    organization = relationship(Organization)

425c6baf62b65a5afa7b96c71b55d1cd5ac59ed8
<mask token>

<mask token>


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

<mask token>


class Person(Base):
    __tablename__ = 'person'
    id = Column(Integer, primary_key=True)
    name = Column(String(50))
    location_id = Column(Integer, ForeignKey('location.id'))
    organization_id = Column(Integer, ForeignKey('organization.id'))
    phone_number = Column(Integer)
    location = relationship(Location)
    organization = relationship(Organization)

from db import Base
from sqlalchemy import Column, ForeignKey, Integer, String
from sqlalchemy.orm import relationship
from .Location import Location
from .Organization import Organization


class Person(Base):
    __tablename__ = 'person'
    id = Column(Integer, primary_key=True)
    name = Column(String(50))
    location_id = Column(Integer, ForeignKey('location.id'))
    organization_id = Column(Integer, ForeignKey('organization.id'))
    phone_number = Column(Integer)
    location = relationship(Location)
    organization = relationship(Organization)
