// Auto-generated by automapper-generator. Do not edit.

#![allow(unused_imports)]

use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Fehler {
    pub fehler_code: Option<String>,
    pub fehler_edifact: Option<crate::generated::companions::FehlerEdifact>,
}

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct FehlerNachrichtInfo {
    pub dokumentennummer: Option<String>,
    pub fehler_nachricht_info_edifact:
        Option<crate::generated::companions::FehlerNachrichtInfoEdifact>,
}

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct FehlerNachrichtRef {
    pub nachrichten_referenz: Option<String>,
    pub fehler_nachricht_ref_edifact:
        Option<crate::generated::companions::FehlerNachrichtRefEdifact>,
}

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct FehlerVorgangInfo {
    pub vorgangsnummer: Option<String>,
    pub fehler_vorgang_info_edifact: Option<crate::generated::companions::FehlerVorgangInfoEdifact>,
}

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct MarktteilnehmerWrapped {
    #[serde(flatten)]
    pub core: Option<bo4e_german::Marktteilnehmer>,
    pub marktteilnehmer_edifact: Option<crate::generated::companions::MarktteilnehmerEdifact>,
}

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Nachricht {
    pub dokumenten_code: Option<String>,
    pub erstellungsdatum: Option<String>,
    pub nachrichtennummer: Option<String>,
    pub nachricht_edifact: Option<crate::generated::companions::NachrichtEdifact>,
}

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Referenz {
    pub datenaustauschreferenz: Option<String>,
    pub dokumentennummer: Option<String>,
    pub referenzdatum: Option<String>,
    pub vorgangsnummer: Option<String>,
    pub referenz_edifact: Option<crate::generated::companions::ReferenzEdifact>,
}
