16 lines
415 B
Python
16 lines
415 B
Python
|
from db.db import Base
|
||
|
from sqlalchemy.orm import Mapped, mapped_column
|
||
|
|
||
|
class RecyclingParameters(Base):
|
||
|
__tablename__ = 'RecyclingParameters'
|
||
|
|
||
|
id: Mapped[int] = mapped_column(primary_key=True)
|
||
|
load_id: Mapped[int]
|
||
|
recycling_level: Mapped[int]
|
||
|
co2: Mapped[float]
|
||
|
n2: Mapped[float]
|
||
|
h2o: Mapped[float]
|
||
|
o2: Mapped[float]
|
||
|
|
||
|
def __repr__(self):
|
||
|
return f"<RecyclingParameters>"
|