from onegov.core.collection import GenericCollection from onegov.wtfs.models import PaymentType [docs] class PaymentTypeCollection(GenericCollection[PaymentType]): @property [docs] def model_class(self) -> type[PaymentType]: return PaymentType