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

14 lines
413 B
Python

from db.models.base import Base
from sqlalchemy.orm import Mapped, mapped_column
class LoadParameters(Base):
__tablename__ = 'load_parameters'
id: Mapped[int] = mapped_column(primary_key=True)
load: Mapped[int]
primary_air_consumption: Mapped[float]
secondary_air_consumption: Mapped[float]
gas_inlet_consumption: Mapped[float]
def __repr__(self):
return f"<LoadParameters>"