using Xamarin.Forms;
namespace TINK.Model.Station.Operator
{
/// Holds operator related data.
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;
}
/// Name of the operator.
public string Name { get; private set; }
/// Support phone number of the operator.
public string PhoneNumberText { get; private set; }
/// Office times when support is available.
public string Hours { get; private set; }
/// Support mails address of the operator.
public string MailAddressText { get; private set; }
/// Color of the operator (operator specific skin)
public Color? Color { get; private set; }
}
}