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

14 lines
422 B
Python
Raw Normal View History

from base import Base
2024-10-14 16:57:57 +04:00
from sqlalchemy.orm import Mapped, mapped_column
class LoadParameters(Base):
__tablename__ = 'LoadParameters'
id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True)
2024-10-14 16:57:57 +04:00
load: Mapped[int]
primary_air_consumption: Mapped[float]
secondary_air_consumption: Mapped[float]
gas_inlet_consumption: Mapped[float]
def __repr__(self):
return f"<LoadParameters>"