chemlib/dto/compound_request.rs
use crate::jsonb::formula::Formula;
use serde::{Deserialize, Serialize};
use uuid::Uuid;
use crate::enums::agregate_state::AggregateState;
#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct CompoundRequest {
pub id: Option<Uuid>,
pub ver: Option<i32>,
pub formula: Formula,
pub aggregate_state: AggregateState,
pub lang: String,
pub label: String,
}