This commit is contained in:
Johan
2025-12-16 16:54:12 +01:00
commit 26016e93ba
59 changed files with 3632 additions and 0 deletions

13
src/app/models/genre.py Normal file
View File

@@ -0,0 +1,13 @@
from sqlalchemy import (
String,
)
from sqlalchemy.orm import (
Mapped,
mapped_column,
)
from .base_class import Base
class Genre(Base):
__tablename__ = "genres"
id: Mapped[int] = mapped_column(primary_key=True)
label: Mapped[str] = mapped_column(String(255))