mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-12 13:36:26 +01:00
32 lines
696 B
C#
32 lines
696 B
C#
|
|
namespace TINK.Model.Connector
|
|
{
|
|
#if USCSHARP9
|
|
public record UserFeedbackDto : ICommand.IUserFeedback
|
|
{
|
|
public string BikeId { get; init; }
|
|
public bool IsBikeBroken { get; init; }
|
|
public string Message { get; init; }
|
|
}
|
|
#else
|
|
#if USCSHARP9
|
|
public class UserFeedbackDto : ICommand.IUserFeedback
|
|
#else
|
|
public class UserFeedbackDto : IUserFeedback
|
|
#endif
|
|
{
|
|
public string BikeId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Holds the current chargeing level of the battery in bars, null if unkonwn.
|
|
/// </summary>
|
|
public int? CurrentChargeBars { get; set; }
|
|
|
|
public bool IsBikeBroken { get; set; }
|
|
|
|
public string Message { get; set; }
|
|
|
|
|
|
}
|
|
#endif
|
|
}
|