using System;
namespace Yavsc.Model.FrontOffice
{
///
/// Price.
///
public class Price: Scalar
{
///
/// Initializes a new instance of the class.
///
public Price ()
{
}
decimal quantity;
#region implemented abstract members of SalesCatalog.Value
///
/// Gets or sets the quantity.
///
/// The quantity.
public override object Quantity {
get {
return quantity;
}
set {
quantity = (decimal) value;
}
}
Currency curr;
///
/// Gets or sets the unit.
///
/// The unit.
public override Unit Unit {
get {
return curr;
}
set {
curr = (Currency)value;
}
}
#endregion
}
}