16 lines
425 B
Python
16 lines
425 B
Python
from base import Base
|
|
from sqlalchemy.orm import Mapped, mapped_column
|
|
|
|
class ExperimentData(Base):
|
|
__tablename__ = 'experiment_data'
|
|
|
|
id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True)
|
|
direction: Mapped[float]
|
|
temperature: Mapped[float]
|
|
nox: Mapped[float]
|
|
co2: Mapped[float]
|
|
co: Mapped[float]
|
|
file_id: Mapped[str]
|
|
|
|
def __repr__(self):
|
|
return f"<ExperimentData>" |