DeliveryAddress.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. using GalaSoft.MvvmLight;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. namespace Muchinfo.MTPClient.Data.Model.Delivery
  7. {
  8. public class DeliveryAddress : ObservableObject
  9. {
  10. private int _addrType;
  11. public int AddrType
  12. {
  13. get { return _addrType; }
  14. set { _addrType = value; }
  15. }
  16. private bool _isSelected;
  17. public bool IsSelected
  18. {
  19. get { return _isSelected; }
  20. set { Set(() => IsSelected, ref _isSelected, value); }
  21. }
  22. private string _receiptPerson;
  23. /// <summary>
  24. /// 收货人
  25. /// </summary>
  26. public string ReceiptPerson
  27. {
  28. get { return _receiptPerson; }
  29. set { _receiptPerson = value; }
  30. }
  31. private string _receiptAddress;
  32. /// <summary>
  33. /// 收货地址
  34. /// </summary>
  35. public string ReceiptAddress
  36. {
  37. get { return _receiptAddress; }
  38. set { _receiptAddress = value; }
  39. }
  40. private string _mobileNumber;
  41. /// <summary>
  42. /// 移动电话
  43. /// </summary>
  44. public string MobileNumber
  45. {
  46. get { return _mobileNumber; }
  47. set { _mobileNumber = value; }
  48. }
  49. private string _fixedPhone;
  50. /// <summary>
  51. /// 固定电话
  52. /// </summary>
  53. public string FixedPhone
  54. {
  55. get { return _fixedPhone; }
  56. set { _fixedPhone = value; }
  57. }
  58. private string _zipCode;
  59. /// <summary>
  60. /// 邮政编码
  61. /// </summary>
  62. public string ZipCode
  63. {
  64. get { return _zipCode; }
  65. set { _zipCode = value; }
  66. }
  67. }
  68. }