mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-16 23:26:26 +01:00
41 lines
978 B
C#
41 lines
978 B
C#
|
using System;
|
|||
|
|
|||
|
namespace TINK.Model.Bikes.Bike
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Holds tariff info for a single bike.
|
|||
|
/// </summary>
|
|||
|
public record TariffDescription
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Name of the tariff.
|
|||
|
/// </summary>
|
|||
|
public string Name { get; init; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Number of the tariff.
|
|||
|
/// </summary>
|
|||
|
public int? Number { get; init; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Costs per hour in euro.
|
|||
|
/// </summary>
|
|||
|
public double FeeEuroPerHour { get; init; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Costs of the abo per month.
|
|||
|
/// </summary>
|
|||
|
public double AboEuroPerMonth { get; init; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Costs per hour in euro.
|
|||
|
/// </summary>
|
|||
|
public TimeSpan FreeTimePerSession { get; init; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Max. costs per day in euro.
|
|||
|
/// </summary>
|
|||
|
public double MaxFeeEuroPerDay { get; init; }
|
|||
|
}
|
|||
|
}
|