using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; namespace Muchinfo.MTPClient.Data.Model.Delivery { public class TradeWRPositionModel:INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private void INotifyPropertyChanged(string name) { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(name)); } } public ulong WRPositionID { get; set; } public ulong WRUserID { get; set; } public string WRUserName { get; set; } public ulong AccountID { get; set; } public uint DeliveryGoodsID { get; set; } public uint BrandID { get; set; } public string BrandName { get; set; } public string BrandType { get; set; } public uint QualityID { get; set; } public string QualityName { get; set; } public string QualityType { get; set; } public uint SpecID { get; set; } public string SpecName { get; set; } public string SpecType { get; set; } public uint WarehouseID { get; set; } public string WarehouseName { get; set; } public string WarehouseType { get; set; } public uint DeliveryMonthID { get; set; } private uint _restQty; public uint RestQty { get { return _restQty; } set { _restQty = value; INotifyPropertyChanged("RestQty"); } } private uint _maximunQty; public uint MaximunQty { get { return _maximunQty; } set { _maximunQty = value; INotifyPropertyChanged("MaximunQty"); } } public decimal PriceMove { get; set; } /// /// 是否选中-自定义字段 /// private bool _isSelected=false; /// /// 是否选中-自定义字段 /// public bool IsSelected { get { return _isSelected; } set { _isSelected = value; INotifyPropertyChanged("IsSelected"); } } private bool _isEnable = false; public bool IsEnable { get { return _isEnable; } set { _isEnable = value; INotifyPropertyChanged("IsEnable"); } } #region 选择数量-自定义 private uint _selectQty = 0; public uint SelectQty { get { return _selectQty; } set { _selectQty = value; INotifyPropertyChanged("SelectQty"); INotifyPropertyChanged("SelectedQty"); } } private string _selectedQty = "0"; public string SelectedQty { get { return _selectedQty; } set { _selectedQty = value; INotifyPropertyChanged("SelectedQty"); } } #endregion } }