using System;
namespace Yavsc.Model.FrontOffice
{
/// <summary>
/// Select item.
/// </summary>
public class SelectItem
/// Initializes a new instance of the <see cref="Yavsc.Model.FrontOffice.SelectItem"/> class.
/// <param name="t">T.</param>
public SelectItem(string t)
Value = t;
}
/// Gets or sets the value.
/// <value>The value.</value>
public string Value { get; set; }
/// <param name="t">a SelectItem.</param>
public static implicit operator string(SelectItem t)
return t.Value;
/// <param name="t">a string.</param>
public static implicit operator SelectItem(string t)
return new SelectItem(t);