using System;
namespace Yavsc.Model.FrontOffice
{
///
/// Product image.
///
public class ProductImage: FormElement
{
#region implemented abstract members of FormElement
///
/// Tos the html.
///
/// The html.
public override string ToHtml ()
{
return string.Format ("", Src, Alt);
}
#endregion
///
/// Initializes a new instance of the class.
///
public ProductImage ()
{
}
///
/// Gets or sets the source.
///
/// The source.
public string Src { get; set; }
///
/// Gets or sets the alternate.
///
/// The alternate.
public string Alt { get; set; }
}
}