Initial
This commit is contained in:
10
service/orm/machine.py
Normal file
10
service/orm/machine.py
Normal 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]
|
||||
Reference in New Issue
Block a user