Рефакторинг проекта: разделение на модули, улучшенный интерфейс, обработка Excel

This commit is contained in:
2025-08-04 00:31:05 +05:00
parent 059f174dd5
commit a882a81180
22 changed files with 1936 additions and 530 deletions

View File

@@ -0,0 +1,14 @@
"""
Модель для хранения информации о кадастровом номере.
"""
class CadastralRecord:
def __init__(self, number: str, file_path: str):
self.number = number
self.file_path = file_path
def __str__(self):
return f"Кадастровый номер: {self.number}, файл: {self.file_path}"
def __repr__(self):
return f"CadastralRecord('{self.number}', '{self.file_path}')"