// This file is auto-generated from JSON Schema.
// Do not edit this file by hand. Regenerate via the CLI.

#![allow(clippy::all)]
#![allow(dead_code)]

use serde::{Deserialize, Serialize};


/// Relationship between procurement entities (e.g., lot to tender, contract to lot).

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RelationshipRecord {

    #[serde(rename = "relationshipId")]
    pub relationship_id: String,

    #[serde(rename = "fromEntityId")]
    pub from_entity_id: String,

    #[serde(rename = "toEntityId")]
    pub to_entity_id: String,

    #[serde(rename = "relationshipTypeCode")]
    pub relationship_type_code: String,

    #[serde(rename = "validFrom")]
    pub valid_from: Option<String>,

    #[serde(rename = "validTo")]
    pub valid_to: Option<String>,

}
