feat: add agreements foundation
This commit is contained in:
@@ -23,6 +23,7 @@ class Project(Base):
|
||||
# Relationships
|
||||
boq_documents = relationship("BoqDocument", back_populates="project")
|
||||
systems = relationship("System", back_populates="project")
|
||||
agreements = relationship("Agreement", back_populates="project", cascade="all, delete-orphan")
|
||||
|
||||
def __repr__(self):
|
||||
return f"<Project(id={self.id}, name='{self.name}')>"
|
||||
return f"<Project(id={self.id}, name='{self.name}')>"
|
||||
|
||||
Reference in New Issue
Block a user