我正在尝试存储西班牙民法典。
它是这样划分的:
Books
----Chapters
--------Articles
或者
Books
----Titles
--------Chapters
-------------Articles
或者
Books
----Titles
--------Chapters
-------------Sections
-----------------Articles
书籍、标题、章节和章节必须存储 anint identifier和 a String with the name of the book,title等。元素的数量是可变的,因为例如,有些书籍的章节比其他书籍多。
Articles必须存储和int identifier和一个String与文章的内容。
我会欣赏一个结构的declaration and usage(输入数据,输出数据)示例,因为(对我而言)它有点复杂。