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

16 lines
387 B
Python
Raw Normal View History

from db.models.base import Base, int_pk_incr
from sqlalchemy.orm import Mapped
2024-10-14 16:57:57 +04:00
class LoadParameters(Base):
__tablename__ = 'load_parameters'
2024-10-14 16:57:57 +04:00
id: Mapped[int_pk_incr]
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>"