use diesel_derive_enum::DbEnum;
use serde::{Deserialize, Serialize};
use typeshare::typeshare;
use utoipa::ToSchema;
#[allow(clippy::missing_docs_in_private_items)] #[typeshare]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, DbEnum, ToSchema)]
#[ExistingTypePath = "crate::schema::sql_types::Shade"]
pub enum Shade {
#[serde(rename = "no shade")]
#[db_rename = "no shade"]
NoShade,
#[serde(rename = "light shade")]
#[db_rename = "light shade"]
LightShade,
#[serde(rename = "partial shade")]
#[db_rename = "partial shade"]
PartialShade,
#[serde(rename = "permanent shade")]
#[db_rename = "permanent shade"]
PermanentShade,
#[serde(rename = "permanent deep shade")]
#[db_rename = "permanent deep shade"]
PermanentDeepShade,
}