Initial commit

This commit is contained in:
github-classroom[bot] 2025-02-25 17:10:54 +00:00 committed by GitHub
commit dcabbbaf15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 5246 additions and 0 deletions

33
Transport/Model.cs Normal file
View file

@ -0,0 +1,33 @@
namespace Transport;
/// <summary>
/// Possible vehicle colors
/// </summary>
public enum Color
{
Red,
Blue,
White,
Grey,
Black
}
/// <summary>
/// Available car brands
/// </summary>
public enum CarBrand
{
AlfaRomeo,
BMW,
Dacia,
VW
}
public sealed record Ride(string CustomerName, Vehicle Vehicle, double StartMileage, double EndMileage)
{
public double Distance => -1; // TODO
public decimal TotalCost => -1; // TODO
public decimal TotalPrice => -1; // TODO
private decimal TotalForDistance(decimal perKm) => -1; // TODO
}