namespace Muchinfo.MTPClient.Data.Model.Account
{
using GalaSoft.MvvmLight;
///
/// 交收单
///
public class DeliveryOrder : ObservableObject
{
#region Fields
///
/// 买卖
///
private string _buyOrSell;
///
/// 交收价
///
private decimal _deliveryPrice;
///
/// 商品
///
private string _goods;
///
/// 数量
///
private double _lot;
///
/// 订单号
///
private string _orderNumber;
#endregion Fields
#region Properties
///
/// Sets and gets 买卖
/// Changes to that property's value raise the PropertyChanged event.
///
public string BuyOrSell
{
get{return _buyOrSell;}
set{Set(() => BuyOrSell, ref _buyOrSell, value);}
}
///
/// Sets and gets 交收价
/// Changes to that property's value raise the PropertyChanged event.
///
public decimal DeliveryPrice
{
get{return _deliveryPrice;}
set{Set(() => DeliveryPrice, ref _deliveryPrice, value);}
}
///
/// Sets and gets 商品
/// Changes to that property's value raise the PropertyChanged event.
///
public string Goods
{
get{return _goods;}
set{Set(() => Goods, ref _goods, value);}
}
///
/// Sets and gets 数量
/// Changes to that property's value raise the PropertyChanged event.
///
public double Lot
{
get{return _lot;}
set{Set(() => Lot, ref _lot, value);}
}
///
/// Sets and gets 订单号
/// Changes to that property's value raise the PropertyChanged event.
///
public string OrderNumber
{
get{return _orderNumber;}
set{Set(() => OrderNumber, ref _orderNumber, value);}
}
#endregion Properties
}
}