feat(external-data): add information security registry entries endpoint
This commit is contained in:
@@ -5,6 +5,7 @@ from apps.external_data.models import (
|
||||
IndustrialProduct,
|
||||
ProsecutorCheck,
|
||||
PublicProcurement,
|
||||
InformationSecurityRegistryEntry,
|
||||
)
|
||||
from rest_framework import serializers
|
||||
|
||||
@@ -75,3 +76,19 @@ class ArbitrationCaseSerializer(serializers.ModelSerializer):
|
||||
"status",
|
||||
"decision_date",
|
||||
]
|
||||
|
||||
|
||||
class InformationSecurityRegistryEntrySerializer(serializers.ModelSerializer):
|
||||
organization = serializers.UUIDField(source="organization_id", read_only=True)
|
||||
|
||||
class Meta:
|
||||
model = InformationSecurityRegistryEntry
|
||||
fields = [
|
||||
"id",
|
||||
"organization",
|
||||
"registry_name",
|
||||
"presence_status",
|
||||
"entry_number",
|
||||
"issued_at",
|
||||
"expires_at",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user