use diesel_derive_enum::DbEnum;
use serde::{Deserialize, Serialize};
use typeshare::typeshare;
use utoipa::ToSchema;
#[typeshare]
#[derive(Serialize, Deserialize, DbEnum, Debug, ToSchema)]
#[ExistingTypePath = "crate::schema::sql_types::Track"]
pub enum Track {
#[serde(rename = "beginner")]
#[db_rename = "beginner"]
Beginner,
#[serde(rename = "seasonal")]
#[db_rename = "seasonal"]
Seasonal,
#[serde(rename = "completionist")]
#[db_rename = "completionist"]
Completionist,
#[serde(rename = "expert")]
#[db_rename = "expert"]
Expert,
}