This commit is contained in:
Eden Kirin
2023-08-26 12:46:19 +02:00
parent 97be2871d4
commit f4882cfb0c
8 changed files with 295 additions and 2 deletions

0
service/orm/__init__.py Normal file
View File

10
service/orm/machine.py Normal file
View File

@ -0,0 +1,10 @@
from sqlalchemy.orm import Mapped, mapped_column
from service.database import ORMBase
class MachineORM(ORMBase):
__tablename__ = "machines"
id: Mapped[int] = mapped_column(primary_key=True)
caption: Mapped[str]