abs_data/models/derived/
concept.rs1use serde::{Deserialize, Serialize};
2
3use super::{annotation::Annotation, descriptions::Descriptions, names::Names};
4
5#[derive(Default, Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
6#[serde(rename_all = "camelCase")]
7pub struct Concept {
8 pub id: Box<str>,
9 pub name: Box<str>,
10 pub names: Names,
11 pub description: Option<Box<str>>,
12 pub descriptions: Option<Descriptions>,
13 #[serde(default)]
14 pub annotations: Vec<Annotation>,
15 pub parent: Option<Box<str>>,
16}