| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- 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; }
- /// <summary>
- /// 是否选中-自定义字段
- /// </summary>
- private bool _isSelected=false;
- /// <summary>
- /// 是否选中-自定义字段
- /// </summary>
- 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
- }
- }
|