-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMockDatabase.cs
More file actions
28 lines (23 loc) · 1.55 KB
/
Copy pathMockDatabase.cs
File metadata and controls
28 lines (23 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using TCSA.OOP.LibraryManagementSystem.Models;
namespace TCSA.OOP.LibraryManagementSystem;
internal static class MockDatabase
{
internal static List<LibraryItem> LibraryItems = new()
{
new Book(1, "The Great Gatsby", "F. Scott Fitzgerald", "Fiction", "A1", 180),
new Book(2, "To Kill a Mockingbird", "Harper Lee", "Fiction", "A2", 281),
new Book(3, "1984", "George Orwell", "Dystopian", "A3", 328),
new Book(4, "Pride and Prejudice", "Jane Austen", "Romance", "A4", 279),
new Book(5, "The Catcher in the Rye", "J.D. Salinger", "Fiction", "A5", 214),
new Magazine(1, "National Geographic", "National Geographic Partners", new DateTime(2024, 8, 1), "B1", 12),
new Magazine(2, "Time", "Time USA, LLC", new DateTime(2024, 7, 15), "B2", 8),
new Magazine(3, "The Economist", "The Economist Group", new DateTime(2024, 6, 10), "B3", 16),
new Magazine(4, "Forbes", "Forbes Media", new DateTime(2024, 5, 20), "B4", 10),
new Magazine(5, "Wired", "Condé Nast", new DateTime(2024, 4, 5), "B5", 15),
new Newspaper(1, "The New York Times", "The New York Times Company", new DateTime(2024, 8, 18), "C1"),
new Newspaper(2, "The Guardian", "Guardian Media Group", new DateTime(2024, 8, 17), "C2"),
new Newspaper(3, "The Washington Post", "Nash Holdings", new DateTime(2024, 8, 16), "C3"),
new Newspaper(4, "The Wall Street Journal", "Dow Jones & Company", new DateTime(2024, 8, 15), "C4"),
new Newspaper(5, "USA Today", "Gannett", new DateTime(2024, 8, 14), "C5")
};
}