use serde::{Deserialize, Serialize}; use sqlx::FromRow; use uuid::Uuid; #[derive(Debug, Clone, Serialize, Deserialize, FromRow)] pub struct Genre { pub id: Uuid, pub name: String, } /// Same shape as `Genre` today, but kept distinct from the canonical /// type so future fields on `Genre` (description, slug…) don't bloat /// every manga payload. pub type GenreRef = Genre;