changes of column import and add serialize table column fild show as per sheet

This commit is contained in:
2026-01-09 15:22:32 +05:30
parent bdd7312a5e
commit fe9b056128
12 changed files with 269 additions and 170 deletions

View File

@@ -62,3 +62,6 @@ class ManholeExcavation(db.Model):
def __repr__(self):
return f"<HanholeExcavation {self.Location}>"
def serialize(self):
return {c.name: getattr(self, c.name) for c in self.__table__.columns}