diff --git a/examples/create_document.rs b/examples/create_document.rs index fff8614..9238a03 100644 --- a/examples/create_document.rs +++ b/examples/create_document.rs @@ -1,10 +1,17 @@ //! Create Document Example //! use tmflib::tmf667::document::Document; +use tmflib::tmf651::agreement::Agreement; fn main() { + let agreement = Agreement::new("My Aggreement"); + let doc = Document::new("My Document") - .doc_type("PDF"); + .doc_type("PDF") + .link(agreement); + + + // doc.link_entity(agreement); dbg!(doc); } \ No newline at end of file