Added classes for Company, Customer, and Vehicle. Also added test for Vehicle class
Some checks failed
Avalonia Code Quality / Lint, Analyze & Build (push) Failing after 55s

This commit is contained in:
2025-06-05 03:43:09 +02:00
parent aa9abe884d
commit c82300da81
4 changed files with 65 additions and 2 deletions

17
Models/Company.cs Normal file
View File

@ -0,0 +1,17 @@
using System;
namespace Invoice_App.Models;
public class Company
{
public string CompanyName { get; set; }
public string? LogoPath { get; set; }
public string Address { get; set; }
public string ZipCode { get; set; }
public string City { get; set; }
public string CVR { get; set; }
public string PhoneNumber { get; set; }
public string? AccountRegistration { get; set; }
public string? AccountNumber { get; set; }
}

11
Models/Customer.cs Normal file
View File

@ -0,0 +1,11 @@
namespace Invoice_App.Models;
public class Customer
{
public string Name { get; set; }
public string Address { get; set; }
public string? ZipCode { get; set; }
public string? City { get; set; }
public string? PhoneNumber { get; set; }
public string? Email { get; set; }
}

13
Models/Vehicle.cs Normal file
View File

@ -0,0 +1,13 @@
using System;
namespace Invoice_App.Models;
public class Vehicle
{
public string? Make { get; set; }
public string? Model { get; set; }
public DateTime? RegistrationDate { get; set; }
public string? VinNumber { get; set; }
public decimal? Kilometers { get; set; }
public string? Comments { get; set; }
}