from sqlalchemy import Column, Integer, String
from sqlalchemy.orm import relationship

from database import Base


class Gender(Base):
    __tablename__ = "genders"

    id = Column(Integer, primary_key=True)
    name = Column(String(64), nullable=False)
    option = Column(String(100), nullable=False)

    participants = relationship("Participant", back_populates="gender")

7468e08c019a3a65344f58f04a370d2d1eed29e2
<mask token>

<mask token>


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

<mask token>


class Gender(Base):
    __tablename__ = 'genders'
    id = Column(Integer, primary_key=True)
    name = Column(String(64), nullable=False)
    option = Column(String(100), nullable=False)
    participants = relationship('Participant', back_populates='gender')

from sqlalchemy import Column, Integer, String
from sqlalchemy.orm import relationship
from database import Base


class Gender(Base):
    __tablename__ = 'genders'
    id = Column(Integer, primary_key=True)
    name = Column(String(64), nullable=False)
    option = Column(String(100), nullable=False)
    participants = relationship('Participant', back_populates='gender')

from sqlalchemy import Column, Integer, String
from sqlalchemy.orm import relationship

from database import Base


class Gender(Base):
    __tablename__ = "genders"

    id = Column(Integer, primary_key=True)
    name = Column(String(64), nullable=False)
    option = Column(String(100), nullable=False)

    participants = relationship("Participant", back_populates="gender")
