Added addittonal section to the schema. Can now add RoomTypes but they are optional
This commit is contained in:
@@ -127,6 +127,10 @@ class Reservation(Base):
|
||||
# Add hotel_code and hotel_name for XML
|
||||
hotel_code = Column(String)
|
||||
hotel_name = Column(String)
|
||||
# RoomTypes fields (optional)
|
||||
room_type_code = Column(String)
|
||||
room_classification_code = Column(String)
|
||||
room_type = Column(String)
|
||||
customer = relationship("Customer", back_populates="reservations")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user