diff --git a/Models/Invoice.cs b/Models/Invoice.cs new file mode 100644 index 0000000..7f66f11 --- /dev/null +++ b/Models/Invoice.cs @@ -0,0 +1,6 @@ +namespace Invoice_App.Models; + +public class Invoice +{ + +} \ No newline at end of file diff --git a/Program.cs b/Program.cs index b4d57a6..f702c5a 100644 --- a/Program.cs +++ b/Program.cs @@ -30,8 +30,25 @@ class Program testCar.RegistrationDate = DateTime.Now; testCar.Comments = "Good condition"; - // No console output for now - just creating the object to test compilation + // Test Company + var testCompany = new Company(); + testCompany.CompanyName = "ABC Motors"; + testCompany.Address = "Kongens Nytorv 1"; + testCompany.ZipCode = "1050"; // Copenhagen K + testCompany.City = "Copenhagen"; + testCompany.CVR = "12345678"; + testCompany.PhoneNumber = "33123456"; + + // Test Customer + var testCustomer = new Customer(); + testCustomer.Name = "Lars Nielsen"; + testCustomer.Address = "Vesterbrogade 123"; + testCustomer.ZipCode = "1620"; + testCustomer.City = "Copenhagen V"; + testCustomer.PhoneNumber = "23456789"; + testCustomer.Email = "lars@example.com"; } + // Avalonia configuration, don't remove; also used by visual designer. public static AppBuilder BuildAvaloniaApp()