use std::sync::Arc;
use serde::{Deserialize, Serialize};
use crate::stela::Hero;
use super::Section;
#[derive(bon::Builder, Debug, Deserialize, Serialize)]
pub struct SectionHero {
pub hero: Arc<Hero>,
}
impl From<SectionHero> for Section {
fn from(value: SectionHero) -> Self {
Section::Hero(value.into())
}
}