sharee.bike-App/TINKLib/Model/Connector/Command/UserFeedbackDto.cs

26 lines
560 B
C#
Raw Normal View History

2021-05-13 20:03:07 +02:00

namespace TINK.Model.Connector
{
2021-06-26 20:57:55 +02:00
#if USCSHARP9
2021-05-13 20:03:07 +02:00
public record UserFeedbackDto : ICommand.IUserFeedback
{
2021-06-26 20:57:55 +02:00
public string BikeId { get; init; }
2021-05-13 20:03:07 +02:00
public bool IsBikeBroken { get; init; }
public string Message { get; init; }
}
2021-06-26 20:57:55 +02:00
#else
#if USCSHARP9
public class UserFeedbackDto : ICommand.IUserFeedback
#else
public class UserFeedbackDto : IUserFeedback
#endif
{
public string BikeId { get; set; }
public bool IsBikeBroken { get; set; }
public string Message { get; set; }
}
#endif
2021-05-13 20:03:07 +02:00
}