db_interactor/models.py
Frederik Jacobsen ec1381561a Added a way to run the same query on multiple schemas and logging.
Need to work on running update queries, that combine plsql and normal sql statements and potentially multiple extracts for one sql file, to make multiple files, and probably to also export to xlsx file format.
2024-12-12 21:50:45 +01:00

22 lines
447 B
Python

from dataclasses import dataclass
@dataclass
class Municipality:
def __init__(self, name: str, cvr: str, schema: str, kommunekode: str):
self._name = name
self._cvr = cvr
self._schema = schema
self._kommunekode = kommunekode
@property
def name(self):
return self._name
@property
def cvr(self):
return self._cvr
@property
def schema(self):
return self._schema