feat: add agreements foundation

This commit is contained in:
Александр Арсентьев
2026-09-25 18:41:08 +03:00
parent 2376778828
commit d0b5745f8f
14 changed files with 697 additions and 61 deletions
+2 -1
View File
@@ -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}')>"