Data class representing a genre (e.g., for movies or TV shows).
This class is serializable using both Kotlin serialization and Java serialization.
The unique identifier of the genre.
The type of media this genre applies to (optional).
The name of the genre.