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

21 lines
531 B
Python
Raw Normal View History

from db.models.base import Base, int_pk_incr
from sqlalchemy.orm import Mapped
2024-10-14 19:49:54 +04:00
class ChExperimentDBExperimentData(Base):
__tablename__ = 'ch_experimentdb_experiment_data'
2024-10-14 19:49:54 +04:00
id: Mapped[int_pk_incr]
volume: Mapped[float]
nitrogen_oxide_emission: Mapped[float]
temperature: Mapped[float]
co_fraction: Mapped[float]
co2_fraction: Mapped[float]
x: Mapped[float]
y: Mapped[float]
z: Mapped[float]
file_id: Mapped[str]
2024-10-14 19:49:54 +04:00
def __repr__(self):
return f"<ChExperimentDBExperimentData>"