PIbd-42_SSPR/db/models/experiment_parameters_model.py

17 lines
502 B
Python

from db.db import Base
from sqlalchemy.orm import Mapped, mapped_column
class ExperimentParameters(Base):
__tablename__ = 'ExperimentParameters'
id: Mapped[int] = mapped_column(primary_key=True)
outer_blades_count: Mapped[int]
outer_blades_length: Mapped[float]
outer_blades_angle: Mapped[float]
middle_blades_count: Mapped[int]
load_id: Mapped[int]
recycling_id: Mapped[int]
experiment_hash: Mapped[str]
def __repr__(self):
return f"<LoadParameters>"