X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/121ab507bfffe249087df81a6dcdc368d9cb11f5..3a0c83394d5783715fab2be29fa1a9cfc3574e28:/src/librarian/meta/types/text.py diff --git a/src/librarian/meta/types/text.py b/src/librarian/meta/types/text.py index b53aa88..8010ec1 100644 --- a/src/librarian/meta/types/text.py +++ b/src/librarian/meta/types/text.py @@ -1,3 +1,6 @@ +# This file is part of Librarian, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. +# from .base import MetaValue @@ -8,3 +11,32 @@ class TextValue(MetaValue, str): def __str__(self): return self.value + + + +class NameIdentifier(TextValue): + has_language = False + + +class LegimiCategory(NameIdentifier): + pass + + +class ThemaCategory(NameIdentifier): + pass + + +class Epoch(NameIdentifier): + pass + + +class Kind(NameIdentifier): + pass + + +class Genre(NameIdentifier): + pass + + +class Audience(NameIdentifier): + pass