build more
This commit is contained in:
parent
4b26421368
commit
dd0e015d1e
4 changed files with 74 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
19
Catalogue.cs
Normal file
19
Catalogue.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Bücherwurm
|
||||
{
|
||||
class Catalogue
|
||||
{
|
||||
private List<Book> Books {get; set;}
|
||||
|
||||
public Catalogue()
|
||||
{
|
||||
Books = new List<Book>();
|
||||
}
|
||||
|
||||
public void Import(string JsonString)
|
||||
{
|
||||
//TODO: implement!
|
||||
}
|
||||
}
|
||||
}
|
23
Inventory.cs
Normal file
23
Inventory.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Bücherwurm
|
||||
{
|
||||
class Inventory
|
||||
{
|
||||
private List<Item> InventoryList {get; set;}
|
||||
|
||||
public Inventory(){
|
||||
InventoryList = new List<Item>();
|
||||
}
|
||||
|
||||
public void Add(Book Book)
|
||||
{
|
||||
//TODO: implement!
|
||||
}
|
||||
|
||||
public void Remove(int Id)
|
||||
{
|
||||
//TODO: implement!
|
||||
}
|
||||
}
|
||||
}
|
24
Lend_Administration.cs
Normal file
24
Lend_Administration.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Bücherwurm
|
||||
{
|
||||
class Lend_Administration
|
||||
{
|
||||
private List<Lending> Lendings {get; set;}
|
||||
|
||||
public Lend_Administration()
|
||||
{
|
||||
Lendings = new List<Lending>();
|
||||
}
|
||||
|
||||
public void Lend(int[] ItemsIds, string Customer)
|
||||
{
|
||||
//TODO: implement!
|
||||
}
|
||||
|
||||
public void Return(int LendID)
|
||||
{
|
||||
//TODO: implement!
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue