use diesel_derive_enum::DbEnum;
use serde::{Deserialize, Serialize};
use typeshare::typeshare;
use utoipa::ToSchema;
#[typeshare]
#[derive(Serialize, Deserialize, DbEnum, Debug, ToSchema, Clone)]
#[ExistingTypePath = "crate::schema::sql_types::HeatmapColor"]
pub enum HeatmapColor {
#[serde(rename = "green")]
#[db_rename = "green"]
Green,
#[serde(rename = "orange")]
#[db_rename = "orange"]
Orange,
#[serde(rename = "red")]
#[db_rename = "red"]
Red,
#[serde(rename = "black")]
#[db_rename = "black"]
Black,
}