Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🗃️ [#61] created Partij, Persoon, ContactPersoon and Organisatie models #73

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
5 changes: 5 additions & 0 deletions src/openklant/components/klantinteracties/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class KlantinteractiesConfig(AppConfig):
name = "openklant.components.klantinteracties"
60 changes: 60 additions & 0 deletions src/openklant/components/klantinteracties/constants.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
from django.utils.translation import gettext_lazy as _

from djchoices import ChoiceItem, DjangoChoices


# TODO: change value when document gets updated:
# https://vng-realisatie.github.io/klantinteracties/informatiemodel/gegevenswoordenboek#detail_class_Model_Initiator
class Initiator(DjangoChoices):
gemeente = ChoiceItem("gemeente", _("Gemeente"))
klant = ChoiceItem("klant", _("Klant"))
vertegenwoordiger = ChoiceItem("vertegenwoordiger", _("Vertegenwoordiger"))


class Taakstatus(DjangoChoices):
te_verwerken = ChoiceItem("te_verwerken", _("Het verzoek is afgehandeld."))
verwerkt = ChoiceItem("verwerkt", _("Het verzoek id buiten behandeling gesteld."))


class SoortBezoekadres(DjangoChoices):
binnenlands_adres = ChoiceItem("binnenlands_adres", _("Binnenlands adres"))
buitenlands_adres = ChoiceItem("binnenlands_adres", _("Buitenlands adres"))


class AanduidingBijHuisnummer(DjangoChoices):
bij = ChoiceItem("bij", _("Bij"))
tegenover = ChoiceItem("tegenover", _("Tegenover"))


class SoortCorrespondentieadres(DjangoChoices):
postbusnummer = ChoiceItem("postbusnummer", _("Postbusnummer"))
antwoordnummer = ChoiceItem("antwoordnummer", _("Antwoordnummer"))
binnenlands_adres = ChoiceItem("binnenlands_adres", _("Binnenlands adres"))
buitenlands_adres = ChoiceItem("buitenlands_adres", _("Buitenlands adres"))


class SoortActor(DjangoChoices):
medewerker = ChoiceItem("medewerker", _("Medewerker"))
geautomatiseerde_actor = ChoiceItem(
"geautomatiseerde_actor", _("Geautomatiseerde actor")
)
organisatorische_eenheid = ChoiceItem(
"organisatorische_eenheid", _("Organisatorische eenheid")
)


class SoortInhoudsdeel(DjangoChoices):
informatieobject = ChoiceItem("informatieobject", _("Informatieobject"))
overig_object = ChoiceItem("overig_object", _("Overig object"))
tekst = ChoiceItem("tekst", _("Tekst"))


class SoortPartij(DjangoChoices):
persoon = ChoiceItem("persoon", _("Persoon"))
organisatie = ChoiceItem("organisatie", _("Organisatie"))
contactpersoon = ChoiceItem("contactpersoon", _("Contactpersoon"))


class Klantcontrol(DjangoChoices):
vertegenwoordiger = ChoiceItem("vertegenwoordiger", _("Vertegenwoordiger"))
klant = ChoiceItem("klant", _("Klant"))
Loading
Loading