Initial commit: ICU Patient Display Management System
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
from sqlalchemy import Column, Integer, String, ForeignKey
|
||||
from sqlalchemy.orm import relationship
|
||||
from .base import Base
|
||||
|
||||
class ICURoom(Base):
|
||||
__tablename__ = "icu_rooms"
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True)
|
||||
room_number = Column(String(50), nullable=False)
|
||||
ward = Column(String(100), nullable=False)
|
||||
|
||||
hospital_id = Column(Integer, ForeignKey("hospitals.id"))
|
||||
display_id = Column(Integer, ForeignKey("display_devices.id"), nullable=True)
|
||||
Reference in New Issue
Block a user