2023-04-19 12:14:14 +02:00
|
|
|
using Xamarin.Forms;
|
2021-07-20 23:06:09 +02:00
|
|
|
|
2023-04-19 12:14:14 +02:00
|
|
|
namespace TINK.Model.Stations.StationNS.Operator
|
2021-07-20 23:06:09 +02:00
|
|
|
{
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Holds operator related data.</summary>
|
|
|
|
public class Data : IData
|
|
|
|
{
|
|
|
|
public Data(
|
|
|
|
string name = null,
|
|
|
|
string phoneNumberText = null,
|
|
|
|
string hours = null,
|
|
|
|
string mailAddressText = null, Color? color = null)
|
|
|
|
{
|
|
|
|
Name = name ?? string.Empty;
|
|
|
|
PhoneNumberText = phoneNumberText ?? string.Empty;
|
|
|
|
Hours = hours ?? string.Empty;
|
|
|
|
MailAddressText = mailAddressText ?? string.Empty;
|
|
|
|
Color = color;
|
|
|
|
}
|
2021-07-20 23:06:09 +02:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Name of the operator.</summary>
|
|
|
|
public string Name { get; private set; }
|
2021-07-20 23:06:09 +02:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Support phone number of the operator.</summary>
|
|
|
|
public string PhoneNumberText { get; private set; }
|
2021-07-20 23:06:09 +02:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Office times when support is available.</summary>
|
|
|
|
public string Hours { get; private set; }
|
2021-07-20 23:06:09 +02:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Support mails address of the operator.</summary>
|
|
|
|
public string MailAddressText { get; private set; }
|
2021-07-20 23:06:09 +02:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Color of the operator (operator specific skin)</summary>
|
|
|
|
public Color? Color { get; private set; }
|
|
|
|
}
|
2021-07-20 23:06:09 +02:00
|
|
|
}
|