diff --git a/Administration.cs b/Administration.cs index d261b12..8c5275a 100644 --- a/Administration.cs +++ b/Administration.cs @@ -2,9 +2,17 @@ namespace Bücherwurm { class Administration { + private Catalogue Books {get; set;} + + private Inventory Inventory {get; set;} + + private Lend_Administration Lendings {get; set;} public Administration() { + Books = new Catalogue(); + Inventory = new Inventory(); + Lendings = new Lend_Administration(); } } } \ No newline at end of file diff --git a/Catalogue.cs b/Catalogue.cs new file mode 100644 index 0000000..0ac8746 --- /dev/null +++ b/Catalogue.cs @@ -0,0 +1,19 @@ +using System.Collections.Generic; + +namespace Bücherwurm +{ + class Catalogue + { + private List Books {get; set;} + + public Catalogue() + { + Books = new List(); + } + + public void Import(string JsonString) + { + //TODO: implement! + } + } +} \ No newline at end of file diff --git a/Inventory.cs b/Inventory.cs new file mode 100644 index 0000000..51d16b0 --- /dev/null +++ b/Inventory.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; + +namespace Bücherwurm +{ + class Inventory + { + private List InventoryList {get; set;} + + public Inventory(){ + InventoryList = new List(); + } + + public void Add(Book Book) + { + //TODO: implement! + } + + public void Remove(int Id) + { + //TODO: implement! + } + } +} \ No newline at end of file diff --git a/Lend_Administration.cs b/Lend_Administration.cs new file mode 100644 index 0000000..c4c4868 --- /dev/null +++ b/Lend_Administration.cs @@ -0,0 +1,24 @@ +using System.Collections.Generic; + +namespace Bücherwurm +{ + class Lend_Administration + { + private List Lendings {get; set;} + + public Lend_Administration() + { + Lendings = new List(); + } + + public void Lend(int[] ItemsIds, string Customer) + { + //TODO: implement! + } + + public void Return(int LendID) + { + //TODO: implement! + } + } +} \ No newline at end of file