def acs_ind(cls): return db.Column(db.String(), db.ForeignKey(AcsInd.id), primary_key=True)
def birthplace(cls): return db.Column(db.String(), db.ForeignKey(PumsBirthplace.id), primary_key=True)
def language(cls): return db.Column(db.String(), db.ForeignKey(AcsLanguage.id), primary_key=True)
def wage_bin(cls): return db.Column(db.String(), db.ForeignKey(PumsWage.id), primary_key=True)
def sex(cls): return db.Column(db.String(), db.ForeignKey(PumsSex.id), primary_key=True)
def degree(cls): return db.Column(db.String(), db.ForeignKey(PumsDegree.id), primary_key=True)
def naics(cls): return db.Column(db.String(), db.ForeignKey(PumsNaics.id), primary_key=True)
def cip(cls): return db.Column(db.String(), db.ForeignKey(Cip.id), primary_key=True)
def geo(cls): return db.Column(db.String(), db.ForeignKey(Geo.id), primary_key=True)
def skill(cls): return db.Column(db.String(), db.ForeignKey(Skill.id), primary_key=True)
def acs_occ(cls): return db.Column(db.String(), db.ForeignKey(AcsOcc.id), primary_key=True)
class GeoNeighbors(db.Model): __tablename__ = 'geo_neighbors' __table_args__ = {"schema": "attrs"} geo = db.Column(db.String, db.ForeignKey(Geo.id), primary_key=True) neighbor = db.Column(db.String, db.ForeignKey(Geo.id), primary_key=True)