using System;
namespace Yavsc.Model.FrontOffice.Catalog
{
/// <summary>
/// Product image.
/// </summary>
public class ProductImage: FormElement
#region implemented abstract members of FormElement
/// Tos the html.
/// <returns>The html.</returns>
public override string ToHtml ()
return string.Format ("<img src=\"\" alt=\"\"/>", Src, Alt);
}
#endregion
/// Initializes a new instance of the <see cref="Yavsc.Model.FrontOffice.ProductImage"/> class.
public ProductImage ()
/// Gets or sets the source.
/// <value>The source.</value>
public string Src { get; set; }
/// Gets or sets the alternate.
/// <value>The alternate.</value>
public string Alt { get; set; }