16 lines
405 B
Python
16 lines
405 B
Python
|
from db.db import Base
|
||
|
from sqlalchemy.orm import Mapped, mapped_column
|
||
|
|
||
|
class ExperimentData(Base):
|
||
|
__tablename__ = 'ExperimentData'
|
||
|
|
||
|
id: Mapped[int] = mapped_column(primary_key=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>"
|