| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- using GalaSoft.MvvmLight;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace Muchinfo.MTPClient.Data.Model.Delivery
- {
- /// <summary>
- /// 查询配对明细
- /// </summary>
- public class WrPairDetailModel:ViewModelBase
- {
- private int _RetCode = int.MinValue;
- public int RetCode
- {
- get { return _RetCode; }
- set { _RetCode = value; }
- }
- private long _WrId;
- public long WrId
- {
- get { return _WrId; }
- set { _WrId = value; }
- }
- private string _WrCode;
- public string WrCode
- {
- get { return _WrCode; }
- set { _WrCode = value; }
- }
- private long _DeliveryGoodsId;
-
- public long DeliveryGoodsId
- {
- get { return _DeliveryGoodsId; }
- set { _DeliveryGoodsId = value; }
- }
- private string _DeliveryGoodsName;
-
- public string DeliveryGoodsName
- {
- get { return _DeliveryGoodsName; }
- set { _DeliveryGoodsName = value; }
- }
- private double _EnableQty;
- public double EnableQty
- {
- get { return _EnableQty; }
- set { _EnableQty = value; }
- }
- private string _Rank = "";
-
- public string Rank
- {
- get { return _Rank; }
- set { _Rank = value; }
- }
- private string _Brand = "";
-
- public string Brand
- {
- get { return _Brand; }
- set { _Brand = value; }
- }
- private string _StorePlace = "";
-
- public string StorePlace
- {
- get { return _StorePlace; }
- set { _StorePlace = value; }
- }
- private double _DeliveryPriceMove = int.MinValue;
- public double DeliveryPriceMove
- {
- get { return _DeliveryPriceMove; }
- set { _DeliveryPriceMove = value; }
- }
- private long _GoodsUnitId = int.MinValue;
- public long GoodsUnitId
- {
- get { return _GoodsUnitId; }
- set { _GoodsUnitId = value; }
- }
- private long _DeliverySellOrderId = int.MinValue;
- public long DeliverySellOrderId
- {
- get { return _DeliverySellOrderId; }
- set { _DeliverySellOrderId = value; }
- }
- private long _ProvinceId = int.MinValue;
-
- public long ProvinceId
- {
- get { return _ProvinceId; }
- set { _ProvinceId = value; }
- }
- private string _ProvinceName = "";
-
- public string ProvinceName
- {
- get { return _ProvinceName; }
- set { _ProvinceName = value; }
- }
- private long _CityId = int.MinValue;
-
- public long CityId
- {
- get { return _CityId; }
- set { _CityId = value; }
- }
- private string _CityName = "";
-
- public string CityName
- {
- get { return _CityName; }
- set { _CityName = value; }
- }
- #region 是否选中-自定义字段
- private bool _isSelected = false;
- /// <summary>
- ///是否选中-自定义字段
- /// </summary>
- public bool IsSelected
- {
- get
- {
- return _isSelected;
- }
- set
- {
- Set(() => IsSelected, ref _isSelected, value);
- }
- }
- #endregion
- /// <summary>
- /// 点选顺序-自定义字段
- /// </summary>
- private int _numSort=int.MaxValue;
- /// <summary>
- /// 点选顺序-自定义字段
- /// </summary>
- public int NumSort
- {
- get { return _numSort; }
- set { _numSort = value; }
- }
- private bool _isEnabled=true;
- /// <summary>
- /// 是否可用-自定义字段
- /// </summary>
- public bool IsEnabled
- {
- get { return _isEnabled; }
- set { Set(() => IsEnabled, ref _isEnabled, value); }
- }
- private string _isError = "0";
- /// <summary>
- /// 当前输入是否错误-控制Border边框
- /// </summary>
- public string IsError
- {
- get
- {
- return _isError;
- }
- set
- {
- Set(() => IsError, ref _isError, value);
- }
- }
- public string DeliveryPriceMoveDisplay
- {
- get
- {
- if (DeliveryPriceMove!=null && DeliveryPriceMove == int.MinValue)
- {
- return "-";
- }
- else
- {
- return DeliveryPriceMove.ToString();
- }
- }
- }
- /// <summary>
- /// 合约单位-自定义字段
- /// </summary>
- public string GoodsUnitIdDisplay { get; set; }
- #region 选择数量-自定义
- private string _selectQty = string.Empty;
- /// <summary>
- /// 选择数量
- /// </summary>
- public string SelectQty
- {
- get
- {
- return _selectQty;
- }
- set
- {
- Set(() => SelectQty, ref _selectQty, value);
- }
- }
- #endregion
- }
- }
|