use std::sync::Arc;

use getset::Getters;

use crate::object_tree_entry::ObjectTreeEntry;

#[derive(Getters)]
#[getset(get = "pub", set = "pub")]
pub struct SpecialRecords {
    schema: Arc<ObjectTreeEntry>,
    deleted_objects: Arc<ObjectTreeEntry>,
    extended_rights_container: Arc<ObjectTreeEntry>
}

impl SpecialRecords {
    pub fn new(
        schema: Arc<ObjectTreeEntry>,
        deleted_objects: Arc<ObjectTreeEntry>,
        extended_rights_container: Arc<ObjectTreeEntry>
    ) -> Self {
        Self {
            schema,
            deleted_objects,
            extended_rights_container
        }
    }
}
