Initial import
This commit is contained in:
parent
0c865416ca
commit
04804b89a9
279 changed files with 12945 additions and 0 deletions
36
SalesCatalog/Model/Price.cs
Normal file
36
SalesCatalog/Model/Price.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
{
|
||||
public class Price: Scalar
|
||||
{
|
||||
public Price ()
|
||||
{
|
||||
}
|
||||
|
||||
decimal quantity;
|
||||
|
||||
#region implemented abstract members of SalesCatalog.Value
|
||||
public override object Quantity {
|
||||
get {
|
||||
return quantity;
|
||||
}
|
||||
set {
|
||||
quantity = (decimal) value;
|
||||
}
|
||||
}
|
||||
|
||||
Currency curr;
|
||||
public override SalesCatalog.Model.Unit Unit {
|
||||
get {
|
||||
return curr;
|
||||
}
|
||||
set {
|
||||
curr = (Currency)value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue